View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0016332 | Scribus | OS-MacOSX | public | 2020-11-12 19:37 | 2020-11-12 20:40 |
Reporter | digirew | Assigned To | jghali | ||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | closed | Resolution | no change required | ||
Product Version | 1.5.6 | ||||
Summary | 0016332: scribus.pasteObject() no longer takes arguments | ||||
Description | In Scribus 1.5.6svn r24102 I would use for example: scribus.pasteObject(frame) In Scribus 1.5.6 I now get an error "TypeError: pasteObject() takes no arguments (1 given) ----- Is this how 1.5.6 + will work? or was something broken? | ||||
Tags | No tags attached. | ||||
Patch | No | ||||
|
Not sure what happened to my title, but its should read "scribus.pasteObject() - no longer takes arguments?" |
|
Yes, this is how 1.5.6+ will work, that argument was in fact never used. In 1.5.6 pasteObject() was also deprecated, in new code pasteObjects() should be used instead. Note that pasteObjects() now returns a list of strings containing new item names while pasteObject() was returning a comma separated string. |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-11-12 19:37 | digirew | New Issue | |
2020-11-12 19:43 | digirew | Note Added: 0048387 | |
2020-11-12 20:36 | jghali | Summary | scribus.pasteObject() - no longer => scribus.pasteObject() no longer takes arguments |
2020-11-12 20:40 | jghali | Assigned To | => jghali |
2020-11-12 20:40 | jghali | Status | new => resolved |
2020-11-12 20:40 | jghali | Resolution | open => no change required |
2020-11-12 20:40 | jghali | Note Added: 0048388 | |
2020-11-12 20:40 | jghali | Status | resolved => closed |