> TypeError: a bytes-like object is required, not 'str'
I do not use this extension, but the error is an indication that the extension
was not ported to work with Python 3 (bytes and str are different types in
Python 3).
I don’t know if it the author claims WeeWX 4 comparability, but if he does,
I've cheered too soon.
The new version only worked with wee-Reports, but not in the normal
reporting loop.
Anyway, I'm using FTP instead of SFTP now.
Am Freitag, 1. Mai 2020 21:37:25 UTC+2 schrieb Manfred Maier:
>
> Just FYI
>
> I was able to resolve the python 3 issue of the SFTP extension b
Just FYI
I was able to resolve the python 3 issue of the SFTP extension by making a
few changes in the sftp.py file.
Thanks vince for pointing me in the right direction!
Am Freitag, 1. Mai 2020 20:00:51 UTC+2 schrieb Manfred Maier:
>
> I'll give it a try, once the kids are in bed.
>
> Thanks!
I'll give it a try, once the kids are in bed.
Thanks!
--
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 weewx-user+unsubscr...@googlegroups.com.
To view this discu
On Friday, May 1, 2020 at 10:44:40 AM UTC-7, Manfred Maier wrote:
>
> That's Matthew Wall's SFTP extension and I haven't found an updated
> version.
> Anyway, I'll raise this issue directly in the Github project.
>
If you want to try something, since Matthew's busy I'm sure on more core
stuff (p
That's Matthew Wall's SFTP extension and I haven't found an updated version.
Anyway, I'll raise this issue directly in the Github project.
Thanks!
Am Freitag, 1. Mai 2020 19:34:49 UTC+2 schrieb vince:
>
> On Friday, May 1, 2020 at 9:45:38 AM UTC-7, Manfred Maier wrote:
>>
>> except pysftp.C
On Friday, May 1, 2020 at 9:53:00 AM UTC-7, Manfred Maier wrote:
>
> File "/usr/share/weewx/user/sftp.py", line 158, in get_last_upload
>
> timestamp = cPickle.load(f)
>
> TypeError: a bytes-like object is required, not 'str'
>
This is another known python3 thing, which tells me your extens
On Friday, May 1, 2020 at 9:45:38 AM UTC-7, Manfred Maier wrote:
>
> except pysftp.ConnectionException, e:
>
> ^
>
> SyntaxError: invalid syntax
>
>
>
Any time you see something that looks like that, you are running python3
against code written for python2
Apologies for talking to myself here :)
I've now updated the SFTP extension.
At least the error massaged changed:
*pi@raspberrypi*:*~ $* sudo wee_reports
Using configuration file /etc/weewx/weewx.conf
Generating for all time
Traceback (most recent call last):
File "/usr/share/weewx/weewx/r
Good. Next one solved.
The Belchertown graphs.conf seems to be case sensitive with the new weewx
4.0
The observation "MaxSolarRad" worked in 3.9.2, but does not work in 4.0
After renaming it to "maxSolarRad" this issue was gone.
But there's another issue - and hopefully the last one:
Is that ag
So, the next issue has to do with MaxSolarRad
I have that in my database, but as 'maxSolarRad'
May 1 17:55:22 raspberrypi weewx[21194] ERROR weewx.reportengine: Caught
unrecoverable exception in generator
'user.belchertown.HighchartsJsonGenerator'
May 1 17:55:22 raspberrypi weewx[21194] ERRO
Three more steps done!
Extensions that crash with Python 3:
* OpenWeatherMap
* WCloud
* Wetter
For OWM I've tried to find a newer version (> 0.8), but could find any.
Same for the other two :(
So currently my only issue left:
The JSON files for the Belchertown skin are still not produced.
Oh. That might be OpenWeatherMap
Give me a minute.
Am Freitag, 1. Mai 2020 17:38:48 UTC+2 schrieb Manfred Maier:
>
> Ok. One step done.
>
> Python 3 version still is crashing, but now with a slightly different
> error message in the log:
>
> May 1 17:28:48 raspberrypi weewx[19064] DEBUG weewx
Ok. One step done.
Python 3 version still is crashing, but now with a slightly different error
message in the log:
May 1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.engine: Finished
loading service user.windy.Windy
May 1 17:28:48 raspberrypi weewx[19064] DEBUG weewx.engine: Loading
servic
try it with
sudo pip3 install paho-mqtt
--
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the
Yes, I've used the wrong command for the download :/
Still, even after updating the MQTT extension, the python 3 version crashes.
I've followed Matthew's instructions for installing the extension:
mqtt - weewx extension that sends data to an MQTT broker
Copyright 2014-2020 Matthew Wall
Distribut
it does not appear to be a ZIP. I would reload the file, e.g. with wget
https://github.com/matthewwall/weewx-mqtt/archive/master.zip
--
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,
Thanks for your support!
Tried that already - with not much success after downloading the master.zip
*pi@raspberrypi*:*~ $* sudo wee_extension --install master.zip
Request to install 'master.zip'
Extracting from zip archive master.zip
Traceback (most recent call last):
File "/usr/share/weew
grab it from
here https://github.com/matthewwall/weewx-mqtt/archive/master.zip
wee_extension supports zip files as well
On Friday, May 1, 2020 at 5:56:55 PM UTC+3, Manfred Maier wrote:
>
> A very stupid question:
> How do I update the extension?
>
> I don't find the weewx-mqtt.tgz that I need fo
A very stupid question:
How do I update the extension?
I don't find the weewx-mqtt.tgz that I need for the installation.
Am Freitag, 1. Mai 2020 16:37:04 UTC+2 schrieb Tarmo:
>
> Hi Manfred!
>
> try to update mqtt extension https://github.com/matthewwall/weewx-mqtt
>
>
> On Friday, May 1, 2020
Hi Manfred!
try to update mqtt extension https://github.com/matthewwall/weewx-mqtt
On Friday, May 1, 2020 at 5:34:11 PM UTC+3, Manfred Maier wrote:
>
> Also pulling my issues while updating in a separate thread.
>
> I was using version 3.9.2 on a RPi4 (Rasbian 10) with the Belchertown skin
> in
21 matches
Mail list logo