Can't encode unicode U201D
Posted: Sun Nov 03, 2019 8:31 pm
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.
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: