mrgmarsh / wfrog

Automatically exported from code.google.com/p/wfrog
GNU General Public License v3.0
0 stars 0 forks source link

wfdriver.yaml problem with wfrog 0.8.2 #105

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by pk2...@gmail.com on 20 Feb 2012 at 1:18

Attachments:

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

Original comment by jordi.pu...@gmail.com on 20 Feb 2012 at 2:15

GoogleCodeExporter commented 9 years ago
Enclosing embedded.yaml from wfrender/config/
(have not configured it since thought using wfrender.yaml)

Original comment by pk2...@gmail.com on 20 Feb 2012 at 8:24

Attachments:

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

Original comment by jordi.pu...@gmail.com on 21 Feb 2012 at 12:00

GoogleCodeExporter commented 9 years ago
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 }

|-)

Original comment by pk2...@gmail.com on 21 Feb 2012 at 4:06

GoogleCodeExporter commented 9 years ago
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}

Original comment by jordi.pu...@gmail.com on 21 Feb 2012 at 10:43

GoogleCodeExporter commented 9 years ago
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

Original comment by pk2...@gmail.com on 22 Feb 2012 at 2:52

GoogleCodeExporter commented 9 years ago
Just eddited both config files to simplify this configuration (r888)
Closing issue

Original comment by jordi.pu...@gmail.com on 22 Feb 2012 at 10:32