View Issue Details

IDProjectCategoryView StatusLast Update
0016332ScribusOS-MacOSXpublic2020-11-12 20:40
Reporterdigirew Assigned Tojghali  
Status closedResolutionno change required 
Product Version1.5.6 
Summary0016332: scribus.pasteObject() no longer takes arguments
DescriptionIn 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?
TagsNo tags attached.



2020-11-12 19:43

reporter   ~0048387

Not sure what happened to my title, but its should read "scribus.pasteObject() - no longer takes arguments?"


2020-11-12 20:40

administrator   ~0048388

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.

Issue History

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