-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Logging configuration update causes issue in default case of no logging configured #130
Comments
Just ran into this. For me, this only happens with the version installed via They are included in the conda package EDIT: The setup.py file should be changed: |
Yes. This issue appears to be not with the code, per se, but with the version published to pypi.org. That version lacks the |
Yes, we can definitely do that (Sorry for the late reply). I think the .ini
file must be missing from the setup.py file filters. I have been thinking
of releasing 0.9.8 as a minor release that cherry-picks a few features from
the master branch. Stay tuned for that.
- Lee-Ping
…On Fri, Apr 22, 2022 at 11:31 AM Colton Hicks ***@***.***> wrote:
Yes. This issue appears to be not with the code, per se, but with the
version published to pypi.org. That version lacks the config directory so
the logger initialization fails. @leeping <https://github.com/leeping>
would it be possible to publish a new version to pypi that contains the
config dir? Would be nice to have a pip instalable version without having
to install from source :)
—
Reply to this email directly, view it on GitHub
<#130 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAK76GBSSZHSXJYHONFIFFDVGLWAPANCNFSM45IEE43Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Fantastic! That would be great. I've been maintaining my own geometric version that adds a few of these fixes and it would be great to have the official published version include them :) |
The latest version of geomeTRIC on PyPI has the .ini files available, so it should work for you now. I'll close the issue but please reopen it if you're still having issues. Thanks!
|
Fantastic! I'd love to be able to build a few of my projects from PyPi instead of my patched versions on GitHub (makes distribution way easier). I'll get to my rebuilds over the coming weeks and ping you back if there are issues :) |
The first few lines of
run_json.geometric_run_json
updatelogging.config.fileConfig
; however, if no configuration is set, i.e., no formatters are already configured, this code raises an exception. Usingqcengine
to execute a basic optimization results in the following:Essentially, the code in
geomeTRIC
is assuming the presence of logging formatters that may not exist.The text was updated successfully, but these errors were encountered: