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

App freezes if there is a connection problem #71

Open
laurentopia opened this issue Jun 1, 2019 · 1 comment
Open

App freezes if there is a connection problem #71

laurentopia opened this issue Jun 1, 2019 · 1 comment

Comments

@laurentopia
Copy link

For example with the maix bit it happens very often that the board doesn't respond to save load if the python script dies. In such case, loading or saving a file from the board freezes upyloader.
The common thing that is expected of a putty type app is that it times out after a few seconds.

@BetaRavener
Copy link
Owner

There are actually timeouts in place, e.g. https://github.com/BetaRavener/uPyLoader/blob/master/src/connection/serial_connection.py#L258. I'm aware though that there are some freezes in configurations that I haven't been able to debug, that's also the reason for big header in readme. I would need you to dig around with debugger and find out at least place where it freezes waiting (should be easy to get stack trace), if not the cause. But it requires some skills with desktop python development.

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

No branches or pull requests

2 participants