[issue2551166] Cross-Platform Imports do not work

Norbert Schlemmer <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.devel
Message-ID <[email protected]>
New submission from Norbert Schlemmer:

The attached status.csv file is part of an export done with Roundup 2.1.0 running under Windows. Such a dump can not be imported by Roundup running under Linux.

Analysed by Ralf Schlatterbeck:
Every line in your status.csv is terminated by *two* carriage returns and *one* linefeed. This is a variant of Microsoft windows newline conventions with another carriage return.
I don't know where the additional CR comes from.
So I guess the export/import should use the 'universal newline' feature of python to be able to read exports from windows. I guess nobody has ever tested if cross-platform export/import works.
The additional carriage return is probably ignored when evaluating the last column (which always contains the 'is retired' flag in all exports I've seen over the years).

----------
components: Command-line interface
files: status.csv
messages: 7352
nosy: noschvie
severity: urgent
status: new
title: Cross-Platform Imports do not work
versions: 2.1.0

_________________________________________________
Roundup tracker <[email protected]>
<https://issues.roundup-tracker.org/issue2551166>
_________________________________________________
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.