@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'
>
> [image: belch09.jpg]
 

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 <mm24...@gmail.com 
> <javascript:>> 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 <jo...@johnkline.com <javascript:>> 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 <mm24...@gmail.com 
>> <javascript:>> wrote:
>>
>> 
>> Yes I stopped, start and restart. 
>> I will try to find out how to send files.
>> <Auszug.png>
>>
>>
>> jo...@johnkline.com 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 <mm24...@gmail.com> 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?
>>>
>>> jo...@johnkline.com 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 <mm24...@gmail.com> 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 weewx-user+...@googlegroups.com.
>>>>
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/weewx-user/d261b8ee-957e-4158-9b80-dcbe21fcc3f5n%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/weewx-user/d261b8ee-957e-4158-9b80-dcbe21fcc3f5n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> <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 weewx-user+...@googlegroups.com.
>>>
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/cf03c41c-a0fc-41f0-bee1-51e921e55122n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/cf03c41c-a0fc-41f0-bee1-51e921e55122n%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...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/2b47dad8-63fb-4310-b7e6-befef8b22a0bn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/2b47dad8-63fb-4310-b7e6-befef8b22a0bn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> <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 weewx...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/99150DD3-6998-4BAC-9E06-E461789335F9%40johnkline.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/99150DD3-6998-4BAC-9E06-E461789335F9%40johnkline.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...@googlegroups.com <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/CAK0Zn%2BRxuLBBnPZMdruaALU-%3Dx8b0V_Xa87VTJYNMsEHNuAgXg%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/weewx-user/CAK0Zn%2BRxuLBBnPZMdruaALU-%3Dx8b0V_Xa87VTJYNMsEHNuAgXg%40mail.gmail.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/6ae4e627-bbde-4e98-a4fb-909bdbfc8bd8o%40googlegroups.com.

Reply via email to