Skip to content
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 in seamm argument_parser. #39

Open
paulsaxe opened this issue Oct 24, 2021 · 0 comments
Open

Bug in seamm argument_parser. #39

paulsaxe opened this issue Oct 24, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@paulsaxe
Copy link
Collaborator

  • MolSSI Util version:
  • Python version:
  • Operating System:

Description

The Dashboard tires on startup due to a '$' in the secret key. It can be wired around by editing the key in seamm.ini and replacing '$' signs.

What I Did

seamm-dashboard
Traceback (most recent call last):
  File "/Users/psaxe/opt/miniconda3/envs/seamm-dashboard/bin/seamm-dashboard", line 33, in <module>
    sys.exit(load_entry_point('seamm-dashboard==2021.6.11+7.gdc4d826', 'console_scripts', 'seamm-dashboard')())
  File "/Users/psaxe/opt/miniconda3/envs/seamm-dashboard/bin/seamm-dashboard", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/Users/psaxe/opt/miniconda3/envs/seamm-dashboard/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/Users/psaxe/opt/miniconda3/envs/seamm-dashboard/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/Users/psaxe/opt/miniconda3/envs/seamm-dashboard/lib/python3.9/site-packages/seamm_dashboard-2021.6.11+7.gdc4d826-py3.9.egg/seamm_dashboard/__init__.py", line 26, in <module>
    from .setup_argparsing import options, parser
  File "/Users/psaxe/opt/miniconda3/envs/seamm-dashboard/lib/python3.9/site-packages/seamm_dashboard-2021.6.11+7.gdc4d826-py3.9.egg/seamm_dashboard/setup_argparsing.py", line 761, in <module>
    parser.parse_args()
  File "/Users/psaxe/opt/miniconda3/envs/seamm-dashboard/lib/python3.9/site-packages/seamm_util/argument_parser.py", line 251, in parse_args
    value = self._interpolation.before_get(
  File "/Users/psaxe/opt/miniconda3/envs/seamm-dashboard/lib/python3.9/configparser.py", line 456, in before_get
    self._interpolate_some(parser, option, L, value, section, defaults, 1)
  File "/Users/psaxe/opt/miniconda3/envs/seamm-dashboard/lib/python3.9/configparser.py", line 516, in _interpolate_some
    raise InterpolationSyntaxError(
configparser.InterpolationSyntaxError: '$' must be followed by '$' or '{', found: "$\\x84\\xb3b\\xc3\\xeb@j\\n\\x8b\\x8a?\\x13\\xb6\\xde\\xe1\\xe9\\xf4q\\x87\\xe8'"
@paulsaxe paulsaxe added the bug Something isn't working label Oct 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant