>Baruwa does not interact with your main.cf at all, am sure your HTTP 500 is 
>being caused by something else. Please turn on DEBUG in your settings.py and a 
>traceback indicating the error will be displayed to screen.

I didn't think so, it's just a weird coincidence that whenever I edit it, this 
happens. I thought it was just a fluke, so I reverted back to a snapshot of 
right after Baruwa is installed and working properly, then edited again and it 
happened all over.

>Please post your traceback and i will try and assist you fix this issue.

Looks like a MySQL connection error, but I'm not touching MySQL or settings.py..

Environment:

Request Method: GET
Request URL: http://10.10.254.29/
Django Version: 1.1.4
Python Version: 2.4.3
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'baruwa.auth',
 'baruwa.accounts',
 'baruwa.messages',
 'baruwa.lists',
 'baruwa.reports',
 'baruwa.status',
 'baruwa.config']
Installed Middleware:
('django.middleware.gzip.GZipMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.csrf.middleware.CsrfMiddleware')


Traceback:
File "/usr/lib/python2.4/site-packages/django/core/handlers/base.py" in 
get_response
  99.                     response = callback(request, *callback_args, 
**callback_kwargs)
File "/usr/lib/python2.4/site-packages/django/contrib/auth/decorators.py" in 
__call__
  77.         if self.test_func(request.user):
File "/usr/lib/python2.4/site-packages/django/contrib/auth/middleware.py" in 
__get__
  9.             request._cached_user = get_user(request)
File "/usr/lib/python2.4/site-packages/django/contrib/auth/__init__.py" in 
get_user
  84.         user_id = request.session[SESSION_KEY]
File 
"/usr/lib/python2.4/site-packages/django/contrib/sessions/backends/base.py" in 
__getitem__
  46.         return self._session[key]
File 
"/usr/lib/python2.4/site-packages/django/contrib/sessions/backends/base.py" in 
_get_session
  172.                 self._session_cache = self.load()
File "/usr/lib/python2.4/site-packages/django/contrib/sessions/backends/db.py" 
in load
  16.                 expire_date__gt=datetime.datetime.now()
File "/usr/lib/python2.4/site-packages/django/db/models/manager.py" in get
  119.         return self.get_query_set().get(*args, **kwargs)
File "/usr/lib/python2.4/site-packages/django/db/models/query.py" in get
  301.         num = len(clone)
File "/usr/lib/python2.4/site-packages/django/db/models/query.py" in __len__
  82.                 self._result_cache = list(self.iterator())
File "/usr/lib/python2.4/site-packages/django/db/models/query.py" in iterator
  239.         for row in self.query.results_iter():
File "/usr/lib/python2.4/site-packages/django/db/models/sql/query.py" in 
results_iter
  284.         for rows in self.execute_sql(MULTI):
File "/usr/lib/python2.4/site-packages/django/db/models/sql/query.py" in 
execute_sql
  2346.         cursor = self.connection.cursor()
File "/usr/lib/python2.4/site-packages/django/db/backends/__init__.py" in cursor
  81.         cursor = self._cursor()
File "/usr/lib/python2.4/site-packages/django/db/backends/mysql/base.py" in 
_cursor
  282.             self.connection = Database.connect(**kwargs)
File "/usr/lib64/python2.4/site-packages/MySQLdb/__init__.py" in Connect
  74.     return Connection(*args, **kwargs)
File "/usr/lib64/python2.4/site-packages/MySQLdb/connections.py" in __init__
  170.         super(Connection, self).__init__(*args, **kwargs2)

Exception Type: OperationalError at /
Exception Value: (2002, "Can't connect to local MySQL server through socket 
'/var/lib/mysql/mysql.sock' (2)")


Thanks again!
-Alex
_______________________________________________
Baruwa mailing list
[email protected]
http://lists.baruwa.org/mailman/listinfo/baruwa

Reply via email to