• Content count

  • Joined

  • Last visited

  1. Failed to connect to event hub

    All sorted now. My virtualenv had picked the Centos base version of python (2.7.5) instead of the my alternate version (2.7.14). Now I have told virtualenv to use 2.7.14 everything works as expected.
  2. Failed to connect to event hub

    Hello, Not quite sure what's happening here. I'm getting the error EventHubConnectionError: Failed to connect to event server at https://mystudio.ftrackapp.com. when I try to run an action plugin. The same code works fine from a windows machine on our network but not on this linux machine. The python environment it is running in is the same albeit on a linux box. I can ping the url in question and it connects fine so I don't think it's a firewall issue. Are there specific ports that need to be open or is there something else that would cause this error? Dan
  3. Selected type is always Task

    Ah. Ok. Cool. That makes more sense now. Thanks!
  4. Selected type is always Task

    Hello, I'm new to Ftrack and I'm trying to write an action that displays info about what is selected (type, name, id etc). Mainly this is for us developers because I couldn't see a way to see the id of an object on the web front end. The problem I'm having is that whatever I select returns task as the entityType, whether it is a task or not. If you then query the session with the correct type and the entityId, you get a result otherwise you get None. My workaround for this would be to query every type until I got a result but in order to that I need a list of object types. How can I get that? Thanks, Dan