Can't encode unicode U201D

Posted on
Sun Nov 03, 2019 8:31 pm
Peel offline
Posts: 12
Joined: Apr 14, 2015

Can't encode unicode U201D

I'm finally getting some connectivity. Only one device, Active Total, is showing up, and reporting a number that looks reasonably close to what I'm currently using. However, I am getting a UnicodeEncodeError for U201D. U+201D is a right double quote. One of my devices is names 27" iMac. My guess is that string handling somewhere isn't properly escaping double quotes from within the string.

Edit: I renamed the offending device from within Sense and Indigo now shows all of my devices.


Code: Select all
   Sense Error                     Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 194, in runConcurrentThread
  File "plugin.py", line 173, in getDevices
UnicodeEncodeError: 'ascii' codec can't encode character u'\u201d' in position 2: ordinal not in range(128)

   Sense Error                     plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Sense Error                     Error in plugin execution runConcurrentThread:


Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest