The problem is the "location" option. Here's the error showing up on
weewx.com:

2022.11.03 17:45:34 execute failed: Incorrect string value:
'\xCE\x9C\xCE\xB5\xCF\x84...' for column 'description' at row 1
reg={description=Μετεωρολογικός Σταθμός Νέων Μουδανιών
Χαλκιδικής,last_addr=87.202.32.10,last_seen=1667497534,latitude=40.2430,longitude=23.2770,platform_info=Linux-5.10.0-16-amd64-x86_64-with-glibc2.31,python_info=3.9.2,station_model=WΗ1080,station_type=FineOffsetUSB,station_url=
https://kairos.moudania.com,user_agent=weewx/4.9.1,weewx_info=4.9.1}

Unfortunately, the registry does not handle utf-8 characters well, which is
a known problem. See Issue #7 <https://github.com/weewx/website/issues/7>.

I would fix it myself, but all that stuff is written in Perl by mwall, and
I don't have a clue how that language works.

My apologies.

-tk

On Thu, Nov 3, 2022 at 10:59 AM Δημήτρης Βήχος <hobbyline...@gmail.com>
wrote:

> my station stanza
>
> [Station]
>
>     # Description of the station location
>     location = Μετεωρολογικός Σταθμός Νέων Μουδανιών Χαλκιδικής
>
>     # Latitude in decimal degrees. Negative for southern hemisphere
>     latitude = 40.243
>     # Longitude in decimal degrees. Negative for western hemisphere.
>     longitude = 23.277
>
>     # Altitude of the station, with the unit it is in. This is used only
>     # if the hardware cannot supply a value.
>     altitude = 4, meter
>
>     # Set to type of station hardware. There must be a corresponding stanza
>     # in this file, which includes a value for the 'driver' option.
>     station_type = FineOffsetUSB
>
>     # If you have a website, you may specify an URL. This is required if
> you
>     # intend to register your station.
>     station_url = https://kairos.moudania.com
>
>     # The start of the rain year (1=January; 10=October, etc.). This is
>     # downloaded from the station if the hardware supports it.
>     rain_year_start = 1
>
>     # Start of week (0=Monday, 6=Sunday)
>     week_start = 6
>
> Στις Πέμπτη 3 Νοεμβρίου 2022 στις 7:56:54 μ.μ. UTC+2, ο χρήστης vince
> έγραψε:
>
>> On Thursday, November 3, 2022 at 10:48:59 AM UTC-7 hobbyl...@gmail.com
>> wrote:
>>
>>>
>>> Nov  3 19:45:28 metfm weewx[10655] DEBUG weewx.restx: StationRegistry:
>>> Failed upload attempt 2: b"FAIL: execute failed: Incorrect string value:
>>> '\\xCE\\x9C\\xCE\\xB5\\xCF\\x84...' for column 'description' at row 1\n"
>>>
>>
>> Lets see your [Station] stanza from weewx.conf please.  I'm guessing that
>> you have strange characters in there possibly in your 'location = ' line or
>> nearby.
>>
>>
>> --
> 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 web visit
> https://groups.google.com/d/msgid/weewx-user/85b2443f-31ea-4fd4-9805-42a1a59ac135n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/85b2443f-31ea-4fd4-9805-42a1a59ac135n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEAaUKb4TH7GrEVA%3D_Gpq8SAxNwyE94dwVN6HEbS%3DckjBw%40mail.gmail.com.

Reply via email to