Hello
hey michael
I have been experiencing this problem since I installed my brand new
Ubuntu Karmic with python in version 2.6 The project I am working on
was working under python2.5 in my old Gentoo and still works (at least
the python manage.py syncdb command does) on a server which is also
running python2.5.
I have tried installing both the latest official version and the
latest development version of django and still the
"python manage.py syncdb"
it returns this error:

Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_manager(settings)
  File "/usr/local/lib/python2.6/dist-packages/django/core/management/
__init__.py", line 3
    utility.execute()
  File "/usr/local/lib/python2.6/dist-packages/django/core/management/
__init__.py", line 3
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python2.6/dist-packages/django/core/management/
base.py", line 195,
    self.execute(*args, **options.__dict__)
  File "/usr/local/lib/python2.6/dist-packages/django/core/management/
base.py", line 222,
    output = self.handle(*args, **options)
  File "/usr/local/lib/python2.6/dist-packages/django/core/management/
base.py", line 351,
    return self.handle_noargs(**options)
  File "/usr/local/lib/python2.6/dist-packages/django/core/management/
commands/syncdb.py",
    cursor = connection.cursor()
  File "/usr/local/lib/python2.6/dist-packages/django/db/backends/
__init__.py", line 81, i
    cursor = self._cursor()
  File "/usr/local/lib/python2.6/dist-packages/django/db/backends/
sqlite3/base.py", line 1
    self.connection = Database.connect(**kwargs)
sqlite3.OperationalError: unable to open database file

i have looked at other posts and the majority of people had
the"operational error" caused by "~" in the path to the main folder in
the settings.py or permissions to write for the folder that contains
the project. none of the advices i found solved my problem.
do you have any idea where this comes from and what should i do? is
there something to be set in sqlite or should i modify django's
destinations/target files?
thanks

selena

--~--~---------~--~----~------------~-------~--~----~
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