You can try finding the lock (assuming you are on unix):
On Friday, March 28, 2014 6:22:33 AM UTC-7, KEVIN HUNGAI wrote:
-- $ which fuser
/usr/bin/fuser
$ fuser db.sqlite3
db.sqlite3: 84349
$ ps aux | grep 84349
kelvin 84349 0.0 0.1 491220 4776 ?? S Fri03PM 3:24.57 /Applications/SQLite Database Browser.app
This shows candidates that might have locks on the db. You can try closing them or killing them (ie. kill 84349)
fuser - list process IDs of all processes that have one or more files open
K
On Friday, March 28, 2014 6:22:33 AM UTC-7, KEVIN HUNGAI wrote:
Hi all am using django-registration app in one of my projects and sqlite3 for the database. I keep getting Database Error (SQLite) Database is locked everytime i try access the login page. Can someone please assist me on where the issue might be
Thank you
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3a5530aa-faf6-46eb-9263-bc6e808b9200%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment