When i try to launch DaboDemo (dabo 0.9.2, retrieved by svn) on osx
10.5.2 i've got the following error:

I'm using python 2.5.4 and wxPython 2.8.10.1.
I've tried launching the program with "python" and "pythonw" (i've
read in the wiki i should use this one).

It seems an error on UTF-8 not installed but I've enabled UTF-8 as one
of the default encoding in my system, both on terminal and in system
configuration.

Thanks for any help

Traceback (most recent call last):
  File "DaboDemo.py", line 25, in <module>
    main()
  File "DaboDemo.py", line 17, in main
    MainFormClass=mfc, BasePrefKey="demo.DaboDemo")
  File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Dabo-0.9.2-py2.5.egg/dabo/dApp.py",
line 193, in __init__
    super(dApp, self).__init__(properties, *args, **kwargs)
  File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Dabo-0.9.2-py2.5.egg/dabo/dObject.py",
line 89, in __init__
    self.setProperties(properties)
  File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Dabo-0.9.2-py2.5.egg/dabo/lib/propertyHelperMixin.py",
line 208, in setProperties
    _setProps(propDict)
  File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Dabo-0.9.2-py2.5.egg/dabo/lib/propertyHelperMixin.py",
line 197, in _setProps
    setter(self, _propDict[prop])
  File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Dabo-0.9.2-py2.5.egg/dabo/dApp.py",
line 1304, in _setBasePrefKey
    super(dApp, self)._setBasePrefKey(val)
  File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Dabo-0.9.2-py2.5.egg/dabo/dObject.py",
line 295, in _setBasePrefKey
    pm = self.PreferenceManager
  File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Dabo-0.9.2-py2.5.egg/dabo/dObject.py",
line 369, in _getPreferenceManager
    ret = self._preferenceManager = dPref(key=self.BasePrefKey)
  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
Exception exceptions.AttributeError: "'dApp' object has no attribute
'_tempFileHolder'" in <bound method dApp.__del__ of <dabo.dApp.dApp
(baseclass dabo.dApp, id:15681840)>> ignored


_______________________________________________
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