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

optimization hash not found when loading network #370

Closed
joAschauer opened this issue May 14, 2024 · 0 comments · Fixed by #373
Closed

optimization hash not found when loading network #370

joAschauer opened this issue May 14, 2024 · 0 comments · Fixed by #373
Assignees
Labels
bug Something isn't working

Comments

@joAschauer
Copy link
Collaborator

Error in Optimization tab on productive server:

TypeError: 'NoneType' object is not subscriptable

File "/usr/local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 535, in _run_script
    exec(code, module.__dict__)
File "/ptx-boa/ptxboa_streamlit.py", line 263, in <module>
    content_optimization(api)
File "/ptx-boa/app/tab_optimization.py", line 17, in content_optimization
    n, metadata = api.get_flh_opt_network(
File "/ptx-boa/ptxboa/api.py", line 287, in get_flh_opt_network
    hashsum = metadata["flh_opt_hash"]["hash_md5"]
@joAschauer joAschauer added the bug Something isn't working label May 14, 2024
@wingechr wingechr self-assigned this May 14, 2024
@wingechr wingechr linked a pull request May 14, 2024 that will close this issue
wingechr added a commit that referenced this issue May 14, 2024
…d-when-loading-network

fix network loading and reduce warnings/logging, closes #370
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

Successfully merging a pull request may close this issue.

2 participants