Closed fvirgola80 closed 3 years ago
Your snapshots appear to look normal/correct right at this moment when I check your site....?
The min and max temperature information is wrong and snapshots are wrong
Unfortunately this might take a little while to fix, since I can’t replicate this bug on my machine. I just force-pushed an update to the unicode_fix branch. @fvirgola80, try that latest file and see what you get.
where do i find the updated file?
Download the file again from the pull request I opened #542. I force-pushed an update, so it’s been changed.
Your snapshots appear to look normal/correct right at this moment when I check your site....?
The min and max temperature information is wrong and snapshots are wrong
Not according to what I see, try a refresh. This is what I see on your homepage. Also the weewx_data.json is looking healthy now.
Download the file again from the pull request I opened #542. I force-pushed an update, so it’s been changed.
I rerun the file I have an error
sudo ./wee_reports Using configuration file /home/weewx/weewx.conf Generating for all time Traceback (most recent call last): File "/home/weewx/bin/weewx/reportengine.py", line 204, in run obj.start() File "/home/weewx/bin/weewx/reportengine.py", line 300, in start self.run() File "/home/weewx/bin/weewx/cheetahgenerator.py", line 160, in run ngen = self.generate(gen_dict[section_name], self.gen_ts) File "/home/weewx/bin/weewx/cheetahgenerator.py", line 234, in generate ngen += self.generate(section[subsection], gen_ts) File "/home/weewx/bin/weewx/cheetahgenerator.py", line 234, in generate ngen += self.generate(section[subsection], gen_ts) File "/home/weewx/bin/weewx/cheetahgenerator.py", line 322, in generate default_binding) File "/home/weewx/bin/weewx/cheetahgenerator.py", line 374, in _getSearchList searchList += obj.get_extension_list(timespan, db_lookup) File "/home/weewx/bin/user/belchertown.py", line 1910, in get_extension_list if "?" in str(obs_output): UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 4: ordinal not in range(128) Traceback (most recent call last): File "/home/weewx/bin/weewx/reportengine.py", line 204, in run obj.start() File "/home/weewx/bin/weewx/reportengine.py", line 300, in start self.run() File "/home/weewx/bin/user/belchertown.py", line 2635, in run yAxis_label = name + " (" + unit_label.strip() + ")" UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 0: ordinal not in range(128)
Your snapshots appear to look normal/correct right at this moment when I check your site....?
The min and max temperature information is wrong and snapshots are wrong
Not according to what I see, try a refresh. This is what I see on your homepage. Also the weewx_data.json is looking healthy now.
Your snapshots appear to look normal/correct right at this moment when I check your site....?
The min and max temperature information is wrong and snapshots are wrong
Not according to what I see, try a refresh. This is what I see on your homepage. Also the weewx_data.json is looking healthy now.
I tried to insert # 25a0930 but with the error I attached I re-entered # 949f43b I redid the wee_report ... effetivamento I see the update of the snapshots but I'm not convinced
You did a reboot of your pi as I noticed in your second last syslog, maybe that did the trick? Your min temperature snapshot for today now shows 10,4 C where it was 10,5 previously. Happy now? ☺️
You did a reboot of your pi as I noticed in your second last syslog, maybe that did the trick? Your min temperature snapshot for today now shows 10,4 C where it was 10,5 previously. Happy now? ☺️
now it's back to work in fact I'm happy and I thank everyone for the support ... now let's see how it goes until tomorrow and I think about closing the tred ... :-)
I am only sorry that the AI information is not available ... then it would be interesting in my opinion to insert the percentage of cloud cover as a variable that can be recovered from Areis weather. On the site you can see https://wx.aerisweather.com/local/it/rome, I would insert it instead of the cloudbse that I cannot insert as a variable having the 3.9.2 version of weewx. You could enter how the AQI and beaufort information were entered
I am only sorry that the AI information is not available ... then it would be interesting in my opinion to insert the percentage of cloud cover as a variable that can be recovered from Areis weather. On the site you can see https://wx.aerisweather.com/local/it/rome, I would insert it instead of the cloudbse that I cannot insert as a variable having the 3.9.2 version of weewx. You could enter how the AQI and beaufort information were entered
For example, you could enter the cloud information below the min and max temperature
I am only sorry that the AI information is not available ... then it would be interesting in my opinion to insert the percentage of cloud cover as a variable that can be recovered from Areis weather. On the site you can see https://wx.aerisweather.com/local/it/rome, I would insert it instead of the cloudbse that I cannot insert as a variable having the 3.9.2 version of weewx. You could enter how the AQI and beaufort information were entered
What holds you back from upgrading WeeWX to version 4.3.0 and Python 3?
What holds you back from upgrading WeeWX to version 4.3.0 and Python 3?
Partly yes and partly no. i didn't understand if weewx only works with python 3 and especially with which version. I'll explain what tests I did 1 I backed up the micro sd with Win32DiskImager of the raspberry containing version 3.9.2 2 I reinserted the image in another sd and started the raspberry 3 I stopped the weewx services and upgraded python to 3.8 by performing these steps -sudo apt-get update -sudo apt-get install -y build-essential tk-dev libncurses5-dev libncursesw5-dev libreadline6-dev libdb5.3-dev libgdbm-dev libsqlite3-dev libssl-dev libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev libffi -dev tar wget vim
Actually I would like to update the update because I would like to insert the cloudbase variable in the belchertown that cannot be done with 3.9.2, which is why the idea of adding the cloud base percentage instead of the cloud base :-)
WeeWX 4.x.x should run with both Python 2 and 3, read here:
Steps to upgrade Weewx 3.9.2 to 4.2
As far as I can tell, it's up to your preferences. If you want to go future-proof install Python 3. Make sure you follow the correct installation procedures for both Python 3 and WeeWX 4.3.0 depending on your linux distribution and hardware. I guess (a search on) the WeeWX forum can provide all the details you need to do a succesful upgrade.
next weekend I will try to update again and tell you how it went. I thank you for your help and that sometimes I am afraid of making a mess ... n.b. i am noticing that the snapshots on the site are working 😉 i think the tred can close i guess ...
Are you still getting those Unicode errors with Python2? I just force-pushed another update to that pull request that might help.
Are you still getting those Unicode errors with Python2? I just force-pushed another update to that pull request that might help.
i got errors with the # 25a0930 then I re-entered the # 949f43b and everything started working again I attached the syslog to you with python 2
Can you attach another syslog after re-entering the 949f43b version, just so I can make sure everything looks okay? The last syslog you posted was still showing unicode errors.
Can you attach another syslog after re-entering the 949f43b version, just so I can make sure everything looks okay? The last syslog you posted was still showing unicode errors.
I have attached debug and syslog to you, if known on the site now everything works
I am only sorry that the AI information is not available ... then it would be interesting in my opinion to insert the percentage of cloud cover as a variable that can be recovered from Areis weather. On the site you can see https://wx.aerisweather.com/local/it/rome, I would insert it instead of the cloudbse that I cannot insert as a variable having the 3.9.2 version of weewx. You could enter how the AQI and beaufort information were entered
@uajqq can this be integrated?
I have attached debug and syslog to you, if known on the site now everything works
This is an up-to-date log? 17:00 local time? Because it’s still showing unicode errors as recently as 17:00
I got it 48 minutes ago .. isn't it okay? tell me if I need to get more logs. You've seen the site works fine now
I got it 48 minutes ago .. isn't it okay? tell me if I need to get more logs. You've seen the site works fine now
tell me if this is okay
Okay, that makes more sense. Looks like it’s okay now. Thanks!
As far as percentage cloud cover, that would be an entirely unrelated feature; possible, but might want to open a new topic for that.
thank you very much to you too for your collaboration 😉😉 think about my proposal for the percentage of cloud cover 😉😉
Please don't delete these questions! They are asked almost with every issue - answering them as below saves us time from asking them!
First step Try to debug the skin yourself. If you can't figure it out, please include the debug information (text, screenshots, etc.). See this guide on debugging the skin. https://github.com/poblabs/weewx-belchertown#how-to-use-debug
Describe the bug A clear and concise description of what the bug is. I entered the master version to get information on air quality and wind type. When I do the wee_report I have this error thanks
sudo ./wee_reports Using configuration file /home/weewx/weewx.conf Generating for all time Traceback (most recent call last): File "/home/weewx/bin/weewx/reportengine.py", line 204, in run obj.start() File "/home/weewx/bin/weewx/reportengine.py", line 300, in start self.run() File "/home/weewx/bin/user/belchertown.py", line 2658, in run name + " (" + unit_label.strip().encode("utf-8") + ")" UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 0: ordinal not in range(128)
Link to your website (IMPORTANT) www.meteocivitavecchia.it
Version of the skin you're using 1.2
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Device Information (please complete the following information):
Additional context Add any other context about the problem here. Maybe a potential fix?
HELP WANTED If you have a fix for this, please submit a pull request against the development branch!