Roundup Tracker - Issues

Issue 1163890

classification
export demo, import demo2 fails
Type: Severity: normal
Components: None Versions:
process
Status: closed works for me
:
: jpend : hfoffani, jpend
Priority: normal :

Created on 2005-03-15 17:04 by hfoffani, last changed 2007-08-29 16:59 by jpend.

Messages
msg1906 Author: [hidden] (hfoffani) Date: 2005-03-15 17:04
I was trying to learn how  to export and import tracker 
database data.
First created and after that I exported a demo tracker.
When I tried to import the data to a new tracker it fails:

D:\roundup\trackers>d:\APPS\Python23 
\Scripts\roundup-admin import d:\temp\expdem
o
Enter tracker home: demo2
Traceback (most recent call last):
  File "d:\APPS\Python23\Lib\site-
packages\roundup\admin.py", line 1317, in run_
command
    ret = function(args[1:])
  File "d:\APPS\Python23\Lib\site-
packages\roundup\admin.py", line 1132, in do_i
mport
    nodeid = int(cl.import_list(file_props, r))
  File "d:\APPS\Python23\Lib\site-
packages\roundup\backends\back_anydbm.py", lin
e 1968, in import_list
    value = eval(proplist[i])
IndexError: list index out of range

D:\roundup\trackers>

demo2 tracker is a copy of the demo tracker with the 
web entry in config.ini changed.
Before importing I cleanup all the demo2\db directory but 
the backend_name file.

Regards,
-HernĂ¡n.
msg1907 Author: [hidden] (hfoffani) Date: 2005-03-17 17:57
Logged In: YES 
user_id=112690

Taking out universal newline support in the import mechanism 
(ie delete the U in admin.py:1122 and admin.py:1140) solves 
the problem.
I didn't investigate too much but apparently it's related to
http://tinyurl.com/5jah8
msg1908 Author: [hidden] (hfoffani) Date: 2005-03-17 17:58
Logged In: YES 
user_id=112690

Sorry. I didn't mention the first time.
I'm running Roundup under Windows 2000.
msg1909 Author: [hidden] (jpend) Date: 2007-08-29 16:59
This works for me with roundup 1.3.3 and python 2.5. Apparently the CSV module has been fixed since this was filed. Closing.
History
Date User Action Args
2005-03-15 17:04:48hfoffanicreate