maybe pastebin your code helps... you have permission on folders where
sqlite file will be created?
I have this in settings.py (django 1.3.1):
...
'default': {
# Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or
'oracle'.
'ENGINE': 'django.db.backends.sqlite3',
# Or path to database file if using sqlite3.
'NAME': '/path/to/my/file.sqlite',
...
Have some info message of error ??
Cheers!
2013/7/16 Alex Hall <[email protected]>
> Hello list,
> I am well versed in Python, and I hate web development, but I have to make
> a website for my business. So, I thought I'd use Python to make the task
> more tolerable.
>
> I'm working through the official Django tutorial, and am at the part where
> I am to run "python manage.py syncdb". However, I keep getting:
> operational error: unable to open database file."
>
> I set the "NAME" key to the absolute path (this is on OS10.8), the folder
> should be writeable since it is just a folder in my user account, there are
> no special characters or spaces in the path, and I've tried both ending it
> with a slash and no filename and providing a filename. Nothing works, and I
> have no idea why. I am running the latest production version, 1.5.1, if
> that matters. Any suggestions would be greatly appreciated. Thank you.
>
>
> Have a great day,
> Alex (msg sent from Mac Mini)
> [email protected]
>
>
>
> --
> 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.
>
>
>
--
Rafael E. Ferrero
Claro: (03562) 15514856
--
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.