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

Python library detection: handle detection errors #689

Open
1 of 2 tasks
orangecms opened this issue May 14, 2021 · 2 comments
Open
1 of 2 tasks

Python library detection: handle detection errors #689

orangecms opened this issue May 14, 2021 · 2 comments

Comments

@orangecms
Copy link
Collaborator

  • I'm submitting a ...

    • bug report
    • feature request
  • What is the current status?

Regardless of whether the board is not connected, the pslab-python library not found, or Python not found, the app currently just displays that the board is not connected, which leads to misunderstandings.

  • What is the expected behavior?

Display a third state for an error with the detection of Python and/or the library. Use some dedicated icon for it. On hover, display a precise message on the detection error, whether Python or the library could not be found.
When the library is not found, it is useful to also print environment variables that concern Python environments plus the Python version and binary path if found. This also helps us debug issues if people run into trouble.

@orangecms
Copy link
Collaborator Author

Some more hints on Python modules and path resolution:
https://realpython.com/lessons/why-cant-python-find-my-modules/

@cynthi8
Copy link
Contributor

cynthi8 commented Oct 23, 2021

duplicate of #685

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