Bug 1290531 - [abrt] atomic: client.py:701:remove_image:TypeError: Can't convert 'bytes' object to str implicitly
[abrt] atomic: client.py:701:remove_image:TypeError: Can't convert 'bytes' ob...
Product: Fedora
Classification: Fedora
Component: atomic (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Daniel Walsh
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2015-12-10 12:50 EST by Jiri Konecny
Modified: 2016-12-20 11:54 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-12-20 11:54:06 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
File: backtrace (849 bytes, text/plain)
2015-12-10 12:50 EST, Jiri Konecny
no flags Details
File: environ (3.89 KB, text/plain)
2015-12-10 12:50 EST, Jiri Konecny
no flags Details

  None (edit)
Description Jiri Konecny 2015-12-10 12:50:51 EST
Description of problem:
atomic images --prune command crashed. It seems I have one dangling image so I want to remove it by prune but instead of removing the image atomic images command crashed.

Actual result:
atomic images --prune command crashed

Expected result:
It should work as expected.

Version-Release number of selected component:

Additional info:
reporter:       libreport-2.6.3
cmdline:        /usr/bin/python3 -Es /usr/bin/atomic images --prune
executable:     /usr/bin/atomic
kernel:         4.2.6-301.fc23.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
client.py:701:remove_image:TypeError: Can't convert 'bytes' object to str implicitly

Traceback (most recent call last):
  File "/usr/bin/atomic", line 433, in <module>
  File "/usr/lib/python3.4/site-packages/Atomic/atomic.py", line 694, in images
    self.d.remove_image(i, force=True)
  File "/usr/lib/python3.4/site-packages/docker/utils/decorators.py", line 20, in wrapped
    return f(self, resource_id, *args, **kwargs)
  File "/usr/lib/python3.4/site-packages/docker/client.py", line 701, in remove_image
    res = self._delete(self._url("/images/" + image), params=params)
TypeError: Can't convert 'bytes' object to str implicitly

Local variables in innermost frame:
noprune: False
image: b'fe5b84d21e7d'
self: <docker.client.Client object at 0x7f2e502c54e0>
force: True
params: {'noprune': False, 'force': True}
Comment 1 Jiri Konecny 2015-12-10 12:50:56 EST
Created attachment 1104465 [details]
File: backtrace
Comment 2 Jiri Konecny 2015-12-10 12:50:57 EST
Created attachment 1104466 [details]
File: environ
Comment 3 Daniel Walsh 2016-01-06 14:33:18 EST
I just committed a patch for fix atomic image on f24.  Should fix it on fedora 23 also.  Need new package built.

 Git checkin.


Fixed in atomic-1.8-3
Comment 4 Daniel Walsh 2016-02-22 15:08:01 EST
Fixed in atomic-1.8.3
Comment 5 Fedora Admin XMLRPC Client 2016-06-08 10:19:36 EDT
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.
Comment 6 Fedora End Of Life 2016-11-24 09:08:42 EST
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.
Comment 7 Fedora End Of Life 2016-12-20 11:54:06 EST
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this

Thank you for reporting this bug and we are sorry it could not be fixed.

Note You need to log in before you can comment on or make changes to this bug.