Bug#535855: matplotlib._path

2009-10-26 Thread Fabricio Silva
Le samedi 10 octobre 2009 à 11:47 +0200, Sandro Tosi a écrit : > Hi all, > > On Wed, Jul 8, 2009 at 10:42, Fabrice Silva wrote: > > Le mercredi 08 juillet 2009 à 08:58 +0200, Thomas Viehmann a écrit : > >> In Fabrice's sys.path output: > >> /usr/share/pyshared > >> > >> This seems to be

Bug#535855: matplotlib._path

2009-10-10 Thread Sandro Tosi
Hi all, On Wed, Jul 8, 2009 at 10:42, Fabrice Silva wrote: > Le mercredi 08 juillet 2009 à 08:58 +0200, Thomas Viehmann a écrit : >> In Fabrice's sys.path output: >>          /usr/share/pyshared >> >> This seems to be the problem. While the matplotlib/__init__.py lives in >> that dir, it should b

Bug#535855: [Python-modules-team] Bug#535855: matplotlib._path

2009-07-08 Thread Piotr Ożarowski
[Thomas Viehmann, 2009-07-08] > Fabrice Silva wrote: >> I will try tonight at home. Which are the mechanism that add items to >> sys.path ? > sys.path is a regular python list, so sys.path.append("/foo") adds to the > end, sys.path.insert(i, "/foo") adds "/foo" in i-th position (put in your > fav

Bug#535855: matplotlib._path

2009-07-08 Thread Thomas Viehmann
Fabrice Silva wrote: I will try tonight at home. Which are the mechanism that add items to sys.path ? sys.path is a regular python list, so sys.path.append("/foo") adds to the end, sys.path.insert(i, "/foo") adds "/foo" in i-th position (put in your favorite integer). Kind regards T. -- Thom

Bug#535855: matplotlib._path

2009-07-08 Thread Fabrice Silva
Le mercredi 08 juillet 2009 à 08:58 +0200, Thomas Viehmann a écrit : > In Fabrice's sys.path output: > /usr/share/pyshared > > This seems to be the problem. While the matplotlib/__init__.py lives in > that dir, it should be loaded via the symlink in > /usr/lib/pymodules/python2.5. Then

Bug#535855: matplotlib._path

2009-07-08 Thread Thomas Viehmann
Hi Fabrice, thanks for sending the additional info. In Fabrice's sys.path output: ... /usr/share/pyshared ^^^ ... This seems to be the problem. While the matplotlib/__init__.py lives in that dir, it should be loaded via the symlink in /usr/lib/pymodules/pyt

Bug#535855: matplotlib._path

2009-07-07 Thread Fabrice Silva
Le mardi 07 juillet 2009 à 09:18 +0200, Thomas Viehmann a écrit : > Hi Fabrice, Sandro, > > Sandro asked for debugging ideas, so here is mine: > Fabrice, could you please see what sys.path is when the loading fails > and also try to load the module with >python -v -v -c 'import matplotlib.tra

Bug#535855: matplotlib._path

2009-07-07 Thread Thomas Viehmann
Hi Fabrice, Sandro, Sandro asked for debugging ideas, so here is mine: Fabrice, could you please see what sys.path is when the loading fails and also try to load the module with python -v -v -c 'import matplotlib.transform' 2> /tmp/import_log.txt ? Maybe that turns up something. Thanks! Kind