wgd config - Bad parameter provided.
Opened this issue · 4 comments
While trying to set my commands, I mistyped one of the config options. Now I keep getting the error and cannot find a way to reset the config or remove that setting. If there is a way to find out where the config file is being stored, I haven't seen it. My wgd is fubared until this is resolved :(.
What was the command you ran that caused the issue?
The config file is stored at $ENV{HOME}/.wgdevcfg
I meant to set the root and ran the following:
wgd config command.webgui_config /data/WebGUI
BTW, I couldn't find that path to the config file documented anywhere and because of the error, I couldn't re-set the value. I've fixed the erroneous entry by editing the config to be the name of the site. I now have wgdev working correctly.
Thanks,
William
This just got me as well. Had to hand edit ~/.wgdevcfg to fix it
There's a number of things that should be done that would help with this:
- Options pulled from the config file should probably be ignored if they are invalid.
- Commands that don't need a WebGUI root or config file should allow invalid root/config options to be specified.
- There should be an option to ignore the wgdevcfg file
- The documentation should be improved so that people don't make this error
I've started working on issue 6, which is the first step to doing #3. #1 and #2 are probably the most helpful things, but they are significantly harder to fix. sbaur suggested better examples for the documentation, so I'll work on that when I get a chance.