-
Content Count
30 -
Joined
-
Last visited
-
Days Won
1
Henrik Cednert last won the day on December 28 2015
Henrik Cednert had the most liked content!
About Henrik Cednert
-
Rank
Advanced Member
Profile Information
-
Gender
Male
-
Location
Stockholm
-
I thought it did. But turned out that I was using an older version of the new API. uninstalled it and installed the new one. Now I get the warning but it does not fail. Cheers
-
tokejepsen reacted to a post in a topic: OSX10.11 and InsecurePlatformWarning
-
Hello On osx 10.11 I get varnings like this: /Library/Python/2.7/site-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning /Library/Python/2.7/site-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 fr
-
get the actual status of a task (...as we see them in webUI)?
Henrik Cednert replied to Henrik Cednert's topic in API
Oh... Seems like the only thing missing was another whiskey. Got it working with this... There's some poop in the code here plus the fact that I have no idea what I'm doing.. But it does what I wanted it to so that's good I guess. =) project=ftrack.getProject(projname)statuses = project.getTaskStatuses()print "Project, full name: " + str(project.getFullName()) +"\n"i = 0print "Available statuses: "for status in statuses: print str("%02d" % (i,)) + " " + str(status.getName()) i += 1print ""*2 episodeCounter = 0sequenceCounter = 0shotCounter = 0## ITEMS IN PROJECT ROOT## shots in rootshotFTList -
Hello Playing with the API but for the love of God I can't figure out how to get the status of a task. First of all, it seems to be a bit confusing what a task is and what a status is and what you see labeled as task in the webUI isn't necessarily a task in the API... So in the webUI we have: PROJECT sequences can be here in project root shots can be here in projectroot --EPISODES ----sequences ------shots After a long journey I've iterated over project, sequences and collected all sequences in one FTList and all shots in one FTList. If you look at the attached screenshot. For each sho
-
Was about to play with the new api but not sure it works as it should? Maybe it's so early that we shouldn't be able to use it? Trying with a simple script with my user which have api rights. import ftrack_apisession = ftrack_api.Session( server_url='https://youerserver.ftrackapp.com', api_key='1337-your-key', api_user='youruser')projects = session.query('Project')for project in projects: print project['name']I just get this: neo@NEO-rMBP|/Library/Python/2.7/site-packages/ftrack_api: python ~/Documents/ftrack_dev/test_connect.py /Library/Python/2.7/site-packages/requests/packages/urllib3/ut
-
If a shot is in a sequence it does not find it. You have to have them in the root of the project. How can one deal with this? We ran into this when doing a custom uploader and version updater as well. There must be some way to recursively search a project for a shot name so you can then manipulate it. Or?
-
Thanks Carl GUess that wasn't that clear to me in the tut. I still had osenviron.setdefaul() in ftrack.py. I had changed the values though to my values but not removed 'setdefault'. Now it seems to work! Will take it for a spin next time there's a batch of thumbs, manually uploaded 100 this morning. Heheheh. Thanks again
-
I had missed some steps... Now api and connect is up. But the thumbs action gives error when started. DEBUG:FTrackCore.api.event.hub.EventHub:Reconnect attempt 1 of 30 DEBUG:FTrackCore.api.event.hub.EventHub:Reconnect attempt 1 of 30 DEBUG:FTrackCore.api.event.hub.EventHub:Failed to reconnect automatically. ERROR:FTrackCore.api.event.hub.EventHub:Error sending event <Event {'topic': 'ftrack.meta.subscribe', 'source': {'id': 'f0f1e0346a8649fb9ddf54cc81f51fa0', 'user': {'username': 'filmassist04'}}, 'target': '', 'sent': None, 'data': {'subscriber': {'id': '5e26b2c337594248bb57ce4e6f6eac5c'
-
I have pretty much the same thing. In addition with a few other annoyances. =) 1. Import CSV. Wait, for a very long time. 2. Have to reload after that before I can do anything else. 3. Select all and add VFX template, here it normally error outs at first. "cannot read property insert sibbling of null" 4. Reload a few times. Add VFX template again. 5. Reload. Now I can end up with duplicates or single tasks added. A bit like the lottery. =) feels like you manually have to reload a lot to avoid odd stuffs or to get out of trouble. Have parts of this in a screenrecording if it's of any help