Hi guys,
I just tried a fresh new 0.9a6 and I had to use | (pipe) or I got
"pysqlite2.dbapi2.OperationalError: unable to open database file".
After some testing I see that using : (colon) results in SQLObject
using a file name of "/c:/path/to/file".
Using | (pipe) makes it use "c:/path/to/file".
The leading slash also apears when using
"%(current_dir_uri)s/devdata.sqlite".
All this happened after using the notrans_ workaround.
My specs:
ActivePython 2.4.3
Windows XP SP2
TG 0.9a6 clean install
pysqlite 2.2.2 easy_installed from cheeseshop (also tried exe and v1
exe)
Anyway, I hope this helps others.
Krys
TGTry wrote:
> Oooppps.
>
> After adding the notrans_ I used the c: instead oc c| in the dburi.
> Thanks! It now seems to work.
>
> P.S. Developers great work, but in 9a6 the c: is an option I think.
X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.11.53.63 with SMTP id b63mr95569cwa;
Sat, 20 May 2006 22:17:39 -0700 (PDT)
X-Google-Token: n2RsWQwAAADtKog4V_8WymhtvjpfxlYt
Received: from 72.57.150.202 by j73g2000cwa.googlegroups.com with HTTP;
Sun, 21 May 2006 05:17:39 +0000 (UTC)
From: "Krys" <[EMAIL PROTECTED]>
To: "TurboGears" <[email protected]>
Subject: Re: Brian's Tutorial and SQLite
Date: Sat, 20 May 2006 22:17:39 -0700
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.3)
Gecko/20060426 Firefox/1.5.0.3,gzip(gfe),gzip(gfe)
Mime-Version: 1.0
Content-Type: text/plain
X-Google-Approved: [EMAIL PROTECTED] via web at 2006-05-21 16:19:18
Hi guys,
I just tried a fresh new 0.9a6 and I had to use | (pipe) or I got
"pysqlite2.dbapi2.OperationalError: unable to open database file".
After some testing I see that using : (colon) results in SQLObject
using a file name of "/c:/path/to/file".
Using | (pipe) makes it use "c:/path/to/file".
The leading slash also apears when using
"%(current_dir_uri)s/devdata.sqlite".
All this happened after using the notrans_ workaround.
My specs:
ActivePython 2.4.3
Windows XP SP2
TG 0.9a6 clean install
pysqlite 2.2.2 easy_installed from cheeseshop (also tried exe and v1
exe)
Anyway, I hope this helps others.
Krys
TGTry wrote:
> Oooppps.
>
> After adding the notrans_ I used the c: instead oc c| in the dburi.
> Thanks! It now seems to work.
>
> P.S. Developers great work, but in 9a6 the c: is an option I think.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---