rtcrthread: Unexpected exception of type <class 'AttributeError'>

69 views
Skip to first unread message

Martin H.

unread,
Aug 10, 2024, 6:36:51 AM8/10/24
to weewx-user
Hi
Can anybody help me out with this error?
Im running weewx on a Proxmox Virtual Container LXC and not quiet sure why im getting this error. On my meteotemplate the actual are not showing anymore ?
Im running 5.0.2 and when i update i have the next problem with loosing my usb to control the SDR Stick ....

73
Martin


rtcrthread: Unexpected exception of type <class 'AttributeError'>
Aug 10 12:28:31 weewx weewxd[637]: Exception in thread Thread-3:
Aug 10 12:28:31 weewx weewxd[637]: Traceback (most recent call last):
Aug 10 12:28:31 weewx weewxd[637]:   File "/etc/weewx/bin/user/rtcr.py", line 821, in process_packet
Aug 10 12:28:31 weewx weewxd[637]:     data = self.calculate(cached_packet)
Aug 10 12:28:31 weewx weewxd[637]:   File "/etc/weewx/bin/user/rtcr.py", line 980, in calculate
Aug 10 12:28:31 weewx weewxd[637]:     age=self.gust_period).value
Aug 10 12:28:31 weewx weewxd[637]: AttributeError: 'NoneType' object has no attribute 'value'
Aug 10 12:28:31 weewx weewxd[637]: During handling of the above exception, another exception occurred:
Aug 10 12:28:31 weewx weewxd[637]: Traceback (most recent call last):
Aug 10 12:28:31 weewx weewxd[637]:   File "/etc/weewx/bin/user/rtcr.py", line 771, in run
Aug 10 12:28:31 weewx weewxd[637]:     self.process_packet(_package['payload'])
Aug 10 12:28:31 weewx weewxd[637]:   File "/etc/weewx/bin/user/rtcr.py", line 837, in process_packet
Aug 10 12:28:31 weewx weewxd[637]:     weeutil.weeutil.log_traceback('rtcrthread: **** ')
Aug 10 12:28:31 weewx weewxd[637]: AttributeError: module 'weeutil.weeutil' has no attribute 'log_traceback'
Aug 10 12:28:31 weewx weewxd[637]: During handling of the above exception, another exception occurred:
Aug 10 12:28:31 weewx weewxd[637]: Traceback (most recent call last):
Aug 10 12:28:31 weewx weewxd[637]:   File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
Aug 10 12:28:31 weewx weewxd[637]:     self.run()
Aug 10 12:28:31 weewx weewxd[637]:   File "/etc/weewx/bin/user/rtcr.py", line 777, in run
Aug 10 12:28:31 weewx weewxd[637]:     weeutil.weeutil.log_traceback('*** ', syslog.LOG_DEBUG)

Tom Keffer

unread,
Aug 10, 2024, 10:11:08 AM8/10/24
to weewx...@googlegroups.com
It appears that the extension you are using uses a function that was moved in V4.0.0 (about 4 years ago). 

In particular, function log_traceback() was moved from weeutil.weeutil to weeutil.logger.

Try upgrading the extension.

--
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/f6665d83-8f17-41eb-b3c0-6c67cead73can%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages