Can you provide a traceback? I think this usage of os.path.walk may
have crept back in from a recent merge from master. It didn't get
noticed because it only runs if the user doesn't already have a font
cache file.
I don't have a chance to look at this right now, but it you want to
submit a patch to convert this os.path.walk usage to os.walk, that would
of course be appreciated.
In general, don't expect the Python 3.x branch to be terribly useful for
production work right now... There's probably lots of sharp edges like
this still lingering beneath the surface.
Cheers,
Mike
On 04/08/2011 03:50 PM, Tobias Hoppe wrote:
Hi all,
grepping matplotlib-py3k from github, configuring, compiling and
installing with python3.2 under Ubuntu posed no problems. Firing up
python and import matplotlib shows no errors in the first place.
Importing pylab brings up errors in cbook.py, namely the call to
os.path.walk() in line 1069 which is deprecated since python3.0.
Without a proper replacement for os.path.walk() FontList.cache can't
be generated. Is it just my fault at some point or is it still broken
and needs fixing? If it needs fixing I will gladly look into it. What
get's me wondering is that someone managed to get a simple plot out of
mpl on python3.
Please give me a hint, if I need to work on it.
Greetz, Tobi
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
--
Michael Droettboom
Science Software Branch
Space Telescope Science Institute
Baltimore, Maryland, USA
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel