On Thu, Apr 4, 2013 at 10:24 PM, Thomas Weholt <thomas.weh...@gmail.com> wrote: > I haven't changed settings.py since my last successful run. I've also > googled the problem (and it seem to pop up once in a while), but none of the > solutions provided solved the problem. I've also made the path to the > databasefile absolute, like so: > > import os > PROJECT_PATH = os.path.dirname(os.path.abspath(__file__)) > DATABASES = { > 'default': { > 'ENGINE': 'django.db.backends.sqlite3', > 'NAME': os.path.join(PROJECT_PATH, 'database.db'), > 'USER': '', > 'PASSWORD': '', > 'HOST': '', > 'PORT': '', > } > }
Just a guess, can you try writing to another path? I mean smt like this. 'NAME': os.path.join('/tmp', 'database.db'), I've checked the stackoverflow questions about this issue too, I guess there could be a problem about writing on the same path, but I don't have a valid explanation. :) -- - Serdar Dalgıç <s...@serdardalgic.org> FLOSS Developer, Life & Nature Hacker twitter: https://twitter.com/serdaroncode -- 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+unsubscr...@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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.