Issue 105 in wfrog: wfdriver.yaml problem with wfrog 0.8.2

0 views
Skip to first unread message

wf...@googlecode.com

unread,
Feb 20, 2012, 8:19:01 AM2/20/12
to wfrog-a...@googlegroups.com
Status: Accepted
Owner: pk2...@gmail.com
Labels: Type-Defect Priority-Medium OpSys-Linux Milestone-Release0.8

New issue 105 by pk2...@gmail.com: wfdriver.yaml problem with wfrog 0.8.2
http://code.google.com/p/wfrog/issues/detail?id=105

What steps will reproduce the problem?
1. Install wfrog 0.8.2
2. Reuse 0.8.1 config files but adjust to newest config files content
3. wfrog -v

What is the expected output? What do you see instead?

wfrog does not begin operating, just waiting.

Debug output is per
http://groups.google.com/group/wfrog-users/browse_thread/thread/29919cecba330cda

Please use labels and text to provide additional information.

More config files attached if needed.

Attachments:
wfdriver.yaml 529 bytes
settings.yaml 103 bytes
storage.yaml 464 bytes
wfrender.yaml 6.2 KB

wf...@googlecode.com

unread,
Feb 20, 2012, 9:16:22 AM2/20/12
to wfrog-a...@googlegroups.com

Comment #1 on issue 105 by jordi.pu...@gmail.com: wfdriver.yaml problem

The file is not wfdriver.yaml but embedded.yaml, since we use the driver
embedded in the logger. Can you post that file also?


wf...@googlecode.com

unread,
Feb 20, 2012, 3:24:40 PM2/20/12
to wfrog-a...@googlegroups.com

Comment #2 on issue 105 by pk2...@gmail.com: wfdriver.yaml problem with
wfrog 0.8.2
http://code.google.com/p/wfrog/issues/detail?id=105

Enclosing embedded.yaml from wfrender/config/
(have not configured it since thought using wfrender.yaml)

Attachments:
embedded.yaml 3.5 KB

wf...@googlecode.com

unread,
Feb 21, 2012, 7:01:43 AM2/21/12
to wfrog-a...@googlegroups.com

Comment #3 on issue 105 by jordi.pu...@gmail.com: wfdriver.yaml problem

The file that might be the cause of the error is
wfdriver/config/embedded.yaml, Please, attach this file

wf...@googlecode.com

unread,
Feb 21, 2012, 11:07:13 AM2/21/12
to wfrog-a...@googlegroups.com

Comment #4 on issue 105 by pk2...@gmail.com: wfdriver.yaml problem with
wfrog 0.8.2
http://code.google.com/p/wfrog/issues/detail?id=105

Sorry, here is my /usr/lib/wfrog/wfdriver/config/embedded.yaml:


station: !${settings.station.driver} { }
port: /dev/ttyS0
pressure_cal: -8

output: !service { name: events }


|-)

wf...@googlecode.com

unread,
Feb 21, 2012, 5:44:08 PM2/21/12
to wfrog-a...@googlegroups.com

Comment #5 on issue 105 by jordi.pu...@gmail.com: wfdriver.yaml problem

I think you need to delete the { } since you added port and pressure.

station: !${settings.station.driver}
port: /dev/ttyS0
pressure_cal: -8

or alternatively:


station: !${settings.station.driver} {port: /dev/ttyS0, pressure_cal: -8}


wf...@googlecode.com

unread,
Feb 22, 2012, 9:53:38 AM2/22/12
to wfrog-a...@googlegroups.com

Comment #6 on issue 105 by pk2...@gmail.com: wfdriver.yaml problem with
wfrog 0.8.2
http://code.google.com/p/wfrog/issues/detail?id=105

It seems that it helped to remove the { } - thanks a lot for help!

I am a little sursprised, since I think { } were there in 0.8.1, before my
extra port and pressure-items.

Is there no need for my current wfdriver.yaml, or ought that also be
changed?

embedded.yaml and wfdriver.yaml differ, is the extra info in wfdriver.yaml
(logging config) not needed?

It would perhaps be better then if 0.8.2+ embedded.yaml followed your
second suggestion, even if port etc is commented out.

I think this issue can be closed then.
Thanks


wf...@googlecode.com

unread,
Feb 22, 2012, 5:36:20 PM2/22/12
to wfrog-a...@googlegroups.com
Updates:
Status: Fixed

Comment #7 on issue 105 by jordi.pu...@gmail.com: wfdriver.yaml problem

Just eddited both config files to simplify this configuration (r888)
Closing issue

Reply all
Reply to author
Forward
0 new messages