Did not see any recent Cumulus import issues. Don't know how that is.
This failure looks beyond my scope of knowledge.
Following are the pertinent pieces and parts (I think) other than printing lines out of the reported python files.
Cumulus.conf file entriessource = Cumulus
[Cumulus]
directory = /home/fiaranch/Files/cumulus_data
interval = x #There are likely missing records
qc = True #Assume invalid/extreme records
calc_missing = True #Not sure about this one.
separator = '/'
delimiter = ','
decimal = '.'
ignore_invalid_data = True
tranche = 250
UV_sensor = True
solar_sensor = True
[[Units]]
temperature = degree_F
pressure = mbar
rain = inch
speed = mile_per_hour
Dry Run Requestroot@weather:~# wee_import --import-config=/home/fiaranch/Files/cumulus.conf --dry-run --verbose
ResultUsing WeeWX configuration file /etc/weewx/weewx.conf
Starting wee_import...
Cumulus monthly log files in the '/home/fiaranch/Files/cumulus_data' directory will be imported
The following options will be used:
config=/etc/weewx/weewx.conf, import-config=/home/fiaranch/Files/cumulus.conf
from=None, to=None
dry-run=True, calc_missing=True, ignore_invalid_data=True
tranche=250, interval=x
UV=True, radiation=True
Using database binding 'wx_binding', which is bound to database 'weewx.sdb'
Destination table 'archive' unit system is '0x01' (US).
Missing derived observations will be calculated.
This is a dry run, imported data will not be saved to archive.
Starting dry run import ...
Records covering multiple periods have been identified for import.
Period 1 ...
Obtaining raw import data for period 1 ...
Traceback (most recent call last):
File "/usr/share/weewx/wee_import", line 899, in <module>
main()
File "/usr/share/weewx/wee_import", line 829, in main
source_obj.run()
File "/usr/share/weewx/weeimport/weeimport.py", line 382, in run
_raw_data = self.getRawData(period)
File "/usr/share/weewx/weeimport/cumulusimport.py", line 346, in getRawData
_line = clean_row.replace(self.decimal, '.')
AttributeError: 'CumulusSource' object has no attribute 'decimal'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
with os.fdopen(os.open(pr_filename,
FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_share_weewx_wee_import.0.crash'
Original exception was:
Traceback (most recent call last):
File "/usr/share/weewx/wee_import", line 899, in <module>
main()
File "/usr/share/weewx/wee_import", line 829, in main
source_obj.run()
File "/usr/share/weewx/weeimport/weeimport.py", line 382, in run
_raw_data = self.getRawData(period)
File "/usr/share/weewx/weeimport/cumulusimport.py", line 346, in getRawData
_line = clean_row.replace(self.decimal, '.')
AttributeError: 'CumulusSource' object has no attribute 'decimal'