#238 sqlite URI is not handled right on windows

closed-duplicate
nobody
SQLite (24)
5
2008-03-03
2008-02-29
No

On Windows machine when I try to connect to some sqlite database file, I am receiving error message that says it was not possible to create (or open) file.
I was inspecting code and found that path which is parsed from given URI starts with '/', and on Windows no valid path starts with '/'.
I send in attachment new version of sqliteconnection.py
with three lines which on windows platform strips unwanted '/' from the left of path.

Discussion

  • Oleg Broytman
    Oleg Broytman
    2008-03-03

    Logged In: YES
    user_id=4799
    Originator: NO

    A dup of 1904948.

     
  • Oleg Broytman
    Oleg Broytman
    2008-03-03

    • status: open --> closed-duplicate