Closed hacker-h closed 3 years ago
issue also using current dev 9.5.0.9 of decode-config?
Yes, just reproduced it with latest dev commit: https://github.com/tasmota/decode-config/commit/ced97163474f0e13b697213a636a826b09623cb4 btw you might want to force push the commit message v9.2.0.9 => v9.5.0.9
Issue cames up if the file '/tmp/tasmota01.local.dmp' does not exists, that's an OS issue, Why this sometimes happens on your system I don't know. I will catch the error and issue a meaningful message.
To prevent this, use the obsolete parameter --file
for files only because -s
try to find out the source type automatically and if the file you give is reported as not existing from your OS this results in assuming it's an url.
Makes perfectly sense, thank you
Describe the bug Occasionally the absolute file path passed to decode-config is converted to a URL.
/tmp/tasmota01.local.dmp
=>http:///tmp/tasmota01.local.dmp/dl
To Reproduce Steps to reproduce the behavior: Run decode-config many times on a file, e.g.:
> 95% of the time this works fine however occasionally it yields this error:
Expected behavior decode-config should behave always the same
Version Information (please complete the following information):
-g System
to your decode-config parameter, e. g.decode-config -f myconfig.dmp -g System
):Additional context Add any other context about the problem here.