weeutil.RsyncUpload was expecting a string for port. I was passing it an int.
I didn’t catch this as I was not specifying a port. This should now be fixed in 1.3.1. Would you please give it a try? > On Jun 30, 2020, at 1:32 AM, Geni 0815 <[email protected]> wrote: > > >> >> Jun 30 10:27:05 Wetter-Raspi weewx[10952] CRITICAL user.loopdata: **** >> Traceback (most recent call last): >> Jun 30 10:27:05 Wetter-Raspi weewx[10952] CRITICAL user.loopdata: **** >> File "/usr/share/weewx/user/loopdata.py", line 521, in process_queue >> Jun 30 10:27:05 Wetter-Raspi weewx[10952] CRITICAL user.loopdata: **** >> self.compose_and_write_packet(pkt) >> Jun 30 10:27:05 Wetter-Raspi weewx[10952] CRITICAL user.loopdata: **** >> File "/usr/share/weewx/user/loopdata.py", line 541, in >> compose_and_write_packet >> Jun 30 10:27:05 Wetter-Raspi weewx[10952] CRITICAL user.loopdata: **** >> self.write_packet(selective_pkt) >> Jun 30 10:27:05 Wetter-Raspi weewx[10952] CRITICAL user.loopdata: **** >> File "/usr/share/weewx/user/loopdata.py", line 555, in write_packet >> Jun 30 10:27:05 Wetter-Raspi weewx[10952] CRITICAL user.loopdata: **** >> self.rsync_data(pkt['dateTime']) >> Jun 30 10:27:05 Wetter-Raspi weewx[10952] CRITICAL user.loopdata: **** >> File "/usr/share/weewx/user/loopdata.py", line 645, in rsync_data >> Jun 30 10:27:05 Wetter-Raspi weewx[10952] CRITICAL user.loopdata: **** >> rsync_upload.run() >> Jun 30 10:27:05 Wetter-Raspi weewx[10952] CRITICAL user.loopdata: **** >> File "/usr/share/weewx/weeutil/rsyncupload.py", line 72, in run >> Jun 30 10:27:05 Wetter-Raspi weewx[10952] CRITICAL user.loopdata: **** >> if self.port is not None and len(self.port.strip()) > 0: >> Jun 30 10:27:05 Wetter-Raspi weewx[10952] CRITICAL user.loopdata: **** >> AttributeError: 'int' object has no attribute 'strip' >> >> > Am Dienstag, 30. Juni 2020 09:47:44 UTC+2 schrieb Geni 0815: >> >> @John: I have the following entry in the syslog, what is not suitable? >> >>> Jun 30 09:24:21 Wetter-Raspi weewx[10361] INFO user.loopdata: >>> barometer_rate_secs: 10800 >>> Jun 30 09:24:21 Wetter-Raspi weewx[10361] INFO user.loopdata: >>> wind_rose_secs : 86400 >>> Jun 30 09:24:21 Wetter-Raspi weewx[10361] INFO user.loopdata: >>> wind_rose_points : 16 >>> Jun 30 09:24:21 Wetter-Raspi weewx[10361] CRITICAL user.loopdata: **** >>> Traceback (most recent call last): >>> Jun 30 09:24:21 Wetter-Raspi weewx[10361] CRITICAL user.loopdata: **** >>> File "/usr/share/weewx/user/loopdata.py", line 521, in process_queue >>> Jun 30 09:24:21 Wetter-Raspi weewx[10361] CRITICAL user.loopdata: **** >>> self.compose_and_write_packet(pkt) >>> Jun 30 09:24:21 Wetter-Raspi weewx[10361] CRITICAL user.loopdata: **** >>> File "/usr/share/weewx/user/loopdata.py", line 541, in >>> compose_and_write_packet >>> Jun 30 09:24:21 Wetter-Raspi weewx[10361] CRITICAL user.loopdata: **** >>> self.write_packet(selective_pkt) >>> Jun 30 09:24:21 Wetter-Raspi weewx[10361] CRITICAL user.loopdata: **** >>> File "/usr/share/weewx/user/loopdata.py", line 555, in write_packet >>> Jun 30 09:24:21 Wetter-Raspi weewx[10361] CRITICAL user.loopdata: **** >>> self.rsync_data(pkt['dateTime']) >>> Jun 30 09:24:21 Wetter-Raspi weewx[10361] CRITICAL user.loopdata: **** >>> File "/usr/share/weewx/user/loopdata.py", line 645, in rsync_data >>> Jun 30 09:24:21 Wetter-Raspi weewx[10361] CRITICAL user.loopdata: **** >>> rsync_upload.run() >>> Jun 30 09:24:21 Wetter-Raspi weewx[10361] CRITICAL user.loopdata: **** >>> File "/usr/share/weewx/weeutil/rsyncupload.py", line 72, in run >>> Jun 30 09:24:21 Wetter-Raspi weewx[10361] CRITICAL user.loopdata: **** >>> if self.port is not None and len(self.port.strip()) > 0: >>> Jun 30 09:24:21 Wetter-Raspi weewx[10361] CRITICAL user.loopdata: **** >>> AttributeError: 'int' object has no attribute 'strip' >>> >> >> >> >> Am Samstag, 27. Juni 2020 21:18:06 UTC+2 schrieb John Kline: >>> >>> I just now updated this extension to 1.1. I would try it before resorting >>> to a clean install. >>> >>>> On Jun 27, 2020, at 12:16 PM, Michael Meyer <[email protected]> wrote: >>>> >>>> >>>> Hello John, I did grep and get some results. Next time I used grep again >>>> no results. I uninstalled weewx because I did the first installation with >>>> Debian. I did installation weewx with setup py. Again no loop_data.txt >>>> created. I will do a fresh Buster light image next. After that I will do >>>> also a complete new weewx installation. I will let you know if >>>> successfully. Thx for your help! >>>> Michael >>>> >>>> John Kline <[email protected]> schrieb am Fr., 26. Juni 2020, 20:54: >>>>> Well, I see loopdata in the log snippet you just sent. >>>>> >>>>> Would you try the grep again? >>>>> grep loopdata /var/log/syslog >>>>> >>>>> And look for the loopdata file again? >>>>> >>>>>> On Jun 26, 2020, at 11:48 AM, Michael Meyer <[email protected]> wrote: >>>>>> >>>>>> >>>>>> Yes I stopped, start and restart. >>>>>> I will try to find out how to send files. >>>>>> <Auszug.png> >>>>>> >>>>>> >>>>>> [email protected] schrieb am Freitag, 26. Juni 2020 um 20:28:49 UTC+2: >>>>>>> Not sure how to post files; but since you are running WeeWX 4 and >>>>>>> Python 3. Did you restart WeeWX after you installed loopdata? >>>>>>> >>>>>>> It’s to imagine why you don’t see any occurrence of loopdata in the >>>>>>> log? Do you see other weewx messages in the log? >>>>>>> >>>>>>>> On Jun 26, 2020, at 10:40 AM, Michael Meyer <[email protected]> wrote: >>>>>>>> >>>>>>>> >>>>>>> >>>>>>>> Weewx 4.1.1 is running I have Python 3.7 on my rpi. >>>>>>>> Any idea why I can't post the created myfile here? I just can post >>>>>>>> pictures but no files! I can create an attachment but couldn't send? >>>>>>>> >>>>>>>> [email protected] schrieb am Freitag, 26. Juni 2020 um 18:19:36 >>>>>>>> UTC+2: >>>>>>>>> It appears that loopdata isn’t running. >>>>>>>>> >>>>>>>>> Let’s start with the obvious. As stated in the README: >>>>>>>>> >>>>>>>>> This extension requires Python 3 and WeeWX 4. >>>>>>>>> >>>>>>>>> Are you running WeeWX 4.x? Are you running Python 3? >>>>>>>>> >>>>>>>>> If are on WeeWX 4.x and Python 3, use the following guide to post the >>>>>>>>> log and I’ll have a look. >>>>>>>>> >>>>>>>>> https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user >>>>>>>>> >>>>>>>>> Cheers, >>>>>>>>> John >>>>>>>>> >>>>>>>>>> On Jun 26, 2020, at 8:27 AM, Michael Meyer <[email protected]> wrote: >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>>> Hi John, >>>>>>>>>> thx for your help! grep loopdata /var/log/syslog doesn't deliver >>>>>>>>>> anything. With "where is" I get zero result in var/log/syslog. >>>>>>>>> >>>>>>>>>> <loopdata.png> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> <wee_extension.png> >>>>>>>>>> <var-www-html-weewx.png> >>>>>>>>>> Cheers, >>>>>>>>>> Michael >>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> 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/d261b8ee-957e-4158-9b80-dcbe21fcc3f5n%40googlegroups.com. >>>>>>>>>> <wee_extension.png> >>>>>>>>>> <var-www-html-weewx.png> >>>>>>>>>> <loopdata.png> >>>>>>>> >>>>>>>> -- >>>>>>>> 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/cf03c41c-a0fc-41f0-bee1-51e921e55122n%40googlegroups.com. >>>>>> >>>>>> -- >>>>>> 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/2b47dad8-63fb-4310-b7e6-befef8b22a0bn%40googlegroups.com. >>>>>> <Auszug.png> >>>>> >>>>> -- >>>>> 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/99150DD3-6998-4BAC-9E06-E461789335F9%40johnkline.com. >>>> >>>> -- >>>> 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/CAK0Zn%2BRxuLBBnPZMdruaALU-%3Dx8b0V_Xa87VTJYNMsEHNuAgXg%40mail.gmail.com. > -- > 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/2b71dcb5-9263-41b7-8481-823e9e609107o%40googlegroups.com. -- 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/37EDD2D1-CE6B-44DE-8A0E-E25D2C409698%40johnkline.com.
