katalina-w Posted March 28, 2014 Report Share Posted March 28, 2014 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 Link to comment Share on other sites More sharing options...
Martin Pengelly-Phillips Posted March 29, 2014 Report Share Posted March 29, 2014 Hi Kat, Which version of Python are you using as I believe this bug was fixed in 2.6.5+? (It is because the dictionary keys are unicode: http://bugs.python.org/issue2646) We will also look into handling it on our end so that we can support <= 2.6.5 properly. Martin Link to comment Share on other sites More sharing options...
katalina-w Posted March 29, 2014 Author Report Share Posted March 29, 2014 Hi Martin, We generally use 2.6.4 here. I don't think that'll change too soon, so support for versions <= 2.6.5 would be wonderful. Thanks for your response. Kat Link to comment Share on other sites More sharing options...
Martin Pengelly-Phillips Posted April 2, 2014 Report Share Posted April 2, 2014 Hi Kat, Just to follow up that this should now be fixed in the latest release: 2.5v3 You can see the full release notes at http://support.ftrack.com/customer/portal/articles/1481824-2-5 Martin Link to comment Share on other sites More sharing options...
katalina-w Posted April 2, 2014 Author Report Share Posted April 2, 2014 This is excellent news! We really appreciate how quickly you were able to fix this. Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.