Why does Remi restart the app at seemingly random intervals? #543
Unanswered
johnperry-math
asked this question in
Q&A
Replies: 1 comment
-
I'd advise to check the browsers console, it could be your browser
invalidating something and forcing a refresh. Or at least you may find some
additional logs that help debug the issue.
…On Tue, Mar 4, 2025, 14:23 John Perry ***@***.***> wrote:
At first I thought it was something I had done, but I added a
print("initing") to MyApp's __init__ method in widgets_overview_app.py
and sure enough:
$ python widgets_overview_app.py
remi.server INFO Started httpserver http://0.0.0.0:8081/
initing
remi.request INFO built UI (path=/)
remi.gui DEBUG dropdown selected item with value DropDownItem 0
remi.gui DEBUG dropdown selected item with value DropDownItem 1
remi.gui DEBUG dropdown selected item with value DropDownItem 0
remi.request DEBUG get: /
127.0.0.1 - - [04/Mar/2025 08:11:01] "GET / HTTP/1.1" 200 -
initing
remi.request DEBUG get: /res:style.css
initing
[...snip...]remi.server.ws DEBUG send_message: 3... -> ('127.0.0.1', 50060)remi.server.ws DEBUG on_message: callbackremi.server.ws DEBUG send_message: 1140264874... -> ('127.0.0.1', 50060)remi.server.ws DEBUG send_message: 1140264874... -> ('127.0.0.1', 50060)remi.server.ws DEBUG send_message: 1140264874... -> ('127.0.0.1', 50060)remi.server.ws DEBUG send_message: 1140264874... -> ('127.0.0.1', 50060)remi.server.ws DEBUG send_message: 1140264874... -> ('127.0.0.1', 50060)
initingremi.server.ws DEBUG send_message: 1140264874... -> ('127.0.0.1', 50060)remi.server.ws DEBUG send_message: 1140264874... -> ('127.0.0.1', 50060)
I have yet to detect a rhyme or reason to it, but it causes serious
problems in my program: it displays an image, which means it reloads it
every time the the app restarts, which means associated data (dimensions,
saved parameters, etc.) get reloaded, and that's breaking things left and
right.
Why does this happen, and is there a way to prevent it?
—
Reply to this email directly, view it on GitHub
<#543>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANEK5FMLKCDE7DMPEZXLSD2SWZNLAVCNFSM6AAAAABYJVSCDWVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZYGAZTQNJQGM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
At first I thought it was something I had done, but I added a
print("initing")
to MyApp's__init__
method in widgets_overview_app.py and sure enough:I have yet to detect a rhyme or reason to it, but it causes serious problems in my program, which displays an image, which means it reloads it every time the the app restarts, which means associated data (dimensions, saved parameters, etc.) get reloaded, and that's breaking things left and right.
Why does this happen, and is there a way to prevent it?
Beta Was this translation helpful? Give feedback.
All reactions