Roundup Tracker - Issues

Issue 964457

classification
backend_anydbm.py import fails at doSetJounral
Type: Severity: normal
Components: Command-line interface Versions:
process
Status: closed fixed
:
: richard : bostrick, kent_turbo, richard
Priority: normal :

Created on 2004-06-01 18:32 by bostrick, last changed 2004-06-03 14:57 by kent_turbo.

Messages
msg1283 Author: [hidden] (bostrick) Date: 2004-06-01 18:32
Using roundup 0.7.3 w/ patch from bug 964450 applied, 
get the following errors:

[root@bowe root]# roundup-admin -i /var/lib/roundup/rha
import roundup-rha-bak.31May04
setting keyword 10
setting issue 17
setting file 3
setting status 9
setting priority 6
setting user 8
setting msg 20
setting query 7
Traceback (most recent call last):
  File "/usr/bin/roundup-admin", line 6, in ?
    run()
  File
"/usr/lib/python2.3/site-packages/roundup/scripts/roundup_admin.py",
line 38, in run
    sys.exit(tool.main())
  File
"/usr/lib/python2.3/site-packages/roundup/admin.py",
line 1375, in main
    if self.db: self.db.commit()
  File
"/usr/lib/python2.3/site-packages/roundup/backends/back_anydbm.py",
line 611, in commit
    reindex[method(*args)] = 1
  File
"/usr/lib/python2.3/site-packages/roundup/backends/back_anydbm.py",
line 713, in doSetJournal
    db[nodeid] = marshal.dumps(l)
ValueError: unmarshallable object


don't know enough to be much help yet...


(should back_anydbm be used if bsddb is backend type?  
couldn't find a complementory soSetJounral in 
back_bsddb.py and friends, so assume anydbm is acting as
a superclass of sorts...)
msg1284 Author: [hidden] (kent_turbo) Date: 2004-06-03 14:57
Logged In: YES 
user_id=714555

since python includes nice pickle module for ages, use of
marshal module seems a bit strange to me. I have hacked
back_anydbm.py with s/marshal/pickle/ and it works yet, and
serialise() code may be unnessesary this way.
History
Date User Action Args
2004-06-01 18:32:39bostrickcreate