Argh! I've pretty much confirmed that my SD card is toast. Getting lots and 
lots of errors trying to run yum update as well as wunderfixer - 

seank@weather:~ $ wunderfixer --verbose
Traceback (most recent call last):
  File "/usr/bin/wunderfixer", line 64, in <module>
    import weecfg
  File "/usr/share/weewx/weecfg/__init__.py", line 28, in <module>
    import weewx.defaults
  File "/usr/share/weewx/weewx/defaults.py", line 227, in <module>
    defaults = configobj.ConfigObj(StringIO(default_str))
  File "/usr/lib/python2.7/dist-packages/configobj.py", line 1229, in 
__init__
    self._load(infile, configspec)
  File "/usr/lib/python2.7/dist-packages/configobj.py", line 1318, in _load
    raise error
configobj.ConfigObjError: Parsing failed with several errors.
First error at line 112.


Rebuilding my Pi...again...sigh!

   Sean

On Friday, June 7, 2019 at 5:23:29 PM UTC-7, Gareth Hunt wrote:
>
> Greetings,
>
> [Still a newbie user.]
>
> I live in rural USA where a landline DSL will probably be available some 
> time after Hell freezes over.  So I have to rely on a satellite link.  Not 
> surprisingly, this fails when there are adverse atmospheric conditions.  
> There were thunderstorms for several hours on June 7.  So wunderfixer to 
> the rescue!  However, it failed.  Here is the code snippet with my added 
> print statement in class Wunderstation.
>
>         _url = "
> http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=%s&"\
>         "month=%d&day=%d&year=%d&format=1" % (self.station, 
> dayRequested_tt[1], dayRequested_tt[2], dayRequested_tt[0]) 
>         print _url   # My addition
>         
>         try :
>             # Hit the weather underground site:
>             _wudata = urllib2.urlopen(_url)
>         except urllib2.URLError as e :
>             print >>sys.stderr, "Unable to open Weather Underground 
> station " + self.station, " or ", e
>
> This gave:
>
> bin$ ./my.wunderfixer 
> Using configuration file /home/weewx/weewx.conf.
> Using database binding 'wx_binding', which is bound to database 
> 'archive_sqlite'
>
> http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=KVASCOTT14&month=6&day=7&year=2019&format=1
> Unable to open Weather Underground station KVASCOTT14  or  HTTP Error 403: 
> Forbidden
> Could not get Weather Underground data. Exiting.
>
> However, when I copied and pasted the printed http address into my 
> browser, everything was fine.  I could see all of the reported records with 
> the expected data gaps.  I did not get HTTP Error 403 (i.e., e).
>
> So I have some (hopefully trivial) permission error with my access to 
> Wunderground.  Can somebody suggest what it is and how I get it fixed?
>
> Thanks,
> Gareth.
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/56ff74f5-66b0-4b18-851b-b0e4ce46e19c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to