I have removed now  rtgd  from weewx.config now weewx start but after a few 
minutes it crashes.
Oct 19 19:55:27 web weewxd[30246]: INFO weewx.engine: Main loop exiting. 
Shutting engine down.
Oct 19 19:55:27 web weewxd[30246]: INFO user.interceptor: shutting down 
server thread
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__: Caught unrecoverable 
exception:
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****  '>' not 
supported between instances of 'float' and 'NoneType'
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****  Traceback 
(most recent call last):
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 210, in run
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****     
 self.dispatchEvent(weewx.Event(weewx.CHECK_LOOP, packet=packet))
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 241, in dispatchEvent
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****     
 callback(event)
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 662, in check_loop
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****      raise 
BreakLoop
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     **** 
 weewx.engine.BreakLoop
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****  During 
handling of the above exception, another exception occurred:
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****  Traceback 
(most recent call last):
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewxd.py", line 127, in main
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****     
 engine.run()
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 217, in run
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****     
 self.dispatchEvent(weewx.Event(weewx.POST_LOOP))
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 241, in dispatchEvent
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****     
 callback(event)
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 672, in post_loop
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****     
 self._software_catchup()
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 743, in _software_catchup
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****     
 self.engine.dispatchEvent(weewx.Event(weewx.NEW_ARCHIVE_RECORD,
Oct 19 19:55:27 web weewxd[30246]: Traceback (most recent call last):
Oct 19 19:55:27 web weewxd[30246]:  File 
"/usr/share/weewx/weewx/engine.py", line 210, in run
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 241, in dispatchEvent
Oct 19 19:55:27 web weewxd[30246]:   
 self.dispatchEvent(weewx.Event(weewx.CHECK_LOOP, packet=packet))
Oct 19 19:55:27 web weewxd[30246]:  File 
"/usr/share/weewx/weewx/engine.py", line 241, in dispatchEvent
Oct 19 19:55:27 web weewxd[30246]:    callback(event)
Oct 19 19:55:27 web weewxd[30246]:  File 
"/usr/share/weewx/weewx/engine.py", line 662, in check_loop
Oct 19 19:55:27 web weewxd[30246]:    raise BreakLoop
Oct 19 19:55:27 web weewxd[30246]: weewx.engine.BreakLoop
Oct 19 19:55:27 web weewxd[30246]: During handling of the above exception, 
another exception occurred:
Oct 19 19:55:27 web weewxd[30246]: Traceback (most recent call last):
Oct 19 19:55:27 web weewxd[30246]:  File "/usr/share/weewx/weewxd.py", line 
226, in <module>
Oct 19 19:55:27 web weewxd[30246]:    main()
Oct 19 19:55:27 web weewxd[30246]:  File "/usr/share/weewx/weewxd.py", line 
127, in main
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****     
 callback(event)
Oct 19 19:55:27 web weewxd[30246]:    engine.run()
Oct 19 19:55:27 web weewxd[30246]:  File 
"/usr/share/weewx/weewx/engine.py", line 217, in run
Oct 19 19:55:27 web weewxd[30246]:   
 self.dispatchEvent(weewx.Event(weewx.POST_LOOP))
Oct 19 19:55:27 web weewxd[30246]:  File 
"/usr/share/weewx/weewx/engine.py", line 241, in dispatchEvent
Oct 19 19:55:27 web weewxd[30246]:    callback(event)
Oct 19 19:55:27 web weewxd[30246]:  File 
"/usr/share/weewx/weewx/engine.py", line 672, in post_loop
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****    File 
"/etc/weewx/bin/user/forecast.py", line 1212, in update_forecast
Oct 19 19:55:27 web weewxd[30246]:    self._software_catchup()
Oct 19 19:55:27 web weewxd[30246]:  File 
"/usr/share/weewx/weewx/engine.py", line 743, in _software_catchup
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****      elif 
time.time() - self.interval > self.last_ts:
Oct 19 19:55:27 web weewxd[30246]:   
 self.engine.dispatchEvent(weewx.Event(weewx.NEW_ARCHIVE_RECORD,
Oct 19 19:55:27 web weewxd[30246]:  File 
"/usr/share/weewx/weewx/engine.py", line 241, in dispatchEvent
Oct 19 19:55:27 web weewxd[30246]:    callback(event)
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****           
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 19 19:55:27 web weewxd[30246]:  File "/etc/weewx/bin/user/forecast.py", 
line 1212, in update_forecast
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****  TypeError: 
'>' not supported between instances of 'float' and 'NoneType'
Oct 19 19:55:27 web weewxd[30246]: CRITICAL __main__:     ****  Exiting.
Oct 19 19:55:27 web weewxd[30246]:    elif time.time() - self.interval > 
self.last_ts:
Oct 19 19:55:27 web weewxd[30246]:         
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 19 19:55:27 web weewxd[30246]: TypeError: '>' not supported between 
instances of 'float' and 'NoneType'
Oct 19 19:55:27 web systemd[1]: weewx.service: Main process exited, 
code=exited, status=1/FAILURE
Oct 19 19:55:27 web systemd[1]: weewx.service: Failed with result 
'exit-code'.


nedelja, 19. oktober 2025 ob 19:43:07 UTC+2 je oseba [email protected] 
napisala:

> I have now moved my weewx to rockylinux 10, now when I try to start it I 
> get this error.
> Any idea what can be? and now is weewx 5.2
>
> systemctl status weewx
> × weewx.service - WeeWX
>      Loaded: loaded (/usr/lib/systemd/system/weewx.service; enabled; 
> preset: disabled)
>      Active: failed (Result: exit-code) since Sun 2025-10-19 19:37:57 
> CEST; 6s ago
>    Duration: 677ms
>  Invocation: f0a57f1e8a754ae2bf44fde0cb58dd5a
>        Docs: https://weewx.com/docs
>     Process: 23523 ExecStart=weewxd /etc/weewx/weewx.conf (code=exited, 
> status=1/FAILURE)
>    Main PID: 23523 (code=exited, status=1/FAILURE)
>    Mem peak: 30.2M
>         CPU: 271ms
>
> okt 19 19:37:57 web.povej.net weewxd[23523]:             
>  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> okt 19 19:37:57 web.povej.net weewxd[23523]:   File 
> "/usr/lib64/python3.12/importlib/__init__.py", line 90, in import_module
> okt 19 19:37:57 web.povej.net weewxd[23523]:     return 
> _bootstrap._gcd_import(name[level:], package, level)
> okt 19 19:37:57 web.povej.net weewxd[23523]:           
>  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> okt 19 19:37:57 web.povej.net weewxd[23523]:   File "<frozen 
> importlib._bootstrap>", line 1387, in _gcd_import
> okt 19 19:37:57 web.povej.net weewxd[23523]:   File "<frozen 
> importlib._bootstrap>", line 1360, in _find_and_load
> okt 19 19:37:57 web.povej.net weewxd[23523]:   File "<frozen 
> importlib._bootstrap>", line 1324, in _find_and_load_unlocked
> okt 19 19:37:57 web.povej.net weewxd[23523]: ModuleNotFoundError: No 
> module named 'user.rtgd'
> okt 19 19:37:57 web.povej.net systemd[1]: weewx.service: Main process 
> exited, code=exited, status=1/FAILURE
> okt 19 19:37:57 web.povej.net systemd[1]: weewx.service: Failed with 
> result 'exit-code'.
>
>
> nedelja, 19. oktober 2025 ob 19:17:53 UTC+2 je oseba John Smith napisala:
>
>> You need to look in logs...
>>
>> On Sun, 19 Oct 2025 at 21:30, [email protected] <[email protected]> 
>> wrote:
>>
>>> I found out that database is not filling up. I have switched for a bit 
>>> on sqlite and nowthing new is showup like in mysql in archive
>>> what can be wrong?
>>>
>>> nedelja, 19. oktober 2025 ob 12:02:51 UTC+2 je oseba John Smith napisala:
>>>
>> You need at least python 3.7 or newer...
>>>
>>> On Sun, 19 Oct 2025 at 20:53, [email protected] <[email protected]> 
>>> wrote:
>>>
>>> hi
>>> ok so if i install 3.11 that will be the best?
>>> I noticed that my database is not updating.
>>>
>>> nedelja, 19. oktober 2025 ob 11:46:25 UTC+2 je oseba John Smith napisala:
>>>
>>>
>>>
>>> ---------- Forwarded message ---------
>>> From: *John Smith* <[email protected]>
>>> Date: Sun, 19 Oct 2025 at 20:45
>>> Subject: Re: Zasebno sporočilo na temo: [weewx-user] weewx stopped to 
>>> work
>>> To: [email protected] <[email protected]>
>>>
>>>
>>> That's another problem then, you need 3.7+
>>>
>>> On Sun, 19 Oct 2025 at 20:38, [email protected] <[email protected]> 
>>> wrote:
>>>
>>> Hi
>>> I didn't understand that post which link you gave me.
>>> Like if you have phyton 3.13 it doesn't work but if you have a python 
>>> 3.11 it will work.
>>> my  python3 --version
>>> Python 3.6.8
>>> so what else I can do?
>>>
>>>
>>> nedelja, 19. oktober 2025 ob 11:29:26 UTC+2 je oseba John Smith napisala:
>>>
>>> a 2 second search of this mailing list about python six would have 
>>> brought this post up:
>>>
>>> https://groups.google.com/g/weewx-user/c/04WSgv2Ze7g/m/Q5uEUV_UAQAJ
>>>
>>> On Sun, 19 Oct 2025 at 19:52, [email protected] <[email protected]> 
>>> wrote:
>>>
>>> Hi[image: 2025-10-19 10_26_35-weewx-user - Google Skupine — Mozilla 
>>> Firefox.png]
>>> I have installed weewx on my Almalinux 8.1
>>> weewx is weewxd version 5.2.0 installed with rpm package
>>> I also use interceptor extension driver version is 0.60, because weather 
>>> station is on one location and server is on another location
>>> and latelly it works and than few hours not and than again works few 
>>> hours and I didn't change anything on my hardware on anything else.
>>> Now just doesn't work. debug is enabled with 2
>>> here is a log file  
>>> https://privatebin.povej.net/?652988824f49d945#6xUKhFcie1eDiGJpnoAmgbwej9xCqZhgQsJQneFhR65f
>>>  
>>> here is weewx.config file
>>>
>>> https://privatebin.povej.net/?aac20f54dbbf38ec#6VhqcafPoLEBzYrFuwbLPLUGH1VBhkRhSxXSwA76ZDna
>>>  
>>> here is skin config file
>>>
>>> https://privatebin.povej.net/?59d1ce0e4a5b305d#9QV47nj3UTqQEBZ38c71KPzj867w7matybCsjpDGG52q
>>> and this is a debug log
>>>  weectl debug
>>> Using configuration file /etc/weewx/weewx.conf
>>> Traceback (most recent call last):
>>>   File "/usr/share/weewx/weectl.py", line 75, in <module>
>>>     main()
>>>   File "/usr/share/weewx/weectl.py", line 67, in main
>>>     namespace.func(namespace)
>>>   File "/usr/share/weewx/weectllib/__init__.py", line 90, in dispatch
>>>     namespace.action_func(config_dict, namespace)
>>>   File "/usr/share/weewx/weectllib/debug_cmd.py", line 54, in debug
>>>     weectllib.debug_actions.debug(config_dict, output=namespace.output)
>>>   File "/usr/share/weewx/weectllib/debug_actions.py", line 52, in debug
>>>     sink = contextlib.nullcontext(sys.stdout)
>>> AttributeError: module 'contextlib' has no attribute 'nullcontext'
>>>
>>> and this is from capturing packets from station
>>>  sudo timeout 20 tcpdump -ni any port 9800 -vv -A
>>> dropped privs to tcpdump
>>> tcpdump: listening on any, link-type LINUX_SLL (Linux cooked v1), 
>>> capture size 262144 bytes
>>>
>>> 0 packets captured
>>> 2 packets received by filter
>>> 0 packets dropped by kernel
>>> [root@web ~]# sudo timeout 20 tcpdump -ni any port 9800 -vv -A
>>> dropped privs to tcpdump
>>> tcpdump: listening on any, link-type LINUX_SLL (Linux cooked v1), 
>>> capture size 262144 bytes
>>>
>>> 0 packets captured
>>> 1 packet received by filter
>>> 0 packets dropped by kernel
>>> with captured packets
>>>
>>> https://privatebin.povej.net/?0c0c250a68f36a08#9xVUtGUueEZ5rVktBTNjvdaAm4Q4ULMJxpQ5cpnLvmeR
>>>
>>>
>>> -- 
>>> 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 visit 
>>> https://groups.google.com/d/msgid/weewx-user/41c739a3-b3de-451b-81ba-c1c5892827efn%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/41c739a3-b3de-451b-81ba-c1c5892827efn%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 visit 
https://groups.google.com/d/msgid/weewx-user/e0e12f1a-c3da-4f7a-83db-c1efeea5076en%40googlegroups.com.

Reply via email to