Ed Leafe wrote:
>
>       Can you try this from a python session:
>
>  >>> import locale
>  >>> print locale.getdefaultlocale()
> ('en_US', 'UTF8')
>
>       What do you get?
>
>   
I get the same exception.

 >>> locale.getdefaultlocale()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  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

>> 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
>
>   
I tried to install using 'python setup.py install' with the source 
downloaded from dabodev.com. In the mean while I used svn , just copying 
and pasting the dabo directory gotten from svn to site-packages. Using 
this method the ide and the demo work fine but I get the same traceback 
if I try to import dabo from the interpreter.

One question Ed. Are you using the default "Apple's Python" or do you 
advice another solution? I'm on Leopard 10.5  and things seem to have 
changed a bit in comparison to previous Macs.


Txs,
Miguel

_______________________________________________
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