On Mon, Feb 02, 2009 at 10:46:42PM +0100, Stef Mientki wrote:
> now I think there's a slash too much :-(
> Now I wonder, is SQLObject suited for MS-Windows ?
My company sells commercial programs for w32; some of these programs use
SQLObject pretty heavily. On the server side we use SQLite for small clients
and PostgreSQL for bigger ones.
Well, we use sqlite:///path/to/data.base syntax with ':' replaced by
'|': sqlite:///C|program/data.db. This is how we do it:
cwd = os.getcwd()
cwd_uri = cwd.replace(os.sep, '/')
if os.name == 'nt':
cwd_uri = '/' + cwd_uri.replace(':', '|')
> ValueError: The table test__create2 ws not found in the database. Load
> failed
>
> Now it's creating an extra underscore ???
No idea. I am sure it is not an SQLObject's error.
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ ph...@ph...
Programmers don't die, they just GOSUB without RETURN.
|