Re: Chapter 5 problems resolved
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/sqlite3/base.py", line 296, in _sqlite_create_connectionself.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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home