still the same :(

bonobo:~ bonobo$ spyder-2.7 
Traceback (most recent call last):
  File "/opt/local/bin/spyder-2.7", line 27, in <module>
    from spyderlib import spyder
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/spyder.py",
 
line 95, in <module>
    from spyderlib.plugins.inspector import ObjectInspector
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/plugins/inspector.py",
 
line 44, in <module>
    from spyderlib.utils.inspector.sphinxify import (CSS_PATH, sphinxify,
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/utils/inspector/sphinxify.py",
 
line 28, in <module>
    from docutils.utils import SystemMessage as SystemMessage
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/utils/__init__.py",
 
line 20, in <module>
    from docutils.io import FileOutput
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/io.py",
 
line 18, in <module>
    from docutils.utils.error_reporting import locale_encoding, 
ErrorString, ErrorOutput
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/utils/error_reporting.py",
 
line 47, in <module>
    locale_encoding = locale.getlocale()[1] or locale.getdefaultlocale()[1]
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py",
 
line 503, in getdefaultlocale
    return _parse_localename(localename)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py",
 
line 435, in _parse_localename
    raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8

bonobo:~ bonobo$ echo $LANG
en_US.UTF-8

On Monday, March 25, 2013 2:58:19 AM UTC+1, Carlos Córdoba wrote:
>
> Hi, 
>
> Open Terminal.app, then write 
>
> nano -w .bashrc 
>
> (notice the point before bashrc), then write inside it 
>
> export LANG=en_US.UTF-8 
>
> and finally press Ctrl+O+Enter+Ctrl+X 
>
>
> Here we are defining a right locale for the console. To start Spyder, 
> close the terminal and start a new one before doing it again. 
>
> Cheers, 
> Carlos 
>
> El 24/03/13 14:41, Bon Obo escribió: 
> > hi there, 
> > 
> >  I am on 10.7, installed spyder via macports together with python27, 
> > pep827', py27-pyflakes, py27-sphinx as defaults. I am getting the 
> > followin error unfortunately. 
> > 
> > thanks for your help... 
> > 
> > this is the error message: 
> > 
> > Traceback (most recent call last): 
> >   File "/opt/local/bin/spyder", line 6, in <module> 
> >     from spyderlib.baseconfig import get_conf_path 
> >   File 
> > 
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/baseconfig.py",
>  
>
> > line 170, in <module> 
> >     _ = get_translation("spyderlib") 
> >   File 
> > 
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/baseconfig.py",
>  
>
> > line 149, in get_translation 
> >     lang = locale.getdefaultlocale()[0] 
> >   File 
> > 
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py",
>  
>
> > line 503, in getdefaultlocale 
> >     return _parse_localename(localename) 
> >   File 
> > 
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py",
>  
>
> > line 435, in _parse_localename 
> >     raise ValueError, 'unknown locale: %s' % localename 
> > ValueError: unknown locale: UTF-8 
> > -- 
> > You received this message because you are subscribed to the Google 
> > Groups "spyder" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> > an email to [email protected] <javascript:>. 
> > To post to this group, send email to [email protected]<javascript:>. 
>
> > Visit this group at http://groups.google.com/group/spyderlib?hl=en. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> > 
> > 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to