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

Flask debug mode causes the mystical "HandleQueuedBulkIn transfer in failed. Not found: USB transfer error 5" #63

Open
tracetechnical opened this issue Oct 5, 2021 · 1 comment

Comments

@tracetechnical
Copy link

Flask debug mode causes the app to initialise twice, opening another "handle" to the edge TPU.

Turning debug mode off fixes this.

Ref: https://stackoverflow.com/questions/9449101/how-to-stop-flask-from-initialising-twice-in-debug-mode#:~:text=When%20building%20a%20Flask%20service,Flask%20service%20only%20initialises%20once.

@robmarkcole
Copy link
Owner

Thanks for the alert!

sstratoti added a commit to sstratoti/coral-pi-rest-server that referenced this issue Oct 27, 2022
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