Re: Test changing the backend / export - import

SCHLEMMER Norbert <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
Please find below the first lines of issues.csv

activity:actor:assignedto:creation:creator:files:id:keyword:messages:nosy:priority:status:superseder:title:is retired

(2004, 2, 9, 12, 20, 49.0, 0, 0, 0):None:'3':(2004, 2, 4, 9, 3, 43.0, 0, 0, 0):'4':[]:'1':['5']:['1', '27', '69', '99', '102']:['3', '4']:'3':'8':[]:'TMCS configuration file (cnf -> ini)':False

(2004, 2, 13, 10, 50, 35.0, 0, 0, 0):None:'5':(2004, 2, 4, 9, 6, 41.0, 0, 0, 0):'4':[]:'2':['4']:['2', '131']:['4', '5']:'3':'8':[]:'Radio interface parameter (BGT UIF main/standby)':False

(2004, 3, 1, 13, 5, 20.0, 0, 0, 0):None:'3':(2004, 2, 4, 9, 14, 41.0, 0, 0, 0):'4':[]:'3':['4']:['3', '135', '164', '179', '190', '305', '331', '337', '429']:['3', '4']:'3':'8':[]:"'Log book PARAM MAN: add vipif connection name'":False

(2004, 9, 20, 13, 47, 44.0, 0, 0, 0):None:'3':(2004, 2, 4, 9, 41, 17.0, 0, 0, 0):'3':[]:'4':['6']:['4', '7', '34', '54', '56']:['3']:'4':'8':[]:'Version 8.82':False


Have opened a ticket at turnkeylinux to upgrade the image to the latest roundup version.

br
Norbert

-----Ursprüngliche Nachricht-----
Von: Ralf Schlatterbeck [mailto:[email protected]] 
Gesendet: Mittwoch, 03. November 2021 13:49
An: SCHLEMMER Norbert <[email protected]>
Cc: [email protected]
Betreff: Re: [Roundup-users] Test changing the backend / export - import

*EXTERNAL source*


On Wed, Nov 03, 2021 at 12:14:26PM +0000, SCHLEMMER Norbert wrote:
> The "exporting" roundup is running 2.1.0
>
> The "importing" roundup is on 2.0.0
> https://www.turnkeylinux.org/updates/new-turnkey-roundup-version-161

OK, I'd never import something from a *newer* version.

> List of dump directory:
[this hasn't changed much, so the directory listing does not help] It would be interesting what you find in, e.g. issue.csv as the first line. It should have all the properties *including* id.

> The error
> >     newid = eval_import(proplist[propnames.index("id")])
> > IndexError: list index out of range
> is based on which file ?

As indicated in newer versions that code is at:
rdbms_common.py line 3153

The Traceback you cited also shows that (with a different line-number because of a different version of roundup):
...
  File "/usr/local/lib/python3.7/dist-packages/roundup/backends/rdbms_common.py", line 3034, in import_list
    newid = eval_import(proplist[propnames.index("id")])

Ralf
--
Dr. Ralf Schlatterbeck                  Tel:   +43/2243/26465-16
Open Source Consulting                  www:   www.runtux.com
Reichergasse 131, A-3411 Weidling       email: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.