Help!

Bug#553271: python-pyx: import failing because of missing ..

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Bugs RC RSS
Next:  Bug#553264: fltk1.1: diff-contains-cmake-cache-fi..  
Author Message
Johann Felix Soden
External


Since: May 12, 2009
Posts: 7



PostPosted: Thu Oct 29, 2009 6:10 pm    Post subject: Bug#553271: python-pyx: import failing because of missing link to mesh.py in /usr/lib/python2.*/site-packages/pyx
Archived from groups: linux>debian>bugs>rc (more info?)

Package: python-pyx
Version: 0.10-0+nmu3
Severity: grave
Justification: renders package unusable

During importing pyx, I get the following error message with python2.5 (same with python2.4):

Python 2.5.4 (r254:67916, Sep 26 2009, 08:19:36)
[GCC 4.3.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyx
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.5/site-packages/PIL/__init__.py", line 40, in <module>

File "/usr/lib/python2.5/site-packages/PIL/__init__.py", line 25, in <module>

File "pyx/graph/data.py", line 29, in <module>
File "pyx/graph/style.py", line 28, in <module>
ImportError: cannot import name mesh

If I create manually a soft link to mesh.py in /usr/lib/python2.5/site-packages/pyx
everything works.


-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
Architecture: i386 (i686)

Versions of packages python-pyx depends on:
ii libc6 2.10.1-2 GNU C Library: Shared libraries
ii libkpathsea4 2007.dfsg.2-8 TeX Live: path search library for
ii python 2.5.4-3 An interactive high-level object-o
ii python-support 1.0.4 automated rebuilding support for P

Versions of packages python-pyx recommends:
ii texlive-latex-base 2007.dfsg.2-4 TeX Live: Basic LaTeX packages

Versions of packages python-pyx suggests:
ii python-imaging 1.1.6-3.1 Python Imaging Library
ii python-pyx-doc 0.10-0+nmu3 Python module for generating PostS
ii texlive-fonts-recommended 2007.dfsg.2-4 TeX Live: Recommended fonts




--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST RemoveThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster RemoveThis @lists.debian.org
Back to top
Stuart Prescott
External


Since: Oct 30, 2009
Posts: 1



PostPosted: Fri Oct 30, 2009 1:10 am    Post subject: Bug#553271: python-pyx: import failing because of missing link to mesh.py in /usr/lib/python2.*/site-packages/pyx [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Johann,

Thanks for the report. This looks decidedly like a bug in python-central:

http://bugs.debian.org/479852

although there is some discussion as to whether each separate package should
work around this bug itself or if python-central should deal with this
situation.

Can you confirm for me that you previously had python-pyx installed and that
this was an upgrade from a version 0.10-0+nmu1 or earlier? (i.e. not a fresh
installation)

The directory where you found all the pyx files
( /usr/lib/python2.5/site-packages/pyx) actually should be empty with this
package now; pyx should be found in /usr/lib/pymodules/python2.5/pyx/.
If you upgraded from the 0.9 version, then you could well have a very strange
mix of 0.9 and 0.10 in there. In any case, running

pycentral pkgremove python-pyx

should clean up that directory (it should
remove /usr/lib/pymodules/python2.5/pyx/ in fact), leaving you with a working
pyx installation.

I have an updated package ready to do this automatically on upgrade but want
to make sure that I understand the problem first.

regards
Stuart

--
Stuart Prescott www.nanoNANOnano.net

ph +44 117 33 18387
fax +44 117 925 0612



--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Bugs RC All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum