Go4Expert (http://www.go4expert.com/)
-   Database (http://www.go4expert.com/forums/database-forum/)
-   -   Operational Error while opening .db file (http://www.go4expert.com/forums/operational-error-db-file-t22770/)

obscurecoder 21Jul2010 10:54

Operational Error while opening .db file
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...

All times are GMT +5.5. The time now is 09:05.