Open CommonClimate opened 4 years ago
I have better error handled and returned to CWD in all the major areas. I'll leave the issue open for now as I'm sure there is further action to take and more spots to check. Hopefully this will cover common occurrences .
The current working directory reset can also be a problem in the R-part of the lipd-utilities when errors occur.
the cwd is changed to a temporary one internally, then (normally) restored to the original one. However, this fails if writeLipd() hits a bug in the writing process and exists before restoring. Suggestion: better error handling, making sure cwd is restored no matter what.