Closed qdamian closed 7 years ago
Hi,
Thanks for the report.
The message you're seeing is not an error, and is not causing any issue other than the logging.
This message is generated as part of the process to determine the defaults for the running user as stated here:
http://plantweb.readthedocs.io/index.html#overriding-defaults
Other than changing the message from the prefix 'ERROR: '
to 'WARNING: '
I don't say this as an issue.
If you don't want the git lookup routine you can configure the plantweb.defaults.DEFAULTS_PROVIDERS variable.
Trying to use plantweb as a library, from a Jupyter notebook, this was logged:
ERROR: Unable to determine git root directory
It would be nice if the project didn't assume I'm running it from a git project and that the git tool is available. I think it's good that it can do that. But IMHO it shouldn't be the default behavior. Users could be running some different VCS, such as mercurial, or none at all.
Using plantweb 1.0.0 and python 3.6.0.