View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010140 | Scribus | Scripter | public | 2011-07-21 05:20 | 2011-07-21 09:12 |
Reporter | tak101 | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | Windows | OS | Vista | OS Version | 6.0 |
Product Version | 1.4.0svn | ||||
Summary | 0010140: csv scripting problem | ||||
Description | Using Python 2.7.1 there are some problems with csv scripting. As this version is no longer supported, I like to know whether an update to python version 3 is planned | ||||
Steps To Reproduce | when reading a csv file with a field delimiter within a quoted field, two fields are read. for instance, a csv-file with the following content: "a;e";b;c 1:2;3 called with reader = csv.reader(file(csvfile), delimiter=';', quotechar='"') produces 4 field for the first line in stead of 3. This is a python problem, but may be solved in python 3. So I really don't know where to report this. | ||||
Tags | No tags attached. | ||||
Patch | |||||
|
basically: scribus should use the most common version of python... on linux it's using the version the packagers choose... on windows it's the version jean chooses... still, i wonder how well the scripter behaves with python 3... at least the current scripter shouldn't have any problem with any version of python, since there is almost no python code in there... current scripts may break, but most scripts are so simple that it should not be hard to fix them! the scripter 2 -- which will be added to scribus 1.5 -- will need more testing, since most of it is written in python. abstract: just try to compile scribus with python 3 and it will probably work... |
|
> at least the current scripter shouldn't have any problem with any version of python, since there is almost no python code in there... False, scripter heavily depends on python internals and massively use python C api. >> abstract: just try to compile scribus with python 3 and it will probably work... No, that would just be miraculous. |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-07-21 05:20 | tak101 | New Issue | |
2011-07-21 08:30 | jghali | Summary | cvs scripting problem => csv scripting problem |
2011-07-21 08:30 | jghali | Description Updated | |
2011-07-21 09:04 | ale | Note Added: 0026621 | |
2011-07-21 09:06 | jghali | Steps to Reproduce Updated | |
2011-07-21 09:12 | jghali | Note Added: 0026622 |