Take a look at the "driver" option in weewx.conf and make sure it's
correct.

If that's not the problem, then set debug=1, restart weewx, then follow
Andrew's suggestion of posting more of the log.

-tk

On Fri, Dec 16, 2016 at 5:57 AM, Auchtermuchty Weather <[email protected]
> wrote:

> I was going to say this should be painless after some experimentation and
> realising I just needed (in outline) to copy over /home/weewx, and upgrade
> with setup.py - that was how I originally installed it, and I prefer having
> everything in one directory.
>
> However...  Am getting these errors in syslog:
>
> Dec 16 13:32:12 weather2 weewx[625]: import of driver failed: 'module'
> object has no attribute 'getAltitudeM' (<type exceptions.AttributeError'>)
> Dec 16 13:32:12 weather2 weewx[625]: engine: Unable to load driver:
> 'module' object has no attribute 'getAltitudeM'
> Dec 16 13:32:12 weather2 weewx[625]:     ****  Exiting...
> Dec 16 13:35:34 weather2 rsyslogd-2007: action 'action 17' suspended, next
> retry is Fri Dec 16 13:36:34 2016 [try http://www.rsyslog.com/e/2007 ]
>
> There is no output to /home/weewx/public_html being created - the most
> recent time is before I stopped the old Pi.
>
> On Friday, 9 December 2016 10:41:37 UTC, Auchtermuchty Weather wrote:
>
>> I realised that not only am I running an old (2.7) version of Weewx, the
>> RPi it's on is short of room on the SD card - it's an old B model with an
>> SD card.
>>
>> I had a B+ Pi doing nothing (Micro SD card, 4 USB ports) so I put the
>> latest Raspberrian on an 8GB card and then installed Weewx and it's working
>> fine with the simulator - the HTML files are being produced with correct
>> units & layout.
>>
>> Not quite sure what the process of changing the two over is though.  I
>> know I will have to copy some stuff across (not a problem as both are on my
>> network), not sure what stuff though.
>>
>> Nor am I sure if there are any 'gotchas' I need to be aware of.
>>
>> --
> 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].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to