That was it (the #FTP.last), thanks a lot for your fast help! How can I tell it to use a certain python version? Just in case if that would be the case
[email protected] schrieb am Dienstag, 1. März 2022 um 12:22:18 UTC+1: > NB: the program wee_reports will run *all* reports in weewx.conf, > including FTP. That means the files it generates will get uploaded. That > may not be what you want. > > In any case, the file *#FTP.last *holds information about the last upload > of each file. This is used to minimize the amount of FTP traffic. > > I'm just guessing, but it's possible that you're using a different version > of Python for weewxd than wee_report. The Python 2 protocol may be > incompatible with the Python 3 protocol. > > Try deleting the file. You'll find it in /var/www/html. It will be > regenerated again. And, make sure you're using the same version of Python > for both programs. > > -tk > > On Tue, Mar 1, 2022 at 3:13 AM [email protected] <[email protected]> wrote: > >> Since i used it, i get following error even when i restart weewx: >> >> Mar 1 12:11:37 raspi-wsdi1b weewx-weewx-sdr[8548] INFO >> weewx.reportengine: Copied 0 files to /var/www/html/weewx_sdr >> Mar 1 12:11:37 raspi-wsdi1b weewx-weewx-sdr[8548] ERROR >> weewx.reportengine: Caught unrecoverable exception in generator >> 'weewx.reportengine.FtpGenerator' >> Mar 1 12:11:37 raspi-wsdi1b weewx-weewx-sdr[8548] ERROR >> weewx.reportengine: **** unsupported pickle protocol: 3 >> Mar 1 12:11:37 raspi-wsdi1b weewx-weewx-sdr[8548] ERROR >> weewx.reportengine: **** Traceback (most recent call last): >> Mar 1 12:11:37 raspi-wsdi1b weewx-weewx-sdr[8548] ERROR >> weewx.reportengine: **** File >> "/usr/share/weewx/weewx/reportengine.py", line 197, in run >> Mar 1 12:11:37 raspi-wsdi1b weewx-weewx-sdr[8548] ERROR >> weewx.reportengine: **** obj.start() >> Mar 1 12:11:37 raspi-wsdi1b weewx-weewx-sdr[8548] ERROR >> weewx.reportengine: **** File >> "/usr/share/weewx/weewx/reportengine.py", line 378, in start >> Mar 1 12:11:37 raspi-wsdi1b weewx-weewx-sdr[8548] ERROR >> weewx.reportengine: **** self.run() >> Mar 1 12:11:37 raspi-wsdi1b weewx-weewx-sdr[8548] ERROR >> weewx.reportengine: **** File >> "/usr/share/weewx/weewx/reportengine.py", line 429, in run >> Mar 1 12:11:37 raspi-wsdi1b weewx-weewx-sdr[8548] ERROR >> weewx.reportengine: **** n = ftp_data.run() >> Mar 1 12:11:37 raspi-wsdi1b weewx-weewx-sdr[8548] ERROR >> weewx.reportengine: **** File >> "/usr/share/weewx/weeutil/ftpupload.py", line 100, in run >> Mar 1 12:11:37 raspi-wsdi1b weewx-weewx-sdr[8548] ERROR >> weewx.reportengine: **** timestamp, fileset, hashdict = >> self.get_last_upload() >> Mar 1 12:11:37 raspi-wsdi1b weewx-weewx-sdr[8548] ERROR >> weewx.reportengine: **** File >> "/usr/share/weewx/weeutil/ftpupload.py", line 241, in get_last_upload >> Mar 1 12:11:37 raspi-wsdi1b weewx-weewx-sdr[8548] ERROR >> weewx.reportengine: **** timestamp = cPickle.load(f) >> Mar 1 12:11:37 raspi-wsdi1b weewx-weewx-sdr[8548] ERROR >> weewx.reportengine: **** ValueError: unsupported pickle protocol: 3 >> Mar 1 12:11:37 raspi-wsdi1b weewx-weewx-sdr[8548] ERROR >> weewx.reportengine: **** Generator terminated >> >> And the files on the FTP are getting no longer refreshed, only if i let >> run wee_report manually. What happened? >> >> [email protected] schrieb am Dienstag, 1. März 2022 um 12:03:27 UTC+1: >> >>> Now i get it, thanks >>> >>> [email protected] schrieb am Dienstag, 1. März 2022 um 11:17:45 UTC+1: >>> >>>> That command line, Tom gave, creates all the other plots, too. >>>> >>>> [email protected] schrieb am Dienstag, 1. März 2022 um 11:12:38 UTC+1: >>>> >>>>> Are there also yearly graph reports from past years possible or just >>>>> daily? >>>>> >>>>> [email protected] schrieb am Dienstag, 1. März 2022 um 00:30:08 UTC+1: >>>>> >>>>>> Also, we had a flurry of activity discussing this in the week after >>>>>> the event. I started and had help from the community in developing a >>>>>> script >>>>>> specific to the eruption. >>>>>> >>>>>> https://groups.google.com/g/weewx-user/c/kw6i-VZibc4/m/HB4K5dNmBwAJ >>>>>> >>>>>> Script is here: https://github.com/morrowwm/weewx_tonga_browse >>>>>> >>>>>> P.S. Tom at al, please let me know if this sort of response is >>>>>> inappropriate here. >>>>>> On Saturday, February 19, 2022 at 6:03:45 p.m. UTC-4 >>>>>> [email protected] wrote: >>>>>> >>>>>>> Hello, >>>>>>> >>>>>>> perhaps there is already a solution here for my problem but >>>>>>> searching with keywords doesn't give me any results. >>>>>>> >>>>>>> Using WeeWX since several years I am able to have diagrams of the >>>>>>> last day(s), last week, last month and the last year. >>>>>>> >>>>>>> But if I want to look at a special date in past for specified period >>>>>>> of time I have no tool to zooming those data out of my local database >>>>>>> and >>>>>>> visualize them. >>>>>>> >>>>>>> For example in January the vulcano Hunga-Tonga-Hunga-Ha'apai had an >>>>>>> eruption that sends a pressure wave around the world witch was detected >>>>>>> by >>>>>>> all weatherstations. But I have no chance to focuse on that event. >>>>>>> >>>>>>> Storing weatherdata for several years in a database on a SD-Card may >>>>>>> not be necessary if I am not flexibel in data requests. >>>>>>> >>>>>>> Any idea? >>>>>>> >>>>>>> Kind regards >>>>>>> Klaus >>>>>>> >>>>>> -- >> > 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 [email protected]. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/fceac42d-7926-4ed1-a4b2-b711c829ca1fn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/fceac42d-7926-4ed1-a4b2-b711c829ca1fn%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/466772ae-8e11-4c4f-bbe2-1a6177c94bc1n%40googlegroups.com.
