Your message dated Sat, 06 Oct 2018 10:02:08 +0000
with message-id <[email protected]>
and subject line Bug#896238: fixed in gphoto2-cffi 0.3~a1-1.1~deb9u1
has caused the Debian Bug report #896238,
regarding python3-gphoto2cffi: gphoto2cffi fails to import
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
896238: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896238
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-gphoto2cffi
Version: 0.3~a1-1+b1
Severity: serious
User: [email protected]
Usertags: python-import
After installing python3-gphoto2cffi importing the module gphoto2cffi
into a python interpreter fails with the following error:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3/dist-packages/gphoto2cffi/__init__.py", line 1, in
<module>
from .gphoto2 import (Camera, list_cameras, supported_cameras,
File "/usr/lib/python3/dist-packages/gphoto2cffi/gphoto2.py", line 15, in
<module>
from . import errors, backend
File "/usr/lib/python3/dist-packages/gphoto2cffi/backend.py", line 56, in
<module>
'extract_exif': _lib.GP_FILE_OPERATION_EXIF})
File "/usr/lib/python3.6/enum.py", line 293, in __call__
return cls._create_(value, names, module=module, qualname=qualname,
type=type, start=start)
File "/usr/lib/python3.6/enum.py", line 399, in _create_
enum_class = metacls.__new__(metacls, class_name, bases, classdict)
File "/usr/lib/python3.6/enum.py", line 153, in __new__
enum_class = super().__new__(metacls, cls, bases, classdict)
TypeError: type.__new__() argument 1 must be str, not bytes
The vast majority of import failures is attributed to missing dependencies.
Often times that manifests as an ImportError or ModuleNotFoundError.
Typically, dependencies should be inserted by dh-python via ${python:Depends}
or ${python3:Depends}. Thus a missing dependency can be caused by incomplete
install_requires in setup.py. Sometimes a missing dependency of a dependency
is the cause, in such cases this bug should be reassigned.
Helmut
--- End Message ---
--- Begin Message ---
Source: gphoto2-cffi
Source-Version: 0.3~a1-1.1~deb9u1
We believe that the bug you reported is fixed in the latest version of
gphoto2-cffi, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Adrian Bunk <[email protected]> (supplier of updated gphoto2-cffi package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 16 Sep 2018 20:31:17 +0300
Source: gphoto2-cffi
Binary: python-gphoto2cffi python3-gphoto2cffi
Architecture: source
Version: 0.3~a1-1.1~deb9u1
Distribution: stretch
Urgency: high
Maintainer: Aigars Mahinovs <[email protected]>
Changed-By: Adrian Bunk <[email protected]>
Description:
python-gphoto2cffi - GPhoto2 bindings with simpler API
python3-gphoto2cffi - GPhoto2 bindings with simpler API
Closes: 896238
Changes:
gphoto2-cffi (0.3~a1-1.1~deb9u1) stretch; urgency=medium
.
* Non-maintainer upload.
* Rebuild for stretch.
.
gphoto2-cffi (0.3~a1-1.1) unstable; urgency=high
.
* Non-maintainer upload.
* Add upstream fix to unbreak python3-gphoto2cffi. (Closes: #896238)
Checksums-Sha1:
79b4c0ccedbe09c68b7919605fbc3ed8ea613e97 2016
gphoto2-cffi_0.3~a1-1.1~deb9u1.dsc
27e2b1bed27a208140e44154d875c1ae784974b4 2544
gphoto2-cffi_0.3~a1-1.1~deb9u1.debian.tar.xz
Checksums-Sha256:
fd942221124d5ff68294c19f09576b10e9f6cd99ab02235da15a4c55d6439b82 2016
gphoto2-cffi_0.3~a1-1.1~deb9u1.dsc
024ac3c297e2ea6e576c6b281fa5d022728678ef8913175a32da141e7f478822 2544
gphoto2-cffi_0.3~a1-1.1~deb9u1.debian.tar.xz
Files:
a041eaca89f7d241baff2c5ac0cc16b9 2016 python optional
gphoto2-cffi_0.3~a1-1.1~deb9u1.dsc
d7baa853d3e7204f93c940fbcffa9825 2544 python optional
gphoto2-cffi_0.3~a1-1.1~deb9u1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAluel5MACgkQiNJCh6LY
mLGEVQ//V5zKnDM73qn22pjZswyqDDlvYUcRRCS4hNugg1/89QAvA4avtidzHWri
U9vLEsgkrdgrV6hOFPz8ydnoa6ah0Cjwzc2VtF0heTbiaIv1NgDwzJ/wkoBoEw1h
nJz1LcgQkrsg9wTk+uYHysATHVpL2bj4CktEvNBV6uTMQJj1V1RJNi+TaIn+V0BX
eeCVsjXrXnFjmEbzXpmg2LFn0mKouSbksSDaZxDSOJXh8Cc9G1eoAz18xHgFBgcU
Kdj2VdmfUC0ownx2hkO/4yzJtUwi/ZGNcO2OmoUqRK5z8MfbiYvAlVLOx2YfNJM1
DWJcyH4IgIHBexfT9cSUMW/ICJGlbSH3iKqCHgeW6toHAJ2tn3tkYvdrlWwUP1vQ
0gDa2lZTLTqBYtKfzYzZmPXOYPvJbLaOA/Fjw7zplBQWgZ1OWzBIwovbKQ/O0S0O
4x+soPY2Wnu5NzFnew5NghG6EuOTG2PGGvIJ6RP555LCBnptqxjvc2ARhr8UYjm4
GIXn2upU1k3zDegmx25i8FEqCoH97cGJeGpFaxt71WUX7HxCGpbZDfgUW3VtiSZq
cyZJtKCNjna5N5Odw/VmuKnM02z47K0bCKYX1/pVu8ZhRFRaKd+ZFugBvPpy9UFs
7NFSuyxjC1y4jludMROFugZG+QkxMiXJz3TR/78bjPhEHd+Irwg=
=yKb+
-----END PGP SIGNATURE-----
--- End Message ---