Hi,

I took another look at the packaging.

The exact error looks like this:

============================
Traceback (most recent call last):
  File "/usr/lib/exaile/exaile.py", line 94, in <module>
    from xl.gui import main as exailemain
  File "/usr/lib/exaile/xl/gui/main.py", line 29, in <module>
    from xl.panels import collection, radio, playlists, files, device
  File "/usr/lib/exaile/xl/panels/radio.py", line 18, in <module>
    from lib import feedparser
ImportError: cannot import name feedparser
============================

When removing the shipped feedparser.py, you replaced with with a
symlink to /usr/share/python-support/python-feedparser/feedparser.py.
Problem is that since feedparser 4.1-13 (#516192) and python-support
0.90.0[1], this path has changed to /usr/share/pyshared/feedparser.py
with a metadata file at /usr/share/python-support/python-feedparser.public.

Better not rely on the internals of python-support and rely on python
for resolving the path du jour.

Also, this error is only apparent on from scratch installs of exaile.
Since pyc files are compiled at postinst (I think), there's a
feedparser.pyc (that takes precedence over the installed broken
feedparser.py symlink) that remains from previous installations and
makes it work. Funky.

Cheers

Arthur

[1]
<http://packages.debian.org/changelogs/pool/main/p/python-support/python-support_1.0.2/changelog#versionversion0.90.0

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to