On Feb 7, 2009, at 6:47 AM, Miguel wrote:

> I'm having problems with the source install downloaded from your  
> website.
> This is the traceback:
>
> $ sudo python setup.py install
> Traceback (most recent call last):
>  File "setup.py", line 7, in <module>
>    from dabo.__version__ import version
>  File "/Users/UserName/Desktop/dabo/dabo/__init__.py", line 129, in
> <module>
>    import dLocalize
>  File "/Users/UserName/Desktop/dabo/dabo/dLocalize.py", line 11, in
> <module>
>    _defaultLanguage, _defaultEncoding = locale.getdefaultlocale()
>  File
> "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
> python2.5/locale.py",
> line 441, in getdefaultlocale
>    return _parse_localename(localename)
>  File
> "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
> python2.5/locale.py",
> line 373, in _parse_localename
>    raise ValueError, 'unknown locale: %s' % localename
> ValueError: unknown locale: UTF-8

        Can you try this from a python session:

 >>> import locale
 >>> print locale.getdefaultlocale()
('en_US', 'UTF8')

        What do you get?

> I suppose that you are using the default factory python, as me. Being
> new to the Mac I still haven't wrapped my head around python on the  
> OSX,
> so I might be doing something wrong. I appologize for being of topic,
> apart from the source install not working with the default Python
> install on OSX Leopard 10.5.6, but if you can give me any pointers or
> point me to any resources that would benefit a new Python user on the
> Mac, it would be great. On Windows I have no problems, I can tweak my
> Python install .pth files, different installs, etc  with no problems  
> but
> on the Mac it's a nightmare.

        How do you have Dabo installed? I have it in a directory off of my  
home directory, and have a soft link to it in the default Python site- 
packages. Again, from a Python session:

 >>> import dabo
 >>> dabo.__file__
'/Library/Python/2.5/site-packages/dabo/__init__.pyc'

        Do you get the same?


-- Ed Leafe




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to