jdiazbb / rfxcmd

Automatically exported from code.google.com/p/rfxcmd
1 stars 0 forks source link

Running script from different folder generates "Configuration file not found" #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Script runs fine if run from same folder as config.xml. However, call it from 
another and the config file can't be found.

Can you consider hard-coding the path to the config file to its variable on 
line 2216 to a specific location, say ~/.rfxcmd/config.xml, and also making it 
available on lines 148 and 149?

Thanks

Matthew

Original issue reported on code.google.com by reevery@gmail.com on 26 Jan 2013 at 12:11

GoogleCodeExporter commented 8 years ago
os.getenv("HOME")+"/.rfxcmd/config.xml" works in ubuntu.

Original comment by reevery@gmail.com on 26 Jan 2013 at 12:14

GoogleCodeExporter commented 8 years ago
Thank you for your report. I have now fixed this in the upcoming 0.23 version.

Original comment by sebastia...@gmail.com on 26 Jan 2013 at 5:10

GoogleCodeExporter commented 8 years ago
version 0.23 is now released and fixes this issue.

Original comment by sebastia...@gmail.com on 9 Feb 2013 at 3:21