Roundup Tracker - Issues

Message1989

Author anonymous
Recipients
Date 2005-07-15.00:35:52
Message-id
In-reply-to
After my export failed, I looked around where the error
occured, back_anydbm.py line 2031:

   2022                         # make sure the params
are eval()'able
   2023                         if value is None:
   2024                             # don't export empties
   2025                             continue
   2026                         elif isinstance(prop,
hyperdb.Date):
   2027                             # this is a hack -
some dates are stored as strings
   2028                             if not
isinstance(value, type('')):
   2029                                 value =
value.get_tuple()
   2030                         elif isinstance(prop,
hyperdb.Interval):
   2031                             value =
value.get_tuple()
   2032                         elif isinstance(prop,
hyperdb.Password):
   2033                             value = str(value)
   2034                         export_data[propname] =
value

The problem was that one of the intervals that were
trying to export was stored as a string too apparently.
There were 3 such of these in my tracker and i have
maybe a dozen or so total intervals. I got around it by
copying lines 2027-2028 to after line 2030

This was from 0.8.3 on winXP with Python 2.4.1 build
245 (activestate)

- scottopoly at gmail dot com
History
Date User Action Args
2009-02-03 14:21:24adminlinkissue1238571 messages
2009-02-03 14:21:24admincreate