10-29-2019, 07:04 PM
(10-28-2019, 02:20 PM)remkonoteboom Wrote: Exactly how are you using XMLRPC to return those values. If you use the TacticServerStub, it marshals the data for you and currently seems to work in both Python3 and Python2. Here is some sample code:What i am trying to tell is that 4.5 tactic with python2 returns unicode strings. But tactic 4.7 python3 returns stings (hex). That means backwards compatibility for unicode is broken
from tactic_client_lib import TacticServerStub
server = TacticServerStub(setup=False)
server.set_server("http://localhost")
server.set_project("my_project")
server.set_ticket("-9bd9ff3c0012de53f46")
sobjects = server.query("sthpw/file")
print("len: ", len(sobjects))