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

Optimize issue #26

Closed
djdeathdj opened this issue Jan 19, 2024 · 2 comments
Closed

Optimize issue #26

djdeathdj opened this issue Jan 19, 2024 · 2 comments

Comments

@djdeathdj
Copy link

djdeathdj commented Jan 19, 2024

image

push Add and then we get an error:

TypeError: '>=' not supported between instances of 'NoneType' and 'int'
Traceback:
File "/home/clore/.local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script
exec(code, module.dict)
File "/home/clore/bot/pbgui/pages/3_Optimize.py", line 133, in
opt_edit()
File "/home/clore/bot/pbgui/pages/3_Optimize.py", line 43, in opt_edit
if my_opt.file and my_opt.position >= 0:

This error appears no matter what.
But I overcame this - we create the necessary conditions. Then in the opt_queue folder we take a fresh json and in it we edit what does not fit, then in the Queue we launch the need settings.

@msei99
Copy link
Owner

msei99 commented Jan 21, 2024

Can you please test with the latest version from dev branch. I can not reproduce this error, but fixed some bugs on optimizer queue.

@djdeathdj
Copy link
Author

djdeathdj commented Jan 22, 2024

Can you please test with the latest version from dev branch. I can not reproduce this error, but fixed some bugs on optimizer queue.

I also tried to repeat this error, but either after a reboot or restart it went away and did not return.

@msei99 msei99 closed this as completed Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants