Post Reply 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
UnicodeEncodeError in PyOhNet
31-01-2018, 04:35 PM
Post: #1
UnicodeEncodeError in PyOhNet

There seem to be a problem with unicode when present in a device's xml.

The exception points to line 56 in If I add
xml      = xml.encode('utf8')
everything works fine.
If you consider this a valid fix, or something else, maybe you could add this to the source files.

Find all posts by this user
Quote this message in a reply
Post Reply 

Forum Jump: