Today I found Dabo and started playing a bit. First I want to say thank
you and I really like what I see.
Here are two small problems I already stumbled upon:
First, in dbApp.py there is the following line:
sysFile = os.path.join(sp, connFile)
Now on my Win XP system, "sp" happened to be a utf-8 encoded filename
with non-ascii chars, while "connFile" was a unicode string. This
crashed because Python did not know how to encode the connFile string.
The following quick fix worked (but is maybe not right on Unix?)
sysFile = os.path.join(sp, connFile.encode('utf-8'))
Another nasty problem was that I used a (Postgres) database with the
name "test". However, the "importConnections()" function in connParser
checks if the database exists as a file, and replaces the name with the
file path in this case. Unfortunately, since the filename "test" existed
as a subdirector of the app, the database name was converted to the path
name of the test dir, and Postgres of course did not like this (it
generally never expects a filename as the database name).
I suggest removing this automatic file path conversion in
importConnections(), and adding it only to dbSQLite and those connectors
that really need file paths (or you can add it as an extra property
DatabasePath to dConnectInfo).
-- Christoph
_______________________________________________
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]