Skip to content

WARNING: WatchFiles detected changes in 'serial_data_handle V1_in.py'. Reloading... .Got stucked here #4190

Closed Answered by falkoschindler
v479038280 asked this question in Q&A
Discussion options

You must be logged in to vote
  • Sorry, @v479038280, this code is far from minimal. Is it really important how serial input is processed and which specific message is sent back? Are all try-except blocks necessary to reproduce the problem? Let alone all these unused imports...
  • And the code is not reproducible without having access to your port COM8 and the connected hardware.
  • Last but not least, reload=False doesn't match your problem description that something is trying to reload.

Anyway, I wonder if the inner while loop is preventing the app from terminating, because it doesn't check for app.is_stopped. And there's also the state app.is_stopping, which might be worth checking too.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@v479038280
Comment options

@falkoschindler
Comment options

Answer selected by v479038280
@v479038280
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants