1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Operational Error while opening .db file

Discussion in 'Database' started by obscurecoder, Jul 21, 2010.

  1. obscurecoder

    obscurecoder New Member

    Jun 7, 2010
    Likes Received:
    Trophy Points:
    I recently tried to run some scripts in Python on my .db file, but whenever I try to establish a connection, I get the following error:

    >>> conn = sqlite3.connect('C:\Users\1545User\Documents\SEETA\ShruthLaikh\dict2.
    db', isolation_level=None)
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    sqlite3.OperationalError: unable to open database file

    I searched the web and found out that I have to specify the full path name, I did that but I am still unable to open my .db file.
    I am not even able to open it once, I read a few problems where this occured later on when the program was running, but my problem is that its not opening the file at all.
    I ma using Python 2.5, sqlite3 and Windows Vista. If you require any other details, let me know...

Share This Page