Hi Tim,

On 5/22/06, Tim Lesher <[EMAIL PROTECTED]> wrote:
I also see that the example URI for SQLite on Windows now includes a
colon, rather than a pipe character:

# for Windows users, sqlite URIs look like:
# sqlobject.dburi="sqlite:///drive_letter:/path/to/file"

It used to be "sqlite:///drive_letter|/path/to/file", and sure enough,
if I "fix" the URI that the simple default sets to use the pipe
character, all is well.

Hmm... Something else that landed in 0.9a6 or thereabouts was this
change in database.by:
       if sys.platform == 'win32' and uri.startswith('sqlite'):
           # fix drive letter path
           uri = re.sub('///(\w):', '///\\1|', uri)

So, the : should be turned into a | automatically behind the scenes.

Kevin
X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.54.131.10 with SMTP id e10mr192548wrd;
       Mon, 22 May 2006 05:54:46 -0700 (PDT)
Return-Path: <[EMAIL PROTECTED]>
Received: from nz-out-0102.google.com ([64.233.162.193])
       by mx.googlegroups.com with ESMTP id v23si971252cwb.2006.05.22.05.54.45;
       Mon, 22 May 2006 05:54:46 -0700 (PDT)
Received-SPF: pass (googlegroups.com: domain of [EMAIL PROTECTED] designates 
64.233.162.193 as permitted sender)
DomainKey-Status: good (test mode)
Received: by nz-out-0102.google.com with SMTP id 34so916387nzf
       for <[email protected]>; Mon, 22 May 2006 05:54:45 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
       s¾ta; d=gmail.com;
       
h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
       
b=T6FEcCeOM9SXiftfzziyizF/QykV0QUt9Kh7dxennPTFZ3l3DsC0ehihHUMbBVWXQHhepqiVmDmp4DttHFUY1gP+n5CbR2/xcfCLzZ7Q9e4og7Uf27HN/0mDCY5LZcnET9Yxi8OZtUZDZwsunQgeyBzudBIBhoUKqC6h8UD+S2wReceived:
 by 10.65.244.12 with SMTP id w12mr626524qbr;
       Mon, 22 May 2006 05:54:45 -0700 (PDT)
Received: by 10.65.159.9 with HTTP; Mon, 22 May 2006 05:54:45 -0700 (PDT)
Message-ID: <[EMAIL PROTECTED]>
Date: Mon, 22 May 2006 08:54:45 -0400
From: "Kevin Dangoor" <[EMAIL PROTECTED]>
To: [email protected]
Subject: Re: [TurboGears] New 0.96a default db in dev.cfg?
In-Reply-To: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
References: <[EMAIL PROTECTED]>

Hi Tim,

On 5/22/06, Tim Lesher <[EMAIL PROTECTED]> wrote:
I also see that the example URI for SQLite on Windows now includes a
colon, rather than a pipe character:

# for Windows users, sqlite URIs look like:
# sqlobject.dburi="sqlite:///drive_letter:/path/to/file"

It used to be "sqlite:///drive_letter|/path/to/file", and sure enough,
if I "fix" the URI that the simple default sets to use the pipe
character, all is well.

Hmm... Something else that landed in 0.9a6 or thereabouts was this
change in database.by:
       if sys.platform == 'win32' and uri.startswith('sqlite'):
           # fix drive letter path
           uri = re.sub('///(\w):', '///\\1|', uri)

So, the : should be turned into a | automatically behind the scenes.

Kevin

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to