View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0012804 | Scribus | Scripter | public | 2014-11-04 05:06 | 2014-11-04 05:06 |
| Reporter | cyc.ttn | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | new | Resolution | open | ||
| Platform | Mac | OS | X | OS Version | 10.10 (Yosemite) |
| Product Version | 1.4.4 | ||||
| Summary | 0012804: importcsv2table Script fails on certain csv files | ||||
| Description | When a CSV file exported by Excel does not have quotes (e.g., they are numbers only) it seems to fail. I get the message: Could not open file new-line character seen in unquoted field - do you need to open the file in universal-newline mode? I fixed it temporarily for myself by changing: reader = csv.reader(file(csvfile)) to reader = csv.reader(open(csvfile, 'rU')) on line 105, but haven't tested it on a variety of files (just the one file I am working on, though I can't determine where to expect an error from). | ||||
| Tags | No tags attached. | ||||
| Patch | No | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2014-11-04 05:06 | cyc.ttn | New Issue |