Jump to content

Getting Started With ftrack_api


agaida

Recommended Posts

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!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...