Jump to content

Henrik Cednert

  • Content Count

  • Joined

  • Last visited

  • Days Won


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
  • Location
  1. 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
  2. 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
  3. 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
  4. 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
  5. Henrik Cednert

    new ftrack_api

    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
  6. 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?
  7. My thought was more that this shouldn't be an action. THis function of importing thumbs should be a base thing in a vanilla ftrack. =)
  8. Hi again. Worked like a charm now. Saves me tons of time. This should REALLY REALLY REALLY REALLY be a part of the regular import function in ftrack. =)
  9. 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
  10. I installed the api the day or two days after 3.1 rel. When downloading it it was for the proper version but can't find any version strings anywhere in the api s
  11. Hello Starting the API as the tutorial says works. Importing into pyton after that doesn't though. Can't figure out how to upload an image here so will link to dropox... https://www.dropbox.com/s/hwhjb2r7hqr5xjj/Screenshot_2015-07-07_16.00.13.png
  12. 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'
  13. Looks like I'm not man enough to get that up and running. =) I have connect up and running but when running the py from terminal I'm hit with an error. Traceback (most recent call last): File "batch_upload_thumbnails_action.py", line 10, in <module> import ftrackImportError: No module named ftrack
  14. Are we there yet? Not that funny to manually import 100ds of thumbs. =/
  15. 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
  • Create New...