Lorenzo Angeli

  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Lorenzo Angeli

  1. Hi @John Su, sure you can ! just extract the given script (or download it directly from here ) and drop it in a folder mapped in a FTRACK_EVENT_PLUGIN_PATH environment variable. When the session start will look into that variable to see if there's any plugin to be discovered and run. I'd suggest having one folder on a shared server folder mapped so you can simply drop events in there. Hope it helps. If you need any further help just let us know ! L.
  2. Installing and testing the api in Blender Go to the blender's python folder (blender <version>/<version>/python/bin/) Ensure pip is installed with: ./Python3.7m -m ensurepip Install the api using pip: ./pip3 install git+https://bitbucket.org/ftrack/ftrack-python-api.git@backlog/ftrack-python-api-compatibility-with-python-3 Launch Blender and open Python Console to test the api
  3. Hi @TTT there's no need to install it locally to each machine. This event can be easily hosted on a central network folder and mapped into the FTRACK_CONNECT_PLUGIN_PATH Hope it helps. L.
  4. Hi @John Su, the path is resolved through an event available in ftrack_connect itself and called resolve.py If the path is red is possible that your structure cannot be properly initialised and hence not be resolved. You can try adding more logs into the resolve.py and see if anything is off. Please send us , either here or through support (depending on how sensible the information are) and we'll look further into it. Hope it helps. Cheers. L.
  5. Lorenzo Angeli


    Download 2.2.1 What's new Fixed: Tasks are marked as duplicated if the same clip name is present on multiple tracks. Fixed: Tasks generate empty unwanted components. Changed: Replace simple EDL export with OpenTimelineIO edl export (older EDL exporter remains available). New: Thumbnails are published also to parent entity. How to install stop ftrack-connect-package remove previous nuke studio plugin from : <ftrack-connect-package>/resource/connect-standard-plugins/ download and uncompress the new version in : <ftrack-connect-package>/resource/connect-standard-plugins/ restart ftrack-connect-package´╗┐
  6. Lorenzo Angeli


    Windows Download 0.1.0 Linux Download 0.1.0 Osx Download 0.1.0 Documentation Changes since last version fixed: User settings crashes under osx and windows platform. fixed: Perforce password is not properly set. fixed: Workspaces breaks if contains spaces. new: Admin role for action gets checked against perforce roles too. new: User's workspace is created on first run if not already available. new: Init documentation. Requirement Accessible Helix Server What to expect to work Storage setup User preferences setup Publish Versioning Aim for testing Publish from any application Import/Update version through connect's asset management system Known Issues and limitations None known atm
  7. I'd like to report here , for other users which might find similar issues, the root cause which has been resolved through the internal ticketing system. Here the full reply from our developer: we are looking now on how to properly fix this for an upcoming api release.
  8. Hi @tweak-wtf sadly there's no easy way for us to replicate this issue. We'll be looking though, to improve the error logging in the api to present a more complete report. Let us know if you have any progress on this. Cheers. L.
  9. Hi @instinct-vfx, glad to hear! Please feel free to report any issue or notes about your experience with them. Cheers. L.
  10. Hi @tweak-wtf , thanks for reporting back , and good idea to raise the overall logging level ! Sadly though, I cannot see anything in the errors that would help pin point the root cause. As the error seems to be happening from within the plugin only, and not from a plain shell or plain maya, I'd suggest have the pyblishs developers involved. If you get any further information coming out from them, please feel free to report here so we can cross examine the results. As last thing , could you please check what interpreter pyblish is using adding at the beginning of your script: import sys print sys.executable In the meanwhile we'll keep looking on potential causes on our side. L.
  11. @tweak-wtf could you please try with a simple standalone python script rather than from within maya to see if you can replicate ? Thanks !
  12. Hi @tweak-wtf sorry to see you are having problems. The error seems to be coming from a wrong deserialization of the server response (json) relative to the storage scenario. This could be caused by a variety of things related to the network itself (proxy, firewall etc....) Could you please check if any of these changes have been put in place before this error have started happening ? I've trying to replicate it with you same version of the ftrack-python-api without success so far. Looking forward to hear more from you ! In the meanwhile we'll keep looking for other potential reasons. L.
  13. Hi @Jakub Trllo glad to hear you had it sorted! If you can produce a piece of code that crashes I'd like you to send it to support for further checks if you don't mind Thanks a lot, and if there's anything else we can help out with, just let us know ! L.
  14. Hi @Jakub Trllo, I've just tried the code you sent and cannot get to reproduce your issue. Here is what I've been doing and the code I've used. 1) I have manually created a note on a task from the web interface. 2) I have run the following code to add a component to the given note (please "note", that I have just one , so the query is quite simple). import ftrack_api session = ftrack_api.Session() server_location = session.query( 'Location where name is "ftrack.server"' ).one() note = session.query('Note').first() # get the only note I have in the system # Create component and name it "My file". component = session.create_component( '/path/to/an/image.png', data={'name': 'My file'}, location=server_location ) # Attach the component to the note. session.create( 'NoteComponent', {'component_id': component['id'], 'note_id': note['id']} ) session.commit() Once run this code I then run this other snippet : import ftrack_api session = ftrack_api.Session( auto_connect_event_hub=True, ) server_location = session.query( 'Location where name is "ftrack.server"' ).one() # just pretend that note with component will be queried... note = session.query('Note').first() for note_component in note['note_components']: component = note_component['component'] download_url = server_location.get_url(component) print download_url # I just print the path as the issue seems on retrieving it. When running the above code this is the result I'm getting: https://myserver.ftrackapp.com/component/get?id=d5d785dc-fdd0-4c6f-b7f9-54b3339ade81&username=myuser&apiKey=m1ap1key-m1ap1key-m1ap1key-m1ap1key-m1ap1key Hope it helps. L.
  15. Download 1.2.1 Changes: Add fbx output for geometry. Install integration as plugin: 1) remove previous plugin from either connect plugins or connect resources. 2) download the new version from the above link 2) decompress the zip in the FTRACK_CONNECT_PLUGIN_PATH 3) restart connect If there's any problem please let us know! L.
  16. Lorenzo Angeli


    Windows Download 0.0.1 Linux Download 0.0.1 Osx Download 0.0.1 Documentation Requirement Accessible Helix Server What to expect to work Storage setup User preferences setup Publish Versioning Aim for testing Publish from any application Import/Update version through connect's asset management system Known Issues and limitations None known atm
  17. Welcome to the new integration forum for the Perforce plugin! This new plugin provides a seamless integration with Perforce Helix Core in the form of a new storage scenario, allowing artists to publish and retrieve versions straight from it. The new integration is packaged as a native ftrack plugin, ready to be dropped in to place. This forum will have a new thread published for each release and provide a download link for each build. You can subscribe to this forum section to receive a notification when a new build is added. We recommend you use the latest build when available. Install To install, download the zipped file from the correct version and follow these instructions to get to the plugin folder, then decompress the zip in there. Build If you want to build from sources, clone the correct branch and run python setup.py build_plugin Bug report When reporting bugs to support, please remember to include: Log file Plugin version Connect version Any stack trace or error you are receiving.
  18. Download ftrack-connect-package 1.1.1 Windows Linux Osx What's new ? This patch version aims to provide latest and greatest api , as well as a minor (linux only) improvement to provide system launcher for connect package as well as the latest version of ftrack connect nuke studio and latest python api. Changes: ftrack-connect-nuke-studio 2.2.0 Extend context template to support episodes Support for multi-track export. Fix Hiero template parser. Nuke studio now requires a context (project) to start from ftrack-connect 1.1.7 Added button in About dialog to create a Linux desktop entry file to make Connect appear in the applications menu. ftrack-python-api 1.8.0 Event description component-removed report component-added event signature. Add new scalar type `object` to factory. Add support for list of `computed` attributes as part of schema definition. A computed attribute is derived on the server side, and can be time dependentant and differ between users. As such a computed attribute is not suitable for long term encoding and will not be encoded with the `persisted_only` stragey. The `delayed_job` method has been deprecated in favour of a direct `Session.call`. See :ref:`example/sync_with_ldap` for example usage. Private method :meth:`Session._call` has been converted to a public method, :meth:`Session.call`. The private method will continue to work, but a pending deprecation warning will be issued when used. The private method will be removed entirely in version 2.0. Event server connection error is too generic, the actual error is now reported to users. Known issue None reported atm Edited January 4 by Lorenzo Angeli update download links
  19. Lorenzo Angeli


    Download 2.2.0 What's new Change: Application requires project context to start Add: Context template update for Episodes support How to install stop ftrack-connect-package remove previous nuke studio plugin from : <ftrack-connect-package>/resource/connect-standard-plugins/ download and uncompress the new version in : <ftrack-connect-package>/resource/connect-standard-plugins/ restart ftrack-connect-package´╗┐
  20. Lorenzo Angeli


    Download 2.1.3 What's new Improve errors and bug reporting Fix EDL publisher produces multiple empty components. How to install stop ftrack-connect-package remove previous nuke studio plugin from : <ftrack-connect-package>/resource/connect-standard-plugins/ download and uncompress the new version in : <ftrack-connect-package>/resource/connect-standard-plugins/ restart ftrack-connect-package´╗┐
  21. Hi @Larissa Joos, some conventions are needed to keep data consist and simplify the logic in the applications. 3 dotted names are commonly referred to file sequences as : <prefix>.<index>.<postfix> and connect handles them as such. Would changing from dots to something different like underscores ( 1_2_3 )help in your case ? Cheers. L.
  22. Hi @Jamie Kenyon, the easier way would be to use the ftrack-python-api directly rather than the connector ones, which really have not been built for this purpose, that said though, this is some basic code you can start playing with : please also note, connector is built on top of the legacy api and not the latest ftrack-python-api , hence you might have to do some dance to convert data between one another. Is not hard, just inefficient. from ftrack_connect_maya.connector.mayaassets import SceneAsset from ftrack_connect.connector.base import FTAssetObject scene_asset = SceneAsset() iAObj = FTAssetObject( filePath=path, componentName=componentName, componentId=newComponent.getId(), assetVersionId=newftrackAssetVersion.getId() ) scene_asset.publishAsset(iAObj) Hope it helps. L.
  23. Hi @lloydwood, please note that does not have to be used in this way, you are free to model your assets hierarchy as you prefer. The above example is only to show one way of modelling a complex assets to take advantage of the various entity types we mentioned. Cheers. L.
  24. Hi @lloydwood, bear with me as I'm not really sure I'm following. You are working on a Character (asset build, type Character) named TestCharacter built off different tasks (Modeling and Rigging), and publishing the model (Asset Type: Geo) and The rig (Asset Type: Rig) as whole as main component to their relative tasks. Each one of the components published on task will be versioned separately. Seem quite correct to me as overall workflow, as this will allow to keep track of your model and your rig with their own versions. Now, let's try to play with a bigger asset and see how they could be used.... Folder: Assets AssetBuild: Bumblebee Task: Modeling Asset: Head (type: Geo) Version: 1 Component: Cables, Component: Shell Version: 2 Component: Cables, Component: Shell Asset: Arm (type: Geo) Version: 1 Component: Cables Component: Shell Task: Rig Asset: Main (type: Rig) Version: 1 Component : Main (here we rig all the assets and their components, based on the latest modeling assets and components versions) Of course, this is a way of using it, but hope it helps a bit how you can use each and every bit you can publish and version. If is not clear or is not what where you are after, just let me know! Cheers. L.
  25. Hi @Jamie Kenyon, by "ftrack menu in Maya" I suppose you mean the one on the top bar of the application. If so , here is where it gets build. With something along these lines, you should be able to add sub menus. Hope it helps ! L.