Closed Astate closed 14 years ago
Seems to be local config issue and not issue with Mingus.
I switched to MySQL and now it's work. Thank's
Glad that suggestion works. I don't know the reason why CentOS and SQLite are not jiving well. Glad it's fixed now. Cheers!
I have complet Path in DATABASE_NAME and i chmod 777 for test
Thu Sep 23 19:40:36 2010] [error] [client ] Traceback (most recent call last): [Thu Sep 23 19:40:36 2010] [error] [client ] File "/usr/local/lib/python2.6/site-packages/django/core/handlers/wsgi.py", line 245, in call [Thu Sep 23 19:40:36 2010] [error] [client ] response = middleware_method(request, response) [Thu Sep 23 19:40:36 2010] [error] [client ] File "/opt/env/django-mingus/django-mingus/mingus/src/django-request/request/middleware.py", line 27, in process_response [Thu Sep 23 19:40:36 2010] [error] [client ] r.from_http_request(request, response) [Thu Sep 23 19:40:36 2010] [error] [client ] File "/opt/env/django-mingus/django-mingus/mingus/src/django-request/request/models.py", line 65, in from_http_request [Thu Sep 23 19:40:36 2010] [error] [client ] self.save() [Thu Sep 23 19:40:36 2010] [error] [client ] File "/usr/local/lib/python2.6/site-packages/django/db/models/base.py", line 411, in save [Thu Sep 23 19:40:36 2010] [error] [client ] self.save_base(force_insert=force_insert, force_update=force_update) [Thu Sep 23 19:40:36 2010] [error] [client ] File "/usr/local/lib/python2.6/site-packages/django/db/models/base.py", line 496, in save_base [Thu Sep 23 19:40:36 2010] [error] [client ] result = manager._insert(values, return_id=update_pk) [Thu Sep 23 19:40:36 2010] [error] [client ] File "/usr/local/lib/python2.6/site-packages/django/db/models/manager.py", line 177, in _insert [Thu Sep 23 19:40:36 2010] [error] [client ] return insert_query(self.model, values, **kwargs) [Thu Sep 23 19:40:36 2010] [error] [client ] File "/usr/local/lib/python2.6/site-packages/django/db/models/query.py", line 1087, in insert_query [Thu Sep 23 19:40:36 2010] [error] [client ] return query.execute_sql(return_id) [Thu Sep 23 19:40:36 2010] [error] [client ] File "/usr/local/lib/python2.6/site-packages/django/db/models/sql/subqueries.py", line 320, in execute_sql [Thu Sep 23 19:40:36 2010] [error] [client ] cursor = super(InsertQuery, self).execute_sql(None) [Thu Sep 23 19:40:36 2010] [error] [client ] File "/usr/local/lib/python2.6/site-packages/django/db/models/sql/query.py", line 2369, in execute_sql [Thu Sep 23 19:40:36 2010] [error] [client ] cursor.execute(sql, params) [Thu Sep 23 19:40:36 2010] [error] [client ] File "/usr/local/lib/python2.6/site-packages/django/db/backends/util.py", line 19, in execute [Thu Sep 23 19:40:36 2010] [error] [client ] return self.cursor.execute(sql, params) [Thu Sep 23 19:40:36 2010] [error] [client ] File "/usr/local/lib/python2.6/site-packages/django/db/backends/sqlite3/base.py", line 193, in execute [Thu Sep 23 19:40:36 2010] [error] [client ] return Database.Cursor.execute(self, query, params) [Thu Sep 23 19:40:36 2010] [error] [client ] OperationalError: unable to open database file