Re: [Matplotlib-users] Strange error after installing matplotlib from macports

2009-09-15 Thread Jouni K . Seppänen
Damon McDougall damon.mcdoug...@gmail.com writes: from matplotlib.figure import Figure ValueError: invalid literal for int() with base 10: '836.364' I have no clue what is going on. Does anybody have any ideas? Could you do the following: (if you already exited that Python shell and can't

Re: [Matplotlib-users] Strange error after installing matplotlib from macports

2009-09-15 Thread Damon McDougall
Hi Jouni, Sure. Here is the output from your suggestion: Python 2.5.4 (r254:67916, Sep 15 2009, 11:16:42) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Type help, copyright, credits or license for more information. from pdb import pm from matplotlib.figure import Figure Traceback (most

Re: [Matplotlib-users] Strange error after installing matplotlib from macports

2009-09-15 Thread Jouni K . Seppänen
Damon McDougall damon.mcdoug...@gmail.com writes: (Pdb) p fh closed file '/Users/Damon/Library/Fonts/lcmssi8.afm', mode 'r' at That's a font that probably came with a TeX distribution and somehow got installed in your font library. (Pdb) p line 'C 0 ; WX 708.333 ; N Gamma ; B 0 0 836.364

Re: [Matplotlib-users] Strange error after installing matplotlib from macports

2009-09-15 Thread Damon McDougall
Hi Jouni, Wow, that worked a treat. Thank you very much! Maybe you should post that to the -devel mailing list, too! On the computer that this bug didn't occur, the ~/Library/Fonts directory is completely empty! I wonder where it is looking for lcmssi8.afm if it isn't in ~/Library/Fonts