Indigo 7 Weathersnoop 3 lite traceback error

Posted on
Wed Jan 04, 2017 7:50 pm
jbinder offline
Posts: 15
Joined: Jun 09, 2013

Indigo 7 Weathersnoop 3 lite traceback error

I finally updated to weathersnoop 3 lite. I have been using Weathersnoop 2 for years. I followed the plugin instructions and the weathersnoop users guide. I can get all the way to Select state for UI. The only choice is "no states available" Looking in the Event Log I see:
WeatherSnoop Error Error in plugin execution GetUiDynamicList:

Traceback (most recent call last):
File "plugin.py", line 374, in getStateList
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 4248: ordinal not in range(128)

What should I do to get this working? I do not have a weather station but am using Weather Underground to get data from the closest NWS station.

Posted on
Thu Jan 05, 2017 10:29 am
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Indigo 7 Weathersnoop 3 lite traceback error

Interesting. Do you have any non-ascii characters in any part of the dialog you happen to be in?

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Thu Jan 05, 2017 1:30 pm
jbinder offline
Posts: 15
Joined: Jun 09, 2013

Re: Indigo 7 Weathersnoop 3 lite traceback error

I receive the error as soon as I pick from the Select WeatherSnoop Instance: Pull down. I select: WeatherSnoop 3 - John's iMac@Johns-iMac.local.:8000

WeatherSnoop Error Error in plugin execution GetUiDynamicList:

Traceback (most recent call last):
File "plugin.py", line 374, in getStateList
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 4185: ordinal not in range(128)

I also see the error when I choose from the Select WeatherSnoop agent Pull Down. That selection is: Station KSLC (Weather Underground)

WeatherSnoop Error Error in plugin execution GetUiDynamicList:

Traceback (most recent call last):
File "plugin.py", line 374, in getStateList
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 4248: ordinal not in range(128)



The errors are exactly the same except for the position number 4185 for Instance and 4248 for agent

Posted on
Thu Jan 05, 2017 1:41 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Indigo 7 Weathersnoop 3 lite traceback error

And your culprit is the fancy apostrophe:

\u2019 (curly left single quote) -> '

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Thu Jan 05, 2017 3:15 pm
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Indigo 7 Weathersnoop 3 lite traceback error

I'll look at making the plugin a bit more robust when it comes to unicode strings. Workaround is to change the name of your Mac so it uses a standard apostrophe.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Thu Jan 05, 2017 7:52 pm
jbinder offline
Posts: 15
Joined: Jun 09, 2013

Re: Indigo 7 Weathersnoop 3 lite traceback error

The single quote was defaulted when I setup the iMac. I could care less about it and have removed the quote. Restarted the iMac and the WeatherSnoop plugin is working great! Thanks for all your help! Indigo is easily one of my favorite Mac apps.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest

cron