Hello Mario,
I have an error after testing this new version :
(I uninstalled the 0.4, and installed 0.7)
...
Oct 9 11:18:56 raspberrypi weewx[1650]: engine: Loading service
user.csv.CSV
Oct 9 11:18:56 raspberrypi weewx[1650]: engine: Caught unrecoverable
exception in engine:
Oct 9 11:18:56 raspberrypi weewx[1650]: **** global name 'syslog' is
not defined
Oct 9 11:18:56 raspberrypi weewx[1650]: **** Traceback (most recent
call last):
Oct 9 11:18:56 raspberrypi weewx[1650]: **** File
"/usr/share/weewx/weewx/engine.py", line 865, in main
Oct 9 11:18:56 raspberrypi weewx[1650]: **** engine =
engine_class(config_dict)
Oct 9 11:18:56 raspberrypi weewx[1650]: **** File
"/usr/share/weewx/weewx/engine.py", line 77, in __init__
Oct 9 11:18:56 raspberrypi weewx[1650]: ****
self.loadServices(config_dict)
Oct 9 11:18:56 raspberrypi weewx[1650]: **** File
"/usr/share/weewx/weewx/engine.py", line 141, in loadServices
Oct 9 11:18:56 raspberrypi weewx[1650]: ****
self.service_obj.append(weeutil.weeutil._get_object(svc)(self, config_dict))
Oct 9 11:18:56 raspberrypi weewx[1650]: **** File
"/usr/share/weewx/user/csv.py", line 29, in __init__
Oct 9 11:18:56 raspberrypi weewx[1650]: **** loginf("service
version is %s" % VERSION)
Oct 9 11:18:56 raspberrypi weewx[1650]: **** File
"/usr/share/weewx/user/csv.py", line 21, in loginf
Oct 9 11:18:56 raspberrypi weewx[1650]: ****
logmsg(syslog.LOG_INFO, msg)
Oct 9 11:18:56 raspberrypi weewx[1650]: **** NameError: global name
'syslog' is not defined
Oct 9 11:18:56 raspberrypi weewx[1650]: **** Exiting.
2017-10-06 4:17 GMT+02:00 mwall <[email protected]>:
> On Thursday, October 5, 2017 at 2:04:28 PM UTC-4, Jacques-Olivier Farcy
> wrote:
>>
>> Well i've done that several times.
>>
>> I also changed the code to have file named data-year-month.csv and it
>> works.
>>
>> But no headers in the file.
>>
>
> there was a bug in the logic for emitting a header.
>
> please use weewx-csv v0.7
>
> v0.7 also includes the 'append_datestamp' option (enabled by default) that
> puts YYYY-mm in the filename.
>
> m
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/weewx-user/KxNNsAhm274/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
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.