Here is the traceback of "python ClassDesigner.py". For me it is the
same error of dabodemo,
however here the log:
emanuele-gesuatos-mac-pro:ide emanuelegesuato$ python ClassDesigner.py
Traceback (most recent call last): File "ClassDesigner.py", line
4202, in <module> clsDes = ClassDesigner(f) File
"ClassDesigner.py", line 56, in __init__ splashTimeout=10) File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Dabo-0.9.2-py2.5.egg/dabo/dApp.py",
line 206, in __init__ self._frameworkPrefs =
dabo.dPref(key="dabo_framework") File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Dabo-0.9.2-py2.5.egg/dabo/dPref.py",
line 78, in __init__ forceCreate=True)
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Dabo-0.9.2-py2.5.egg/dabo/db/dConnection.py",
line 29, in __init__ self._connectInfo =
dConnectInfo(connInfo=connectInfo)
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Dabo-0.9.2-py2.5.egg/dabo/db/dConnectInfo.py",
line 55, in __init__
self.setConnInfo(connInfo)
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Dabo-0.9.2-py2.5.egg/dabo/db/dConnectInfo.py",
line 99, in setConnInfo
setattr(self, props[propidx], v)
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Dabo-0.9.2-py2.5.egg/dabo/db/dConnectInfo.py",
line 162, in _setDbType
self._backendObject = dbSQLite.SQLite()
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Dabo-0.9.2-py2.5.egg/dabo/db/dbSQLite.py",
line 16, in __init__
dBackend.__init__(self)
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Dabo-0.9.2-py2.5.egg/dabo/db/dBackend.py",
line 31, in __init__
self._encoding = self.Application.Encoding
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Dabo-0.9.2-py2.5.egg/dabo/dApp.py",
line 1355, in _getEncoding
ret = locale.getlocale()[1]
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/locale.py",
line 462, in getlocale
return _parse_localename(localename)
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/locale.py",
line 375, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
Thanks
On Sun, Sep 20, 2009 at 5:46 PM, Ed Leafe <[email protected]> wrote:
> On Sep 20, 2009, at 9:40 AM, Emanuele Gesuato wrote:
>
>> My system is in english.
>
> Up until now all of our problems with locale-related stuff were on
> non-English systems.
>
>> However here is the output:
>> emanuele-gesuatos-mac-pro:demo emanuelegesuato$ python
>>>>> import locale
>>>>> print locale.getlocale()
>> (None, None)
>>
>> What should be wrong ? However it seems not dabo related.
>
>
> Actually, (None, None) is what I get, too. But the traceback you
> supplied in your first email showed that _parse_localename() method of
> the locale module got the string "UTF-8" instead of (None, None).
>
> Does this only happen with DaboDemo.py? What happens if you try to
> run ClassDesigner.py, or ReportDesigner.py?
>
>
> -- Ed Leafe
>
>
>
>
>
[excessive quoting removed by server]
_______________________________________________
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]