[PEAK] bulletins example OF DOOM
Stephen Waterbury
golux at comcast.net
Fri Apr 9 19:09:17 EDT 2004
Continuing the saga ... there seems to be some problem with
the SQL types, but I couldn't track this one down (I guess
something to do with the note in HISTORY about a change to
the way SQL connection objects get their type converters?).
[waterbug at bigboote bulletins]$ peak runIni bulletins showusers
User Name
------------ -----------------------------------
Traceback (most recent call last):
File "/usr/local/bin/peak", line 4, in ?
commands.runMain( commands.Bootstrap )
File "/usr/local/lib/python2.3/site-packages/peak/running/commands.py", line 70, in runMain
result = factory().run()
File "/home/waterbug/sandbox/PEAKsb/bulletins/src/bulletins/commands.py", line 48, in run
for user in self.Users.getAll():
File "/home/waterbug/sandbox/PEAKsb/bulletins/src/bulletins/storage.py", line 72, in getAll
return [self.preloadState(row.loginId, self.stateFromRow(row))
File "/usr/local/lib/python2.3/site-packages/peak/storage/SQL.py", line 184, in __iter__
converter = self.conn.getRowConverter(descr,mkTuple)
File "/usr/local/lib/python2.3/site-packages/peak/storage/SQL.py", line 291, in getRowConverter
typeMap = self.typeMap
File "C:\cygwin\home\pje\PEAK\src/peak/binding/_once.pyx", line 112, in _once.BaseDescriptor.__get__
File "C:\cygwin\home\pje\PEAK\src/peak/binding/_once.pyx", line 100, in _once.__get__
File "/usr/local/lib/python2.3/site-packages/peak/binding/once.py", line 498, in <lambda>
f = lambda s,d,a: func(s)
File "/usr/local/lib/python2.3/site-packages/peak/storage/SQL.py", line 354, in typeMap
for v in getattr(api,k).values:
AttributeError: 'module' object has no attribute 'DATE'
Segmentation fault
More information about the PEAK
mailing list