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/            p...@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to