View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0015515 | Scribus | Scripter | public | 2018-12-17 19:59 | 2020-03-31 10:15 |
Reporter | ale | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 1.5.5.svn | ||||
Summary | 0015515: scripter API. cannot create new pages when there are multiple masterpages | ||||
Description | if there is only one master page (the default for for a single layouted page) there is no problem. if there are multiple master pages (the default for a double layouted page) the scripter crashes with the error Traceback (most recent call last): File "<string>", line 8, in <module> File "/tmp/t/lot_forum/jpg-album.py", line 59, in <module> scribus.newPage(-1) IndexError: Given master page name does not match any existing. scribus should behave in the same way as it does when one adds a page in the GUI and use the "default" left and right master pages. | ||||
Tags | No tags attached. | ||||
Patch | No | ||||
|
it also seems to be impossible to know what the left and right master pages are. using the indexes in the list won't work, since french and english have different alphabetical order. |
|
Unable to reproduce, works here. |
|
ok, got where the problem comes from... create a double sided file with a "french" scirbus. open it with an english scribus get a script to create a page and boom : - ) one more time: scribus should not expose its internal values to the user... not for the colors, not for the item names, not for the master pages... (ps:: not for everything that gets translated!) |
|
jean, could you replicate? |
|
I have not tried again yet. |
|
Thanks |
Date Modified | Username | Field | Change |
---|---|---|---|
2018-12-17 19:59 | ale | New Issue | |
2018-12-17 20:00 | ale | Note Added: 0045724 | |
2018-12-17 20:25 | jghali | Note Added: 0045725 | |
2018-12-17 20:56 | ale | Note Added: 0045726 | |
2018-12-17 20:57 | ale | Note Edited: 0045726 | |
2018-12-17 21:02 | ale | Note Edited: 0045726 | |
2018-12-19 13:17 | ale | Note Added: 0045727 | |
2018-12-19 14:08 | jghali | Note Added: 0045728 | |
2020-03-31 10:15 | alexwriter | File Added: bug.pdf | |
2020-03-31 10:15 | alexwriter | Note Added: 0047484 |