Author: justi9
Date: 2008-04-24 14:55:34 -0400 (Thu, 24 Apr 2008)
New Revision: 1976
Modified:
mgmt/notes/errors.txt
Log:
Keep track of this
Modified: mgmt/notes/errors.txt
===================================================================
--- mgmt/notes/errors.txt 2008-04-24 18:21:49 UTC (rev 1975)
+++ mgmt/notes/errors.txt 2008-04-24 18:55:34 UTC (rev 1976)
@@ -1,6 +1,3 @@
-[justin@localhost cumindev]$ cumindev-etags
-/home/justin/cumindev/cumin/python/cumin/.#model.py: No such file or directory
-
APPLICATION ERROR
----- python trace -----
@@ -32,3 +29,29 @@
File "/home/jross/mgmt/cumin/python/cumin/broker.py", line 658, in
render_group_selected_attr
if len(groups) > index and group.id == groups[index].id:
AttributeError: 'NoneType' object has no attribute 'id'
+
+When the db isn't set up:
+
+Traceback (most recent call last):
+ File "/usr/lib/python2.5/site-packages/wooly/wsgiserver.py", line 658, in
communicate
+ req.respond()
+ File "/usr/lib/python2.5/site-packages/wooly/wsgiserver.py", line 383, in
respond
+ response = self.wsgi_app(self.environ, self.start_response)
+ File "/usr/lib/python2.5/site-packages/wooly/server.py", line 45, in service
+ if not self.authorized(session):
+ File "/usr/lib/python2.5/site-packages/cumin/__init__.py", line 107, in
authorized
+ user = ConsoleUser.selectBy(name=name)[0]
+ File "/usr/lib/python2.5/site-packages/sqlobject/sresults.py", line 156, in
__getitem__
+ return list(self.clone(start=start, end=start+1))[0]
+ File "/usr/lib/python2.5/site-packages/sqlobject/sresults.py", line 162, in
__iter__
+ return iter(list(self.lazyIter()))
+ File "/usr/lib/python2.5/site-packages/sqlobject/sresults.py", line 170, in
lazyIter
+ return conn.iterSelect(self)
+ File "/usr/lib/python2.5/site-packages/sqlobject/dbconnection.py", line 399,
in iterSelect
+ return select.IterationClass(self, self.getConnection(),
+ File "/usr/lib/python2.5/site-packages/sqlobject/dbconnection.py", line 264,
in getConnection
+ conn = self.makeConnection()
+ File "/usr/lib/python2.5/site-packages/sqlobject/postgres/pgconnection.py",
line 115, in makeConnection
+ raise self.module.OperationalError("%s; used connection string %r" % (e,
self.dsn))
+OperationalError: FATAL: Ident authentication failed for user "cumin"
+; used connection string 'dbname=cumin user=cumin host=localhost'
Show replies by date