Message1139
Logged In: YES
user_id=1004574
I'm having the same problem:
* roundup 0.6.7
* python 2.2.1
* Sun Java Desktop System (based on SuSE 8.1)
Using the demo instance I get the following trackback (including as an
attachment too):
KeyError: OlzprIFFW5P6ATmJ5vkiZdHC6U95Zgd
Python 2.2.1
/usr/bin/python
A problem occurred while running a Python script. Here is the sequence
of function calls leading up to the error, with the most recent (innermost)
call first. The exception attributes are:
__doc__ = 'Mapping key not found.'
__getitem__ = <bound method KeyError.__getitem__ of
<exceptions.KeyError instance at 0x8434f24>>
__init__ = <bound method KeyError.__init__ of
<exceptions.KeyError instance at 0x8434f24>>
__module__ = 'exceptions'
__str__ = <bound method KeyError.__str__ of <exceptions.KeyError
instance at 0x8434f24>>
args = ('OlzprIFFW5P6ATmJ5vkiZdHC6U95Zgd',)
/home2/mick/src/misc/roundup-0.6.7/roundup/backends/sessions.py in
getall(self=<roundup.backends.sessions.OneTimeKeys instance>,
infoid='OlzprIFFW5P6ATmJ5vkiZdHC6U95Zgd')
63 return marshal.loads(db[infoid])
64 finally:
65 db.close()
db = <dbm.dbm object>, global close = undefined
66
67 def set(self, infoid, **newvalues):
/home2/mick/src/misc/roundup-0.6.7/roundup/cgi/client.py in
confRegoAction(self=<_roundup_tracker_1.interfaces.Client instance>)
867 # pull the rego information out of the otk database
868 otk = self.form['otk'].value
869 props = self.db.otks.getall(otk)
props = undefined, self = <_roundup_tracker_1.interfaces.Client
instance>, global db = undefined, global otks = undefined, global
getall = undefined, otk = 'OlzprIFFW5P6ATmJ5vkiZdHC6U95Zgd'
870 for propname, proptype in self.db.user.getprops().items():
871 value = props.get(propname, None)
/home2/mick/src/misc/roundup-0.6.7/roundup/cgi/client.py in
handle_action(self=<_roundup_tracker_1.interfaces.Client instance>)
587 raise ValueError, 'No such action "%s"'%action
588 # call the mapped action
589 return getattr(self, method)()
global getattr = undefined, self =
<_roundup_tracker_1.interfaces.Client instance>, method =
'confRegoAction'
590 except Redirect:
591 raise
/home2/mick/src/misc/roundup-0.6.7/roundup/cgi/client.py in
inner_main(self=<_roundup_tracker_1.interfaces.Client instance>)
309 except:
310 # everything else
311 self.write(cgitb.html())
self = <_roundup_tracker_1.interfaces.Client instance>, global
write = undefined, global cgitb = <module 'roundup.cgi.cgitb' from
'roundup/cgi/cgitb.pyc'>, html = undefined
312
313 def clean_sessions(self):
Running the unit tests yields a single failure:
$ ./run_tests
running sqlite backend tests
...................................................................................................
...E..............................................................................................
..........
=============================================
=========================
ERROR: testExceptions (test.test_db.anydbmDBTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test/test_db.py", line 446, in testExceptions
ar(IndexError, self.db.issue.set, '99', title='foo')
File "/usr/lib/python2.2/unittest.py", line 273, in failUnlessRaises
apply(callableObj, args, kwargs)
File "./roundup/backends/back_anydbm.py", line 1148, in set
oldvalues = copy.deepcopy(self.db.getnode(self.classname, nodeid))
File "./roundup/backends/back_anydbm.py", line 303, in getnode
db = self.getclassdb(classname)
File "./roundup/backends/back_anydbm.py", line 170, in getclassdb
return self.opendb('nodes.%s'%classname, mode)
File "./roundup/backends/back_anydbm.py", line 201, in opendb
return anydbm.open(path, 'c')
File "/usr/lib/python2.2/anydbm.py", line 86, in open
return mod.open(file, flag, mode)
error: (11, 'Resource temporarily unavailable')
----------------------------------------------------------------------
Ran 207 tests in 178.654s
FAILED (errors=1)
As an aside to this, how easy is it to disable the registration confirmation
entirely? This roundup instance is for internal use so the confirmation
isn't really needed.
|
|
Date |
User |
Action |
Args |
2009-02-03 14:20:37 | admin | link | issue906247 messages |
2009-02-03 14:20:37 | admin | create | |
|