Replies: 1 comment
-
I just saw that there is already an issue open: #291 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since yesterday afternoon I have performance problems showing up as a delay of several seconds before the sampling starts.
Screen looks like this:
After about ten seconds sampling starts.
To check if this is due to extensions or other stuff on my system, I did a fresh clone.
Running
webui.sh
leads to the following error:The root cause is obvious:
rich
is not installed.But since it is in
requirements.txt
, it should be installed by the setup routine.But the setup routine is using it to report errors.
So we have a circular dependency.
I can solve this in some different ways. But I think I should discuss the solution beforehand.
My proposal is to modify
modules/errors.py
to check if rich is missing and use a simpleprint()
when that's the case.Or to use some try/except mechanism for the same purpose.
How about that?
And how would I send in patches? I'm pretty new to this git stuff.
After fixing this I would try to find the cause of the performance problems.
Beta Was this translation helpful? Give feedback.
All reactions