-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
i18n: Quantum Chemical Input Generators may raise KeyError: 'Theory'
#1052
Comments
This should be fixed by #1037 - which is part of 1.97 release. Can you please try 1.97 release or a newer source / AppImage? Thanks. |
I try https://github.com/OpenChemistry/avogadrolibs/releases/download/1.97.0/Avogadro2-x86_64.AppImage but it still has the issue. |
|
Here are the build results |
Hello, I am experiencing the same issues. Would you please mind sharing the fixed AppImage files with me? Apparently I cannot access the artifacts any longer. Many thanks! |
Wonderful, it works perfect! Many thanks! |
Avogadro version: (please complete the following information from the About box):
Desktop version: (please complete the following information):
Describe the bug
The
Theory
key is necessary for input generators that supports ab initio calculations to performgenerateInput
, but it is accidentally translated in some locales, resulting inKeyError
.To Reproduce
He.xyz
LANG
whereTheory
is translated, e.g., German:LANG=de_DE.UTF-8 avogadro2 He.xyz
Eingabe
(Input
) and thenDALTON...
An error has occurred:
Here, JSON like below is passed to the generator, in which
Theory
is translated toTheorie
:Debug Script…
is not helpful becausedebug_info
tab does not appear.It works as expected under a locale where
Theory
is not translated, e.g.,sv_SE.UTF-8
.The following generators have the issue:
MOPAC has
Theory
but is successful.Expected behavior
Generators works without error.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here. Please consider uploading or linking test files.
The text was updated successfully, but these errors were encountered: