Hi,

Nothing leaps out at me having a quick look at the output and log files you 
posted. I'll endeavour to have a look at this tomorrow (bit late here). 
Could I ask you to post the import config file you are using, 
/etc/weewx/wd-import-test.conf. There should be nothing sensitive in the 
file.

Gary

On Sunday, 31 January 2021 at 22:28:32 UTC+10 peter.su...@gmail.com wrote:

> Hello,
> after using my Vantage pro 2 with Weather Display for about 15 years, I 
> think now its time for a change. :)
> I am making the first tests for transferring data, before switch the live 
> system.
>
> My problem, I cannot import the log data from wdisplay.
> I'm getting this error message:
>
> pi@WEEWX-DEMO:/etc/weewx $ wee_import --import-config=wd-import-test.conf 
> --from=2020-12-01T00:00 --to=2020-12-31T23:59 --verbose
> Using WeeWX configuration file /etc/weewx/weewx.conf
> Starting wee_import...
> Weather Display monthly log files in the '/tmp/wdisplay' directory will be 
> imported
> The following options will be used:
>      config=/etc/weewx/weewx.conf, 
> import-config=/etc/weewx/wd-import-test.conf
>      from=2020-12-01T00:00, to=2020-12-31T23:59
>      dry-run=None, calc_missing=True, ignore_invalid_data=True
>      monthly logs are in METRIC units
>      tranche=250, interval=1
>      UV=True, radiation=True ignore extreme temperature and humidity=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.
> Observations timestamped after 2020-12-01 00:00:00 CET (1606777200) and up 
> to and
> including 2020-12-31 23:59:00 CET (1609455540) will be imported.
> Starting 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 903, in <module>
>     main()
>   File "/usr/share/weewx/wee_import", line 833, in main
>     source_obj.run()
>   File "/usr/share/weewx/weeimport/weeimport.py", line 369, in run
>     _raw_data = self.getRawData(period)
>   File "/usr/share/weewx/weeimport/wdimport.py", line 598, in getRawData
>     _ts = "%s" % int(time.mktime(_tt))
> OverflowError: mktime argument out of range
>
>
> Any ideas? File content is looking ok.
> It is happening with all time tests across this 15 years.
> Here a month sample data.
>
> Thanks for any ideas...
> Peter
>
>

-- 
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/6e6c68b1-aafc-4ede-a8ee-1e02d8c3cbb6n%40googlegroups.com.

Reply via email to