State:Closed|icon_bug|database:public|icon_mari|Resolution:Fixed|TargetRelease:4.7v5|BugID:491883|
Problem summary
mari.ShelfItem.saveAs() does not export Shelf items
Customer reported version
Mari 4.7v2
Customer reported platform
CentOS 7
Steps to reproduce
1) Open any Project
2) Run the following script in the Python Console, replacing <FOLDER PATH> with the path to an empty folder:
folder = '<FOLDER PATH>'
shelf = mari.shelves.find('Basic Brushes')
for item in shelf.list():
print item.name()
itemFilePath = os.path.join(folder, '{itemName}.msi'.format(itemName=item.name()))
item.saveAs(itemFilePath)
3) Check the folderWe're sorry to hear that
Please tell us why