problem at plugin startup v0.9.5

Posted on
Thu Mar 17, 2016 11:20 am
dduff617 offline
Posts: 661
Joined: Jul 05, 2006
Location: Massachusetts, USA

problem at plugin startup v0.9.5

i've had previous versions running relatively smoothly (last was 0.9.3, i believe). upgraded today to 0.9.5 and i'm getting a problem on startup. it appears that there are some non-ascii characters somewhere that are not being handled properly. can someone advise how i can fix or workaround this?

if i'm understanding the logs, it looks like something is barfing on the character (hex) e9, which i think is "small letter e with acute". so that seems like likely to occur given my wife and kids tending to like french music.


here's the logs:
Code: Select all
  Started plugin "Sonos 0.9.5"
  Sonos                           Your plugin version, v0.9.5, is current.
  Sonos                           Adding ZonePlayer: 192.168.1.21, RINCON_000E5884E14401400, BSMT Sonos
  Sonos                           Adding ZonePlayer: 192.168.1.26, RINCON_000E583B117201400, DR Sonos
  Sonos                           Adding ZonePlayer: 192.168.1.12, RINCON_000E58514BFA01400, FR Sonos
  Sonos                           Adding ZonePlayer: 192.168.1.6, RINCON_000E5812AB7E01400, L3O Sonos
  Sonos Error                     Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 59, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 307, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 2400, in getSonosFavorites
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1028, in parsePoint
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xe9' in position 467: ordinal not in range(128)

  Sonos Error                     plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

Posted on
Thu Mar 17, 2016 11:36 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: problem at plugin startup v0.9.5

I'll post an update later today to resolve this.

dduff617 wrote:
i've had previous versions running relatively smoothly (last was 0.9.3, i believe). upgraded today to 0.9.5 and i'm getting a problem on startup. it appears that there are some non-ascii characters somewhere that are not being handled properly. can someone advise how i can fix or workaround this?

if i'm understanding the logs, it looks like something is barfing on the character (hex) e9, which i think is "small letter e with acute". so that seems like likely to occur given my wife and kids tending to like french music.


here's the logs:
Code: Select all
  Started plugin "Sonos 0.9.5"
  Sonos                           Your plugin version, v0.9.5, is current.
  Sonos                           Adding ZonePlayer: 192.168.1.21, RINCON_000E5884E14401400, BSMT Sonos
  Sonos                           Adding ZonePlayer: 192.168.1.26, RINCON_000E583B117201400, DR Sonos
  Sonos                           Adding ZonePlayer: 192.168.1.12, RINCON_000E58514BFA01400, FR Sonos
  Sonos                           Adding ZonePlayer: 192.168.1.6, RINCON_000E5812AB7E01400, L3O Sonos
  Sonos Error                     Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 59, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 307, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 2400, in getSonosFavorites
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1028, in parsePoint
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xe9' in position 467: ordinal not in range(128)

  Sonos Error                     plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

Posted on
Thu Mar 17, 2016 1:37 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: problem at plugin startup v0.9.5

Update posted: v0.9.6

Posted on
Thu Mar 17, 2016 3:38 pm
dduff617 offline
Posts: 661
Joined: Jul 05, 2006
Location: Massachusetts, USA

Re: problem at plugin startup v0.9.5

that seems to have fixed my problem. thanks!

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 10 guests