weewx / website Goto Github PK
View Code? Open in Web Editor NEWAssets used for the weewx.com website
Assets used for the weewx.com website
See this post in weewx-user: https://groups.google.com/g/weewx-user/c/9eAWjrvbIAU/m/8c1IoGLpCQAJ
the station registry fails with following error:
Sep 27 14:00:31 weewx[21] ERROR weewx.restx: StationRegistry: Failed to publish record 2022-09-27 13:56:00 CEST (1664279760): Failed upload after 3 tries
manually registering the station at registry url (http://weewx.com/register/register.cgi) returns following error:
http://weewx.com/register/register.cgi?station_url=https://meteo.fedibox.com/&description=Sapri&latitude=40.074&longitude=15.62&station_type=Ecowitt&station_model=WS2900&weewx_info=4.8.0&python_info=3.9.2&platform_info=Armbian
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.22.0</center>
</body>
</html>
Hey there,
a typical station on the station map is presented with these data points:
Data like description, lat/lon and station_type is shown. However, on both sides of the registration
Line 126 in 2634732
the additional data point station_model
is communicated and stored.
For station_type
"Interceptor" or "FineOffsetUSB" it would be interesting to show the station_model
, especially as it is already in the database.
Is there a clear reason why you decided against that? I would otherwise suggest to include station_model
as part of the view from the screenshot above.
In /var/log/nginx/error.log
, I am seeing a lot of errors of the sort
2022/10/01 12:05:29 [error] 940#0: *105063 FastCGI sent in stderr: "DBD::mysql::st execute failed: Incorrect string value: '\xC4\x81zene...'
for column 'description' at row 1 at /var/www/html/register/register.cgi line 429" while reading response header from upstream, client: 62.
85.109.69, server: weewx.com, request: "GET /register/register.cgi?station_url=https%3A%2F%2Fwww.wunderground.com%2Fpersonal-weather-station
%2Fdashboard%3FID=IRGASPIL3&description=Atg%C4%81zene%2C+R%C4%ABga%2C+Latvija&latitude=56.9172&longitude=24.0822&station_type=WMR200&station
_model=WMR200A&python_info=3.10.6&platform_info=Linux-5.15.0-1015-raspi-aarch64-with-glibc2.35&weewx_info=4.8.0 HTTP/1.1", upstream: "fastcg
i://unix:/var/run/fcgiwrap.socket:", host: "weewx.com"
What they all seem to have in common is the use of UTF-8 in the field description
.
Perl is a mystery to me, so I can't tell if it's rejecting UTF-8 characters.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.