Have you tried without the file:/// ?

On linux you don't need to specify file:/// you can just give the full path.

--
Thadeus




On Sun, Oct 31, 2010 at 3:19 PM, Stef Mientki <stef.mien...@gmail.com>wrote:

> hello,
>
> Standalone DAL,  what's the correct uri for the database location ?
>
> This works:
>  Database_Name = 'ID_TO_Beheer_DAL.db'
>  DB = DAL_DB ( 'sqlite://' + Database_Name )
>
>
> This gives an error, saying couldn;'t find a database after 5 tries
>  Database_Name = r'D:/Data_Python_25/Beheer/ID_TO_Beheer_DAL.db'
>  DB = DAL_DB ( 'sqlite://file:///' + Database_Name )
>
> A workaround is to use os.chdir()
>
> thanks,
> Stef Mientki
>

Reply via email to