laura.c Posted September 23, 2014 Report Share Posted September 23, 2014 Hi guys, I need your support. I need to create an asset build, and I've got an error message: # Error: PermissionDeniedError: file path\ftrackplugins\libdir\ftrack\ftrackAPI\FTrackCore.egg\FTrackCore\api\xmlserver.py line 187: The status is not valid for this object # Here is the code I have written:import ftrackprjId = ftrack.getProject("Piggy Bank")typeName = "Character" t= [x for x in prjId.getAssetBuildTypes() if x.getName().lower() == typeName.lower()][0] prjId.createAssetBuild("testChar", t)Any idea would help a lot. Thanks,Laura Link to comment Share on other sites More sharing options...
Mattias Seebergs Posted September 23, 2014 Report Share Posted September 23, 2014 Hi Laura, There seems to be an issue with statuses on asset builds. To work around this, you currently have to check the first shot status defined on the schema as an asset build status as well and that is the solution for now. I've added a bug report to have this fixed in a coming release. Thanks for reporting,Mattias Link to comment Share on other sites More sharing options...
laura.c Posted October 1, 2014 Author Report Share Posted October 1, 2014 Thanks for the answer. The solution proposed works. Sorry for the late replay! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.