Yep it seems to be working fine. Tried it with a dryrun and no more errors. Thanks again for the help.
I'm glad I have discovered weewx. Currently toying with the Cheetah generator to reproduce some files I need. On Sunday, September 22, 2019 at 6:09:54 PM UTC-4, Hyrules Hyrules wrote: > > Hi, > > I just discovered Weewx and i'm in the process of converting from Cumulus > and I'm trying to import > my monthly logs to my weewx database but after uploading the cumulus log > files and setting up my cumulus.conf > file I get the following errow when I try a dryrun : > > Starting wee_import... > Cumulus monthly log files in the '/var/tmp/cumulus' directory will be > imported > The following options will be used: > config=/etc/weewx/weewx.conf, import-config=/var/tmp/cumulus.conf > from=None, to=None > dry-run=True, calc_missing=True, ignore_invalid_data=True > tranche=250, interval=derive > UV=True, radiation=True > Using database binding 'wx_binding', which is bound to database 'weewx' > 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. > Obtaining raw import data for period 1... > Raw import data read successfully for period 1. > Mapping raw import data for period 1... > Traceback (most recent call last): > File "/usr/bin/wee_import", line 834, in <module> > main() > File "/usr/bin/wee_import", line 784, in main > source_obj.run() > File "/usr/share/weewx/weeimport/weeimport.py", line 350, in run > _mapped_data = self.mapRawData(_raw_data, self.archive_unit_sys) > File "/usr/share/weewx/weeimport/weeimport.py", line 664, in mapRawData > _temp = float(_row[self.map[_field]['field_name']].strip()) > AttributeError: 'NoneType' object has no attribute 'strip'Enter code here > ... > > I`ve been following the docs. Am I missing something ? > > My configuration file and sample monthly cumulus log file has been > attached to this message. Any help would be appreciated. > > My setup : > > Ubuntu server 19.04 > Davis Vantage Pro 2 > > Thanks > > > -- 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/6a42973c-8d7e-483f-8753-12f2d1d99f62%40googlegroups.com.
