Closed tokejepsen closed 8 years ago
Would this be better suited for the Nuke repo? Or have you noticed the problem in other integrations too?
Got this in Maya. Dunno if its specific to QML though.
Oh, where did the error occur? Could you post it?
So the specific example is this extractor;
import os
import getpass
import pyblish.api
@pyblish.api.log
class ExtractDeadlineData(pyblish.api.Extractor):
families = ['deadline.render']
hosts = ['*']
def process_instance(self, instance):
self.log.info(instance)
And here is the error message:
Yes, that's a bug.
Investigating.
In the meantime, you can work around it by ensuring that you only log string types.
yeah, been converting the log calls to strings.
This has been fixed.
Problem
Running
self.log.info(1)
errors out.Solution
Default convert all data to log call to type string.