Hello, i tried to update my baruwa install.

I removed the old baruwa dir, and downloaded for as far i know the latest
version from the git repository.

I did the python setup.py install
It installed without errors as far as i can see.

then i did copy the
/usr/local/lib/python2.6/site-packages/baruwa-1.0.0-py2.6.egg/baruwa
directory to /usr/local/lib/python2.6/site-packages/baruwa

just like the other install.

Did a diff from my old settings.py file to the new one and changed the
differences.

Now when i try to load the site i get the following in my browser
Internal Server Error

The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator, [email protected] and inform them
of the time the error occurred, and anything you might have done that may
have caused the error.

More information about this error may be available in the server error log.


And the following in my error log

[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1] mod_wsgi
(pid=64849): Exception occurred processing WSGI script
'/usr/local/lib/python2.6/site-packages/baruwa/baruwa.wsgi'.
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1] Traceback (most
recent call last):
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]   File
"/usr/local/lib/python2.6/site-packages/django/core/handlers/wsgi.py",
line 245, in __call__
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]     response =
middleware_method(request, response)
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]   File
"/usr/local/lib/python2.6/site-packages/django/contrib/sessions/middleware.py",
line 36, in process_response
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]    
request.session.save()
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]   File
"/usr/local/lib/python2.6/site-packages/django/contrib/sessions/backends/db.py",
line 56, in save
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]     session_key =
self.session_key,
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]   File
"/usr/local/lib/python2.6/site-packages/django/contrib/sessions/backends/base.py",
line 152, in _get_session_key
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]    
self._session_key = self._get_new_session_key()
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]   File
"/usr/local/lib/python2.6/site-packages/django/contrib/sessions/backends/base.py",
line 144, in _get_new_session_key
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]     if not
self.exists(session_key):
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]   File
"/usr/local/lib/python2.6/site-packages/django/contrib/sessions/backends/db.py",
line 29, in exists
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]    
Session.objects.get(session_key=session_key)
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]   File
"/usr/local/lib/python2.6/site-packages/django/db/models/manager.py", line
132, in get
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]     return
self.get_query_set().get(*args, **kwargs)
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]   File
"/usr/local/lib/python2.6/site-packages/django/db/models/query.py", line
336, in get
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]     num = len(clone)
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]   File
"/usr/local/lib/python2.6/site-packages/django/db/models/query.py", line
81, in __len__
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]    
self._result_cache = list(self.iterator())
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]   File
"/usr/local/lib/python2.6/site-packages/django/db/models/query.py", line
269, in iterator
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]     for row in
compiler.results_iter():
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]   File
"/usr/local/lib/python2.6/site-packages/django/db/models/sql/compiler.py",
line 672, in results_iter
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]     for rows in
self.execute_sql(MULTI):
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]   File
"/usr/local/lib/python2.6/site-packages/django/db/models/sql/compiler.py",
line 726, in execute_sql
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]     cursor =
self.connection.cursor()
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]   File
"/usr/local/lib/python2.6/site-packages/django/db/backends/__init__.py",
line 75, in cursor
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]     cursor =
self._cursor()
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]   File
"/usr/local/lib/python2.6/site-packages/django/db/backends/mysql/base.py",
line 297, in _cursor
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]     self.connection
= Database.connect(**kwargs)
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]   File
"build/bdist.freebsd-8.2-PRERELEASE-amd64/egg/MySQLdb/__init__.py", line
81, in Connect
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]     return
Connection(*args, **kwargs)
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]   File
"build/bdist.freebsd-8.2-PRERELEASE-amd64/egg/MySQLdb/connections.py",
line 187, in __init__
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1]    
super(Connection, self).__init__(*args, **kwargs2)
[Wed Dec 15 14:28:36 2010] [error] [client 127.0.0.1] OperationalError:
(1045, "Access denied for user 'baruwa'@'localhost' (using password: NO)")

It looks it tries to not use a password for the mysql connection.

regards
Johan

_______________________________________________
Baruwa mailing list
[email protected]
http://lists.baruwa.org/mailman/listinfo/baruwa

Reply via email to