File
> "/usr/local/lib/python2.7/dist-packages/django/db/backends/sqlite3/base.py",
> line 296, in _sqlite_create_connection
>     self.connection = Database.connect(**kwargs)
> OperationalError: unable to open database file
>
> This one is resolved:

1. not sure why but I had to sudo sglite3

2. I changed permissions on the parent directory and everything below it
which did not resolve the problem.

3. I searched on operational error django and in overflow someone said they:

   'NAME': 'C:\\home\dj\mfp\myfile\myfile\mydb.db',     # Or path to
database file if using sqlite3.
#        'NAME': 'C://home/dj/mfp/myfile/myfile/mydb.db',

which worked and it did for me as well.  They were in Windows and I am in
Xubunto though I do have them installed on the same disk.

Thanks for the help and I am sure I will be back.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to