Hi,
I see the following exception when the users id contains an umlaut.
APPDATA=C:\Users\Jörg\AppData\Roaming
Traceback (most recent call last):
File "run_rwd.py", line 13, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "twcbsrc\controllers\fDaboDesign.pyo", line 55, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "ReportDesigner.pyo", line 693, in <module>
File "ReportDesigner.pyo", line 688, in DesignerController
File "dabo\dApp.pyo", line 195, in __init__
File "dabo\dObject.pyo", line 33, in __init__
File "dabo\dApp.pyo", line 878, in _initProperties
File "dabo\dObject.pyo", line 181, in _initProperties
File "ReportDesigner.pyo", line 28, in initProperties
File "dabo\dApp.pyo", line 1374, in _setBasePrefKey
File "dabo\dObject.pyo", line 303, in _setBasePrefKey
File "dabo\dObject.pyo", line 378, in _getPreferenceManager
File "dabo\dPref.pyo", line 77, in __init__
File "dabo\db\dConnection.pyo", line 32, in __init__
File "dabo\db\dConnection.pyo", line 85, in _openConnection
File "dabo\db\dConnectInfo.pyo", line 79, in getConnection
File "dabo\db\dbSQLite.pyo", line 70, in getConnection
File "dabo\db\dbSQLite.pyo", line 47, in __init__
sqlite3.OperationalError: unable to open database file
Try to fix it in lib.utils.py with:
dd = unicode(os.environ.get("APPDATA").encode(sys.getfilesystemencoding()))
but that gives an encoding error and searching on the net there seems to
be a problem with os.environ with non ascii chars.
Worked around it by including win32com.shell stuff with py2exe'd
application.
Hopefully this might help someone down the road.
Werner
_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/5200d59a.40...@free.fr