abhilekhsingh / gc3pie

Automatically exported from code.google.com/p/gc3pie
0 stars 0 forks source link

gtsub_control.py: spurious newlines in output #407

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The DEBUG level log of `gtsub_control` shows lines like these:

    gc3.gc3utils: DEBUG: Added task 'GTSC_nS7_Nc42_7_1
    _2
    ' to session.

This shows that a newline is embedded in the task name (after `_1` and
`_2`), probably as a result of improper input line parsing.

Original issue reported on code.google.com by riccardo.murri@gmail.com on 24 Jul 2013 at 3:56

GoogleCodeExporter commented 9 years ago
This is actually more obnoxious than it seemed at first: since the task name is 
used to create the download directory, it results in local files being created 
with a newline embedded in the name.

Raising priority, it should be fixed ASAP.

Original comment by riccardo.murri@gmail.com on 24 Jul 2013 at 4:25

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r3643.

Original comment by tyanko.a...@gmail.com on 24 Jul 2013 at 4:55

GoogleCodeExporter commented 9 years ago
The strip() method was missing for the 'beg' and 'end' output directory 
formatting strings.

Original comment by tyanko.a...@gmail.com on 24 Jul 2013 at 4:57