Roundup Tracker - Issues

Message1539

Author ctrengove
Recipients
Date 2004-12-01.23:26:55
Message-id
In-reply-to
Importing a database under 0.7.9 crashes during the
"commit" phase using the anydbm backend. The full
traceback is

Traceback (most recent call last):
  File"
c:\python23\lib\site-packages\roundup\scripts\roundup_admin.py",
line 41, in ?
    run()
  File
"c:\python23\lib\site-packages\roundup\scripts\roundup_admin.py",
line 38, in run
    sys.exit(tool.main())
  File
"C:\Python23\Lib\site-packages\roundup\admin.py", line
1367, in main
    if self.db: self.db.commit()
  File
"c:\python23\lib\site-packages\roundup\backends\back_anydbm.py",
line 612, in commit
    reindex[method(*args)] = 1
  File
"c:\python23\lib\site-packages\roundup\backends\back_anydbm.py",
line 711, in doSetJournal
    params = self.serialise(classname, params)
  File
"c:\python23\lib\site-packages\roundup\backends\back_anydbm.py",
line 401, in serialise
    d[k] = v.serialise()
AttributeError: 'tuple' object has no attribute 'serialise'

The problem appears to be with the handling of dates
which are already date tuples; ie. don't need to be
serialised.
History
Date User Action Args
2009-02-03 14:21:02adminlinkissue1077168 messages
2009-02-03 14:21:02admincreate