Re: [weewx-user] Issues with Station Registry

2020-06-22 Thread Bostjan Potocnik
Hi, I copied it and tested. It seems OK! ... Jun 22 17:20:58 RPi-SDR weewx[6982] INFO weewx.restx: StationRegistry: Published record 2020-06-22 17:20:00 CEST (1592839200) ... Thanks a lot! Regards,   Boštjan On 22. 06. 20 14:38, Tom Keffer wrote: Try this version of restx.py. It should rep

Re: [weewx-user] Issues with Station Registry

2020-06-22 Thread Tom Keffer
Try this version of restx.py. It should replace the version in /usr/share/weewx/weewx/restx.py. -tk On Mon, Jun 22, 2020 at 5:27 AM Tom Keffer wrote: > Unfortunately, putting quotes around the name will not help. > > Apparently, the Python 2 version of urllib.parse.quote_plus(), which > escapes

Re: [weewx-user] Issues with Station Registry

2020-06-22 Thread Tom Keffer
Unfortunately, putting quotes around the name will not help. Apparently, the Python 2 version of urllib.parse.quote_plus(), which escapes special characters, does not work with unicode. I will come up with a patch. In the meantime, you can use Python 3. -tk On Mon, Jun 22, 2020 at 4:59 AM Greg

[weewx-user] Issues with Station Registry

2020-06-22 Thread Greg from Oz
It will probably work if you put quotes around the name location = "text example" -- 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...@googlegr

[weewx-user] Issues with Station Registry

2020-06-21 Thread Bostjan Potocnik
Hi, with version 4.1.1 I have problems with Station Registry. I guess it has to do with station location name and locale used! If i'm correct "\u0161" is leter "š" and the name of my station location is: [Station] # Description of the station location location = Loka pri Mengšu Ju