Hi William,

thanks for your help. The file worked perfectly fine!
Kudos to the program, I'm just starting to use it and already it seems
REALLY powerful!

Cheers
Matthias




On Jan 29, 10:48 am, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Jan 29, 2008 3:57 AM, Reineke <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Hi,
>
> > I get the following error when I'm trying to use show or save:
>
> > -----
> >   File "/Applications/sage/local/lib/python2.5/site-packages/sympy/
> > plotting/", line 1, in <module>
>
> >   File "/Applications/sage/local/lib/python2.5/site-packages/sympy/
> > plotting/plot.py", line 721, in show
>
> >   File "/Applications/sage/local/lib/python2.5/site-packages/sympy/
> > plotting/plot.py", line 792, in save
>
> >   File "/Users/was/build/sage-2.10/local/lib/python2.5/site-packages/
> > matplotlib/figure.py", line 8, in <module>
> >   File "/Users/was/build/sage-2.10/local/lib/python2.5/site-packages/
> > matplotlib/artist.py", line 3, in <module>
> >   File "/Users/was/build/sage-2.10/local/lib/python2.5/site-packages/
> > matplotlib/cbook.py", line 18, in <module>
> >   File "/Applications/sage/local/lib/python/locale.py", line 507, in
> > getpreferredencoding
> >     return getdefaultlocale()[1]
> >   File "/Applications/sage/local/lib/python/locale.py", line 443, in
> > getdefaultlocale
> >     return _parse_localename(localename)
> >   File "/Applications/sage/local/lib/python/locale.py", line 375, in
> > _parse_localename
> >     raise ValueError, 'unknown locale: %s' % localename
> > ValueError: unknown locale: UTF-8
> > ----
>
> > I'm a total newbie and installed sage 2.10 from a .dmg on Mac Os 10.5.
> > It seems to be a python error, but I have no idea about python as
> > well.
>
> Could you try carefully replacing  the file
>
>    /Applications/sage/local/lib/python2.5/site-packages/matplotlib/cbook.py
>
> on your computer by the attached file, then report back to us whether this
> fixes the problem or not?  Thanks!  If so, we'll be able to easily patch Sage
> so that this problem doesn't happen for you in the future (when you upgrade).
>
> Thanks for reporting this issue with running Sage!
>
>  - William
>
>  cbook.py
> 37KDownload

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to