jamesr Posted October 20, 2017 Report Share Posted October 20, 2017 Hey everybody, I was wondering where/when 'FTRACK_SHOTID' and 'FTRACK_TASKID' variables get set. I'm trying to get ftrack-houdini-connect to run all the way, but I get this error There is an error in the ftrack_importAsset_panel script. Traceback (most recent call last): File "", line 1, in File "", line 9, in createInterface File "c:/Users/IE/houdini16.0/scripts/python/pythonrc.py", line 150, in showDialog dialog = FtrackImportAssetDialog(connector=connector) File "C:/Python27/Lib/site-packages/ftrack_connect-1.1.0-py2.7.egg\ftrack_connect\ui\widget\import_asset.py", line 38, in __init__ os.getenv('FTRACK_SHOTID') File "C:\Python27\lib\site-packages\ftrack_python_legacy_api-3.6.1-py2.7.egg\FTrackCore\api\ftobject.py", line 63, in __init__ raise FTrackError("Id or dict must be supplied when creating object") FTrackError: Id or dict must be supplied when creating object I'm very new to FTrack, but I think it's very close to working. I'm using the example hook from the docs to get houdini to run from connect and the browser interface. Is there anything different I should be doing? Thanks! Link to comment Share on other sites More sharing options...
tokejepsen Posted October 21, 2017 Report Share Posted October 21, 2017 Hey, You'll need to modify the application launcher: https://github.com/tokejepsen/ftrack-hooks/blob/0d882c84ff314df4ac000cd1145e4835a1e3a2a6/houdini/resource/hook/houdini.py#L176-L196 You could modify that plugin with FTRACK_SHOTID and use it. If you do, I would welcome a PR:) Link to comment Share on other sites More sharing options...
jamesr Posted October 24, 2017 Author Report Share Posted October 24, 2017 Ah great, thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.