Bug#745976: lazygal: python-gi update renders lazygal unusable

2014-04-30 Thread Alexandre Rossi
 With the recent update of python-gi from 3.10 to 3.12, lazygal is rendered
 unusable. Every time it starts scanning a source directory, it dies with the
 traceback pasted below.
 [...]
 TypeError: metaclass conflict: the metaclass of a derived class must be a 
 (non-strict) subclass of the metaclasses of all its bases

 This may be the same as #745596 . I'll followup in the next days to
 confirm that. The gir1.2-gexvi2-0.10 update to 0.10.1 should fix this.

Problem solved installing gir1.2-gexiv2-0.10 0.10.1. Can you confirm this?

Alex


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#745976: lazygal: python-gi update renders lazygal unusable

2014-04-30 Thread Martín Ferrari
Hi,

On 30/04/14 10:28, Alexandre Rossi wrote:
 With the recent update of python-gi from 3.10 to 3.12, lazygal is rendered
 unusable. Every time it starts scanning a source directory, it dies with the
 traceback pasted below.
 [...]
 TypeError: metaclass conflict: the metaclass of a derived class must be a 
 (non-strict) subclass of the metaclasses of all its bases

 This may be the same as #745596 . I'll followup in the next days to
 confirm that. The gir1.2-gexvi2-0.10 update to 0.10.1 should fix this.
 
 Problem solved installing gir1.2-gexiv2-0.10 0.10.1. Can you confirm this?

Yes. With the newest python-gi, it stops failing with the upgrade of
gir1.2-gexiv2-0.10. I guess you'll need to add a stronger depends line.

Thanks!

-- 
Martín Ferrari (Tincho)



signature.asc
Description: OpenPGP digital signature


Bug#745976: lazygal: python-gi update renders lazygal unusable

2014-04-26 Thread Martín Ferrari
Package: lazygal
Version: 0.8.3-1
Severity: grave
Justification: renders package unusable

With the recent update of python-gi from 3.10 to 3.12, lazygal is rendered
unusable. Every time it starts scanning a source directory, it dies with the
traceback pasted below.

Note: I really don't know if this is due to incorrect usage from lazygal, which
broke with the change in python-gi, if it is an API change, or is it a bug in
python-gi. As I really don't want to get into debugging a problem that involves
multiple inheritance *AND* metaclasses, I am reporting the bug on the
application that is currently broken. Please reassign if needed.

Note2: In the info below, you see an old version of python-gi, which is the one
I manually installed to confirm that lazygal works again with that version of
the library.

$ lazygal --debug .
/usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: 
g_boxed_type_register_static: assertion 'g_type_from_name (name) == 0' failed
  import gobject._gobject
Trying loading user config /home/tincho/.lazygal/config
Loading root config ./.lazygal
Loading manifest.json for theme inverted
Generating to /srv/gallery/html 
[Entering %ALBUMROOT%/2009-2010: Francia/2010-11-11 Gréolières-Circuit du Loup]
(/home/fotos/gallery/albums/2009-2010: Francia/2010-11-11 Gréolières-Circuit du 
Loup)
  Trying loading gallery configs: 2009-2010: Francia/.lazygal, 2009-2010: 
Francia/2010-11-11 Gréolières-Circuit du Loup/.lazygal
Progress: dir 0/204 (0%), media 0/7672 (0%)Traceback (most recent call last):
  File /usr/bin/lazygal, line 273, in module
album.generate(progress=progress)
  File /usr/lib/python2.7/dist-packages/lazygal/generators.py, line 896, in 
generate
progress)
  File /usr/lib/python2.7/dist-packages/lazygal/generators.py, line 360, in 
__init__
media_task = WebalbumImageTask(self, media)
  File /usr/lib/python2.7/dist-packages/lazygal/generators.py, line 257, in 
__init__
super(WebalbumImageTask, self).__init__(webgal, image)
  File /usr/lib/python2.7/dist-packages/lazygal/generators.py, line 209, in 
__init__
self.resized[size_name] = self.get_resized(size_name)
  File /usr/lib/python2.7/dist-packages/lazygal/generators.py, line 270, in 
get_resized
and sized.get_size() == sized.source_media.get_size():
  File /usr/lib/python2.7/dist-packages/lazygal/genmedia.py, line 139, in 
get_size
if self.get_rotation() in (90, 270, ):
  File /usr/lib/python2.7/dist-packages/lazygal/genmedia.py, line 126, in 
get_rotation
source_media_md = self.source_media.info()
  File /usr/lib/python2.7/dist-packages/lazygal/sourcetree.py, line 164, in 
info
exif = metadata.ImageInfoTags(self.path)
  File /usr/lib/python2.7/dist-packages/lazygal/metadata.py, line 141, in 
__init__
self._metadata = GExiv2.Metadata(self.image_path)
  File /usr/lib/python2.7/dist-packages/gi/module.py, line 320, in __getattr__
return getattr(self._introspection_module, name)
  File /usr/lib/python2.7/dist-packages/gi/module.py, line 182, in __getattr__
parent = get_parent_for_object(info)
  File /usr/lib/python2.7/dist-packages/gi/module.py, line 98, in 
get_parent_for_object
module = importlib.import_module('gi.repository.' + namespace)
  File /usr/lib/python2.7/importlib/__init__.py, line 37, in import_module
__import__(name)
  File /usr/lib/python2.7/dist-packages/gi/importer.py, line 68, in 
load_module
dynamic_module._load()
  File /usr/lib/python2.7/dist-packages/gi/module.py, line 296, in _load
self._overrides_module = importlib.import_module('gi.overrides.' + 
self._namespace)
  File /usr/lib/python2.7/importlib/__init__.py, line 37, in import_module
__import__(name)
  File /usr/lib/python2.7/dist-packages/gi/overrides/GObject.py, line 534, in 
module
class Object(GObjectModule.Object):
  File /usr/lib/python2.7/dist-packages/gi/module.py, line 222, in __getattr__
wrapper = metaclass(name, bases, dict_)
TypeError: metaclass conflict: the metaclass of a derived class must be a 
(non-strict) subclass of the metaclasses of all its bases


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (50, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IE.utf8, LC_CTYPE=en_IE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lazygal depends on:
ii  gir1.2-gexiv2-0.10  0.10.0-1
ii  python  2.7.5-5
ii  python-genshi   0.7-3
ii  python-gi   3.10.2-2+b1
ii  python-imaging  2.3.0-2

lazygal recommends no packages.

Versions of packages lazygal suggests:
ii  gstreamer0.10-plugins-base  0.10.36-1.1
pn  python-gst0.10  none

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#745976: lazygal: python-gi update renders lazygal unusable

2014-04-26 Thread Alexandre Rossi
Hi,

 With the recent update of python-gi from 3.10 to 3.12, lazygal is rendered
 unusable. Every time it starts scanning a source directory, it dies with the
 traceback pasted below.
[...]
 TypeError: metaclass conflict: the metaclass of a derived class must be a 
 (non-strict) subclass of the metaclasses of all its bases

This may be the same as #745596 . I'll followup in the next days to
confirm that. The gir1.2-gexvi2-0.10 update to 0.10.1 should fix this.

Alex


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org