Menu

#68 sqlite test fail on windows

closed-accepted
SQLite (24)
5
2005-03-29
2005-03-28
David Linke
No

Problem is the connection string. According to
http://article.gmane.org/gmane.comp.python.sqlobject/2669
the : in the windows-drive letter c:/ should be
replaced by c|/

Please see the attached patch for the slight
modification of dbtest.py

Discussion

  • David Linke

    David Linke - 2005-03-28

    Logged In: YES
    user_id=734219

    I have deleted the patch - it had some problems.

    The problem with running tests on windows remains. Here is
    the error:

    E self.db = _sqlite.connect(database, mode)
    ~ DatabaseError: <built-in function
    connect>('/C:\\sources\\SQLObject\\dbs
    _data.tmp', 493) << unable to open database:
    /C:\sources\SQLObject\dbs_data.tmp

    Tests were run with py.test (Rev. 10013)

     
  • David Linke

    David Linke - 2005-03-28

    Logged In: YES
    user_id=734219

    Attached you find a patch that made the sqlite-tests run.

    First I also had to create the /data directory in current
    working dir for the sqlite database. I think storing the
    sqlite-file in a subdirectory can only complicate the tests
    (if the dir is not created automatically) and thus removed
    /data from the directory for the sqlite test database in the
    patch.

    I got three errors. One of them seems to expected according
    to the comments. The log is attached.

     
  • David Linke

    David Linke - 2005-03-28
     
  • David Linke

    David Linke - 2005-03-28
     
  • Oleg Broytman

    Oleg Broytman - 2005-03-29

    Logged In: YES
    user_id=4799

    Applied at revision 692.

     
  • Oleg Broytman

    Oleg Broytman - 2005-03-29
    • assigned_to: nobody --> phd
    • status: open --> closed-accepted
     

Log in to post a comment.