-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
image download and video creation was stuck for ~5days #12
Comments
Yesterday in the morning ... could have been around that time, I connected to the screen ... and saw this "Video already created, skipping". I assumed it was stuck in an endless loop and decided that I had not the resources to fix this on the weekend. But apparently just this connecting to the screen .. kind of fixed the issue. since later that day, this turns up:
Which, I think, is normal (I hardly ever looked at the video-process during daytime). And then later again this showed up:
So I would say ... it is running again just fine. I took great care to go out of "scroll mode" before disconnecting... so it should run fine now. |
I played around with this a bit...
in a screen on newdaq ... and immediately entered screens "scroll mode"... I went into scroll mode at I found this:
So after going into scroll mode my little lest program kept running for another second or so. Or I should rather say, it kept writing to stdout for another second or so... until the stdout buffer was full, then it was stuck. until I went out of scroll mode. So this shows again the "dangerousness" of "scroll mode". |
I think the easiest remedy for this is to use logging to file instead of logging to stdout. Maybe the most easy way to do this is to "monkey-patch" print... like this?
This is for setting up the logger. And this next line would monkey-patch
Better is of course to explicitly call |
I have no explanation... from the screen log, I was able to gather only this:
I have no idea, what might be the reason for this behavior.
All I could imagine is, that the same thing happened to overview_video is what also happened a few times to the FACT++ programs. When somebody is in the screen and stays in this "scroll mode", then the stdout buffer of the programs blocks the entire program at some point.
The text was updated successfully, but these errors were encountered: