Roundup Tracker - Issues

Message2541

Author henryl
Recipients
Date 2008-03-26.13:19:19
Message-id
In-reply-to
Attempting to run 'roundup-admin migrate' fails for anydbm trackers, with the following exception::

Traceback (most recent call last):
  File "/home/henry/apps//lib/python2.5/site-packages/roundup/admin.py", line 1433, in run_command
    ret = function(args[1:])
  File "/home/henry/apps//lib/python2.5/site-packages/roundup/admin.py", line 1356, in do_migrate
    if getattr(self.db, 'db_version_updated'):
  File "/home/henry/apps//lib/python2.5/site-packages/roundup/backends/back_anydbm.py", line 152, in __getattr__
    raise AttributeError, classname
AttributeError: db_version_updated


The exception appears to be because db_version_updated is only set for databases inheriting from rdbms_common.Database (ie: not back_anydbm.Database). Running 'roundup-admin help migrate' suggests it isn't necessary to 'migrate' anydbm databases, but a simple fix to prevent the exception has been attached.
History
Date User Action Args
2009-02-03 14:22:15adminlinkissue1926124 messages
2009-02-03 14:22:15admincreate