Re: Should roundup export be importable by any new roundup import?

Ralf Schlatterbeck <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
On Tue, Jun 01, 2021 at 11:58:19AM -0400, John P. Rouillard wrote:
> Hi everybody:
> 
> On IRC I have a user who tried to import a roundup 1.4 export with
> roundup 2.0.0 import. It failed, something about 804L not being
> valid.

Is the export with python2 and the import with python3?

The 804L looks like a "long" type number in python2 which is no longer
available in python3:

Python3:
>>> 804L
  File "<stdin>", line 1
    804L
       ^
SyntaxError: invalid syntax

Python2:
>>> 804L
804L

So I'd suggest to import with python2 and the proceed to use the
resulting database with python3.

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.