The plot thickens. Different error:
[root@norge ~]# locate wee_import
/usr/bin/wee_import
/usr/share/weewx/wee_import
[root@norge ~]# ls -la /usr/bin/wee_import
lrwxrwxrwx. 1 root root 25 Mar 24 2017 /usr/bin/wee_import ->
../share/weewx/wee_import
[root@norge ~]# /usr/bin/wee_import --import-config=/var/tmp/wu.conf
--from=2017/11/30T09:00 --to=2017/12/13T15:30 --dry-run
Starting wee_import...
Traceback (most recent call last):
File "/usr/bin/wee_import", line 703, in <module>
main()
File "/usr/bin/wee_import", line 652, in main
wlog)
File "/usr/share/weewx/weeimport/weeimport.py", line 289, in sourceFactory
file_name=options.import_config_path)
File "/usr/share/weewx/weecfg/__init__.py", line 223, in read_config
config_dict = configobj.ConfigObj(config_path, file_error=True)
File "/usr/lib/python2.7/site-packages/configobj.py", line 1242, in
__init__
self._load(infile, configspec)
File "/usr/lib/python2.7/site-packages/configobj.py", line 1332, in _load
raise error
configobj.ConfigObjError: Parsing failed with several errors.
First error at line 28.
[root@norge ~]#
Looks like it's getting the right version of wee_import . . . can one
do this with weewx running? I was just thinking two programs trying to
bang away at the database might be the cause. Nope . . . I just stopped
weewx and re-ran wee_import. It gave the same errors as above. Any other
suggestions?
- Paul VE1DX
On Thursday, December 14, 2017 at 11:38:48 AM UTC-4, Andrew Milner wrote:
>
> is wee_import actually in /bin - or is it somewhere else - in which case
> try giving the full path to it
>
>
>
> On Thursday, 14 December 2017 17:00:24 UTC+2, WindnFog wrote:
>
>> When trying to import some missing data from WU, I get the following
>> error:
>>
>> wee_import --config=/etc/weewx/weewx.conf
>> --import-config=/var/tmp/wu.conf --from=2017/11/30T09:00
>> --to=2017/12/13T15:30 --dry-run
>>
>> Dec 14 10:44:36 norge python[2407]: detected unhandled Python exception
>> in '/bin/wee_import'
>> Dec 14 10:44:36 norge abrt-server[2412]: Package 'weewx' isn't signed
>> with proper key
>> Dec 14 10:44:36 norge abrt-server[2412]: 'post-create' on
>> '/var/spool/abrt/Python-2017-12-14-10:44:36-2407' exited with 1
>> Dec 14 10:44:36 norge abrt-server[2412]: Deleting problem directory
>> '/var/spool/abrt/Python-2017-12-14-10:44:36-2407'
>>
>> Any suggestions on what's causing the improper key message and how to fix
>> it? Are their any other configuration files or logs I can provide to help
>> diagnose this?
>>
>> I'm running weewx v3.7.1 at the moment. I'd prefer not to upgrade to 3.8
>> just yet as I'm just recovering from a 13-day hardware failure of my ISS .
>> . . I want to fix one thing at a time. If the "fix" for my import is to
>> upgrade, I will . . . but would prefer to have everything ticking on v3.7.1
>> with the new ISS instead of changing too many things at once.
>>
>> Thanks, Paul VE1DX
>>
>
--
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].
For more options, visit https://groups.google.com/d/optout.