Cannot write file

Posted on
Sun Jun 28, 2015 8:30 am
gglockner offline
User avatar
Posts: 27
Joined: Jan 03, 2015

Cannot write file

I wanted to debug my weather conditions, so I tried Write Weather Data to File. The file does not appear to be generated, and in the log, I'm getting a Python UnicodeEncodeError exception:

Code: Select all
  WUnderground Debug              dumpTheXML() method called.
  WUnderground Debug              callDay() method called.
  WUnderground Debug                callDay: 2015-06-28
  WUnderground Debug                dailyCallLimitReached: False
  WUnderground Debug                Is todayDate: 2015-06-28 greater than dailyCallDay: 2015-06-28?
  WUnderground Debug                  Today is not a new day.
  WUnderground Debug                Has the call limit been reached?
  WUnderground Debug                  The daily call limit has not been reached.
  WUnderground Debug              getGlobalProps() method called.
  WUnderground Debug              Device Model: WUnderground Weather
  WUnderground Debug                self.configMenuUnits: S
  WUnderground Debug                self.configWindDirUnits: DIR
  WUnderground Debug                self.configWindSpdUnits: AVG
  WUnderground Debug                self.distanceUnits:  mi.
  WUnderground Debug                self.itemListUiUnits: S
  WUnderground Debug                self.location: 98008
  WUnderground Debug                self.percentageUnits: %
  WUnderground Debug                self.pressureUnits:  in.
  WUnderground Debug                self.rainUnits:  in.
  WUnderground Debug                self.temperatureUnits: °
  WUnderground Debug                self.windUnits:  mph
  WUnderground Debug              getWeatherData() method called.
  WUnderground Debug              Weather Underground URL supressed. Set debug level to [High] to write it to the log.
  WUnderground Error              Error in plugin execution MenuAction:

Traceback (most recent call last):
  File "plugin.py", line 481, in dumpTheXML
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xdf' in position 36: ordinal not in range(128)

Posted on
Sun Jun 28, 2015 6:16 pm
DaveL17 offline
User avatar
Posts: 6744
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Cannot write file

I wanted to debug my weather conditions, so I tried Write Weather Data to File. The file does not appear to be generated, and in the log, I'm getting a Python UnicodeEncodeError exception:

Sorry for the trouble -- I will have a look at the code for dumping to the log and see what I can find.

Dave

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Mon Jun 29, 2015 5:38 am
DaveL17 offline
User avatar
Posts: 6744
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Cannot write file

I think I have isolated this problem. I'll be rolling out a new version soon which should take care of it.

Sorry, again for the troubles.

Dave

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests