Actions callback handler kwargs bug?
1 1

5 posts in this topic

Hi everyone,

 

I've been exploring actions a bit more this week. I set up a test listener, but when I click on my test action in the web app, the callback handler in topic_hub.py errors, saying:

 

Error calling callback <function handleCallback at 0x1d9ec08> for topic action with arguments {u'selection': [{u'entityId': u'4f7077be-b551-11e3-82fc-000c29912c4e', u'entityType': u'assetversion'}], u'buttonId': u'test', u'userId': u'72d53164-66b8-11e3-a80c-000c29912c4e'}
Traceback (most recent call last):
  File "FTrackCore.egg/FTrackCore/api/topic_hub.py", line 197, in _handle
    callback(topic, **data)
TypeError: handleCallback() keywords must be strings

 

Is this an issue with the formatting of the dict the web app is passing or am I doing something wrong?

 

Thanks in advance!

Kat

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
1 1