tags 430659 + help
thanks

[Note: I'm CC'ing quite a bunch of people who are related to/affected by
this bug, as well as the libboost maintainer, maybe someone can help?]

On Sun, Jul 29, 2007 at 05:55:41PM +0200, stefan wrote:
> I have the same problem:
> But I'm using amd64 cpu with debian lenny 32bit...
> 
> ~$ democracyplayer
> Traceback (most recent call last):
>   File "/usr/bin/democracyplayer", line 21, in ?
>     import gtcache
>   File "/var/lib/python-support/python2.4/democracy/gtcache.py", line 5, in ?
>     import config
>   File "/var/lib/python-support/python2.4/democracy/config.py", line 8, in ?
>     import eventloop
>   File "/var/lib/python-support/python2.4/democracy/eventloop.py", line 17, 
> in ?
>     import database
>   File "database.pyx", line 13, in database
> ImportError: /usr/lib/libboost_python-gcc41-mt-1_34.so.1.34.0: undefined 
> symbol: PyErr_WarnEx
> 
> would be great if this bug can be fixed...

I'm working on it. The reason for the bug is totally unclear to me,
though. Upstream doesn't know what causes it either, and doesn't know a
solution.

Also, this is not amd64 specific, the bug occurs everywhere.

I have _sort of_ managed to start democracyplayer now after switching to
Python 2.5 for builing it, _and_ rebuilding three or four python-related
packages to add Python 2.5 versions of the libs (they currently only
provide 2.4 versions). You need to rebuild at least python-gnome2,
xulrunner* (and esp. python-xpcom, and that needs a change in debian/rules),
python-gnome2-extras, maybe python-boost* and more.

Note that using democracyplayer still doesn't really work (quite likely
a python-xpcom problem):

  Could not import the Python XPCOM extension
  <type 'exceptions.ImportError'>: No module named xpcom._xpcom

But, at least it doesn't completely crash anymore now, i.e. the GUI
comes up and shows the channel guide, but you cannot subscribe to
channels or download movies, or view them.


This is really a mess. It'll take ages to change all those packages to
build/provide Python 2.5 versions. I'm trying to figure out a way to fix
the build while staying with Python 2.4, but I'm a bit lost...
Any help is appreciated.

FWIW, the message

  ImportError: /var/lib/python-support/python2.5/democracy/database.so: 
undefined symbol: PyErr_WarnEx

still appears with my democracyplayer version which starts and runs
somewhat (Python 2.5 version), so maybe it's not really _that_ critical and
the reason for the problems is not related to the "PyErr_WarnEx" at all (?)

This may be related to this boost bug (not sure, though):
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=426871

Also, I'm in contact with the Ubuntu maintainer of democracyplayer, and
apparently they don't see this bug, presumably because they transitioned
to Python 2.5 (not sure if _all_ of Ubuntu or only democracyplayer is
meant here).


Thanks, Uwe.
-- 
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org

Attachment: signature.asc
Description: Digital signature

Reply via email to