Copy Function

Description

Environment

None

Activity

Show:
Chris Bare
August 12, 2016, 6:56 PM
Thomas Yu
April 7, 2016, 11:17 PM

Issue with wiki of folders/files
Traceback (most recent call last):
File "scripts/input_to_staging.py", line 133, in <module>
synu.copy(syn, i,center_staging_synIDs[center],replace=True)
File "/Users/thomasyu/sage_projects/synapsePythonClient/synapseutils/copy.py", line 36, in copy
newWikig = copyWiki(syn, oldEnt, mapping[oldEnt], entitySubPageId=entitySubPageId, destinationSubPageId=destinationSubPageId, updateLinks=updateLinks, updateSynIds=updateSynIds, entityMap=mapping)
File "/Users/thomasyu/sage_projects/synapsePythonClient/synapseutils/copy.py", line 336, in copyWiki
wNew = Wiki(owner=newOwn, title=wiki.title, markdown=wiki.markdown, attachments=attachments, parentWikiId=destinationSubPageId)
AttributeError: 'Wiki' object has no attribute 'title'

Fixed

Assignee

Thomas Yu

Reporter

Thomas Yu

Labels

None

Validator

Phil Snyder

Development Area

None

Release Version History

None

Slack Channel

None

Fix versions

Priority

Critical