Hi,

Can someone please help to fix this issue?

Traceback (most recent call last):

  File "/ot/w/u/django-s/django/core/handlers/base.py", line 80, in
get_response
    response = middleware_method(request)

  File "/ot/w/u/django-s/django/contrib/auth/middleware.py", line 98,
in process_request
    login(request, user)   # auto-login the user to Django

  File "/ot/w/u/django-s/django/contrib/auth/__init__.py", line 69, in
login
    user.save()

  File "/ot/w/u/django-s/django/db/models/base.py", line 435, in save
    self.save_base(using=using, force_insert=force_insert,
force_update=force_update)

  File "/ot/w/u/django-s/django/db/models/base.py", line 501, in
save_base
    rows = manager.using(using).filter(pk=pk_val)._update(values)

  File "/ot/w/u/django-s/django/db/models/query.py", line 491, in
_update
    return query.get_compiler(self.db).execute_sql(None)

  File "/ot/w/u/django-s/django/db/models/sql/compiler.py", line 861,
in execute_sql
    cursor = super(SQLUpdateCompiler, self).execute_sql(result_type)

  File "/ot/w/u/django-s/django/db/models/sql/compiler.py", line 727,
in execute_sql
    cursor.execute(sql, params)

  File "/ot/w/u/django-s/django/db/backends/sqlite3/base.py", line
200, in execute
    return Database.Cursor.execute(self, query, params)

DatabaseError: database is locked

Thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to