Search the Community

Showing results for tags 'ftrack_api'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Company news
    • General announcements
  • ftrack Studio (main app)
    • General discussion
    • Feature requests
    • API
    • Help
    • Actions and Widgets
    • ftrack Go
  • Connect (plugins)
    • General discussion
    • Releases
    • Feature requests
    • Help
  • Reviews
    • General discussion
    • Feature requests
    • Help
  • Advisory Forum
  • Tech preview
    • New integrations
    • Studio overview
    • ftrack Review
  • Jobs board
    • Job listings

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 3 results

  1. Hey there, we are trying to add managers programatically when a corresponding field was altered. We tried this: project = ftrack.getProject('dev_tutorial') user = ftrack.User('username') managerType = ftrack.ManagerType('Supervisor') # Add the user as a supervisor on the dev_tutorial project. manager = project.createManager(user, managerType) (taking a correct project, user and managerType) ..which is described here. But sadly this didn't work. what do we have to do to create these managers via the new api, since 'Manager' is not a known type? Generally: it helps a lot going through the migration notes and code-snippets to get hints on how to use the new api, but every now and then, we stumble on something, that can not be found. Is there a common way to find out usages? EDIT: Some addition information: This is the line that crashes: manager = project.createManager(userToUse, managerType) the resulting log gives us: 2018-01-09 10:20:00,404 - ftrack_api.event.hub.EventHub - ERROR - Error calling subscriber <Subscriber metadata={'id': '619a63bab1c443d09f4d982926e36196'} subscription="topic=ftrack.update"> for event <Event {'topic': u'ftrack.update', 'source': {u'applicationId': u'ftrack.client.web', u'user': {u'username': u'TEdelmann', u'id': u'75b59aae-e1bb-11e7-ad88-7ab7a47c9dda'}, u'id': u'b85b77aa-f51d-11e7-92c6-7ab7a47c9dda'}, 'target': u'', 'data': {u'entities': [{u'keys': [u'Briefing_Team_01_TandemProducer_EUsers'], u'objectTypeId': u'show', u'entityType': u'show', u'parents': [{u'entityId': u'108157f2-e3d9-11e7-9067-7ab7a47c9dda', u'entityType': u'show', u'parentId': None}], u'parentId': None, u'action': u'update', u'entityId': u'108157f2-e3d9-11e7-9067-7ab7a47c9dda', u'changes': {u'Briefing_Team_01_TandemProducer_EUsers': {u'new': u'Daniel Brylka', u'old': u'Daniel Schindler'}}}], u'pushToken': u'b91a65ca-f51d-11e7-b15d-7ab7a47c9dda', u'parents': [u'108157f2-e3d9-11e7-9067-7ab7a47c9dda'], u'user': {u'userid': u'75b59aae-e1bb-11e7-ad88-7ab7a47c9dda', u'name': u'Tim Edelmann'}, u'clientToken': u'b85b77aa-f51d-11e7-92c6-7ab7a47c9dda'}, 'in_reply_to_event': None, 'id': u'5e7358c282f448729f42a0d342bdd3d3', 'sent': None}>. Traceback (most recent call last): File "c:\python27\lib\site-packages\ftrack_python_api-1.3.3-py2.7.egg\ftrack_api\event\hub.py", line 693, in _handle response = subscriber.callback(event) File "C:\git\Actions\AttributeChangedHandler.py", line 58, in launch manager = project.createManager(userToUse, managerType) File "c:\dev\fcp\ftrack-connect-package\.eggs\ftrack_python_legacy_api-3.6.2-py2.7.egg\FTrackCore\api\client.py", line 232, in createManager response = xmlServer.action('create', data) File "c:\dev\fcp\ftrack-connect-package\.eggs\ftrack_python_legacy_api-3.6.2-py2.7.egg\FTrackCore\api\xmlserver.py", line 300, in action response = function(data) File "c:\Python27\lib\xmlrpclib.py", line 1243, in __call__ return self.__send(self.__name, args) File "c:\Python27\lib\xmlrpclib.py", line 1596, in __request allow_none=self.__allow_none) File "c:\Python27\lib\xmlrpclib.py", line 1094, in dumps data = m.dumps(params) File "c:\Python27\lib\xmlrpclib.py", line 638, in dumps dump(v, write) File "c:\Python27\lib\xmlrpclib.py", line 660, in __dump f(self, value, write) File "c:\Python27\lib\xmlrpclib.py", line 741, in dump_struct dump(v, write) File "c:\Python27\lib\xmlrpclib.py", line 660, in __dump f(self, value, write) File "c:\Python27\lib\xmlrpclib.py", line 762, in dump_instance self.dump_struct(value.__dict__, write) File "c:\Python27\lib\xmlrpclib.py", line 741, in dump_struct dump(v, write) File "c:\Python27\lib\xmlrpclib.py", line 660, in __dump f(self, value, write) File "c:\Python27\lib\xmlrpclib.py", line 762, in dump_instance self.dump_struct(value.__dict__, write) File "c:\Python27\lib\xmlrpclib.py", line 741, in dump_struct dump(v, write) File "c:\Python27\lib\xmlrpclib.py", line 660, in __dump f(self, value, write) File "c:\Python27\lib\xmlrpclib.py", line 762, in dump_instance self.dump_struct(value.__dict__, write) File "c:\Python27\lib\xmlrpclib.py", line 741, in dump_struct dump(v, write) File "c:\Python27\lib\xmlrpclib.py", line 660, in __dump f(self, value, write) File "c:\Python27\lib\xmlrpclib.py", line 762, in dump_instance self.dump_struct(value.__dict__, write) File "c:\Python27\lib\xmlrpclib.py", line 741, in dump_struct dump(v, write) File "c:\Python27\lib\xmlrpclib.py", line 660, in __dump f(self, value, write) File "c:\Python27\lib\xmlrpclib.py", line 719, in dump_array dump(v, write) File "c:\Python27\lib\xmlrpclib.py", line 660, in __dump f(self, value, write) File "c:\Python27\lib\xmlrpclib.py", line 762, in dump_instance self.dump_struct(value.__dict__, write) File "c:\Python27\lib\xmlrpclib.py", line 741, in dump_struct dump(v, write) File "c:\Python27\lib\xmlrpclib.py", line 652, in __dump raise TypeError, "cannot marshal %s objects" % type(value) TypeError: cannot marshal <type 'file'> objects Hope, someone has an idea!? Thanks in advance! Tim
  2. natasha

    Custom Action Feedback

    I have written a custom action to upload a reference movie clip to a shot in ftrack. Once the action is launched, it creates a movie from images on disk and then uploads this movie as an attachment to the shot. After the action is launched, the movie creation and upload runs asynchronously. What's the best way to give feedback to the user regarding the asynchronous processes? I can output messages to the terminal, but an artist may not look at their terminal or even have it open. How can I do I give feedback in the ftrack web UI? Thanks, Natasha
  3. agaida

    Getting Started With ftrack_api

    Hello everybody, fellow ftrackers. I am having trouble doing the simplest thing on my ftrack server: accessing the session through ftrack_api. session = ftrack_api.Session( server_url='ftrack_server', api_key='1337-key', api_user='ftrack_username' ) All my keyword arguments are correct, however, I keep getting the same bullshit: No handlers could be found for logger "ftrack_api.session.Session" Traceback (most recent call last): File "D:/Work/Python/ftrack.py", line 11, in <module> api_user='ftrack_username' File "C:\Python27\lib\site-packages\ftrack_api\session.py", line 213, in __init__ self._server_information = self._fetch_server_information() File "C:\Python27\lib\site-packages\ftrack_api\session.py", line 1235, in _fetch_server_information result = self._call([{'action': 'query_server_information'}]) File "C:\Python27\lib\site-packages\ftrack_api\session.py", line 1519, in _call raise ftrack_api.exception.ServerError(error_message) ftrack_api.exception.ServerError: <exception str() failed> Someone please explain to me the ServerError issue. I am doing a trial version of Ftrack to keep myself up to speed on this app, but I am doing something wrong. Thanks guys!