Re: Test changing the backend / export - import

Ralf Schlatterbeck <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
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.