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

UI hangs after some time, print continues #1392

Open
VanessaE opened this issue Nov 21, 2023 · 2 comments
Open

UI hangs after some time, print continues #1392

VanessaE opened this issue Nov 21, 2023 · 2 comments

Comments

@VanessaE
Copy link
Contributor

VanessaE commented Nov 21, 2023

I'm using Pronterface 2.0.0rc8 from Debian Bookworm repository, desktop environment is XFCE 4.18.

I am getting frequent UI hang-ups. The UI just stops producing output and stops accepting input. When in this state, the window will completely lose its contents if, for example, I minimize it or roll it up and then restore it. Said contents get replaced with a copy of whatever was under the window at the moment, mimicking the classic signs of a crashed program...

Except the program isn't totally deadlocked -- if there's a print going, it continues unabated, or at least so far as I've seen. The condition of the UI seems to have no bearing on that.

It is not required to even have a print going. Today, for example, I had it hang-up while the printer was doing a hotend temperature auto-tune.

If I try to close the hung program via the window close [X] icon, my click is ignored by Pronterface, but after a couple of seconds, my window manager detects this and offers to terminate the program, which always succeeds.

I can't see any pattern to this behavior. It just...randomly dies. It seems to be most prone to it if I simply leave it alone, but that could just because it spends most of its time going about its business or just sitting idle.

When the UI hangs, I get this in the controlling terminal:

Attempted to write invalid text to console, which could be due to an invalid baudrate

It just floods and floods that one message until I kill the program.

@DivingDuck
Copy link
Collaborator

Hi @VanessaE
are you able to run Pronterface from source (Running from source)? There will be no update for this ancient version. We had a lot of changes after this release candidate was build. I wonder if this happen with our actual code too. We are happy to help you to set up the code if needed.
(I don't dare to ask if your baud rate was set properly) 😊

@VanessaE
Copy link
Contributor Author

Hi @VanessaE are you able to run Pronterface from source (Running from source)?

No, last time I tried to build it, things did not go well. See #1390, which you already commented on. 😄

There will be no update for this ancient version.

Nor should there be, 2.0.0rc8 is horribly outdated. Instead, I would hope the Debian package would get updated to something more recent. There is a newer build (2.0.1) in Debian Sid/unstable, but @rockstorm101 said it's not ready to be pushed to stable due to probs with Pyglet (#1390 (comment)).

I don't dare to ask if your baud rate was set properly 😊

Well I wouldn't expect baud rate would apply when writing to a local terminal or console. 😛

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants