[vz-dev] Antwort: vzlogger Patch

Michael Wulz michael.wulz at gmail.com
Mon May 6 09:35:51 CEST 2013


Hallo Justin,

Am 03.05.13 22:41, schrieb Justin Otherguy:
> Hi Michael,
>
> Am 03.05.2013 um 15:34 schrieb Michael Wulz:
>
>> On 03.05.13 13:43, Thorben Thuermer wrote:
>>> http://wiki.volkszaehler.org/software/controller/vzlogger#installation
>> das mit cmake und der Angabe der LIBSML Installation hat funktioniert. Danke
>>
>> Die Default vzlogger.conf die beim c++ dabei ist passt aber nicht - da muss die vzlogger-1.conf genommen werden.
>> (sollte man eventuell mal darauf hinweisen oder einfach die vzlogger-1.conf als Default nehmen)
> habe nicht verstanden, wo das Problem ist (und ich bin nicht sicher, dass vzlogger-1.conf für alle Nutzer das bessere Default ist).
Ja klappt aber mit der "default" Config schon nicht ;-(
>
> Wo hängt's?
root at raspberrypi:~# vzlogger -c /usr/local/src/vzlogger/etc/vzlogger.conf
[May 06 09:33:53][]     parse configuration failed due to:
[May 06 09:33:53]       Failed to parse configuration due to: 
basic_string::_S_construct null not valid

und mit der -1 Version:

root at raspberrypi:~# vzlogger -c /usr/local/src/vzlogger/etc/vzlogger-1.conf
[May 06 09:34:51]       Ignoring invalid field or type: baudrate=9600 
(string)
[May 06 09:34:51]       Ignoring invalid field or type: 
device=52709939-4183-472e-a3bb-78d944da9937 (string)
[May 06 09:34:51]       Ignoring invalid field or type: 
secretKey=57c56da4-5932-497c-bd80-6cb210c0b891 (string)
[May 06 09:34:51][]     open(/dev/ttyUSB1): No such file or directory
[May 06 09:34:51][mtr1] Cannot open meter
[May 06 09:34:51][]     Startup failed: Meteropen failed.

In dem Falle klar habe keinen ttyUSB1 da. Jedenfalls fehlt in der 
vzlogger.conf irgendwas, sodass der Parser
stirbt.

gruss
Michael


More information about the volkszaehler-dev mailing list