-
Notifications
You must be signed in to change notification settings - Fork 144
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
Create "common issues" page and include BrickPi info #731
base: ev3dev-stretch
Are you sure you want to change the base?
Conversation
docs/common-issues.rst
Outdated
``Exception: Unsupported platform 'None'`` | ||
------------------------------------------ | ||
|
||
You probably forgot to `update config.txt`_. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be good to mention that this only applies to Raspberry Pi.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On BrickrPi3, there is also the common issue of "my sensors don't work". Solution is to copy https://github.com/ev3dev/ev3dev-lang-python-demo/blob/stretch/platform/brickpi3-motor-and-sensor.py
Common Issues with ev3dev-lang-python | ||
===================================== | ||
|
||
``/usr/bin/env: 'python3\r': No such file or directory`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another issue (possibly more common than this one) is "no module named ev3dev2". This is usually caused by users running the program on their computer instead of the EV3.
e.g. #539 (comment)
docs/common-issues.rst
Outdated
it again from Windows, you should configure your editor to use Unix-style | ||
line endings (LF--line-feed). For PyCharm, you can find a guide on doing this | ||
`here <https://www.jetbrains.com/help/pycharm/2016.2/configuring-line-separators.html>`_. | ||
In Visual Studio Code, there is an option in the lower-right corner. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think most users are using VS Code these days, so maybe list this one first with a screenshot?
Note that my instructions for debugging in vscode somewhat depend on ev3dev/vscode-ev3dev-browser@ee19751. |
I figured the FAQ was growing to include two different types of content so I split out the errors in a place that we can include lots of searchable error messages and such.
Fixes #728