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

Create "common issues" page and include BrickPi info #731

Open
wants to merge 3 commits into
base: ev3dev-stretch
Choose a base branch
from

Conversation

WasabiFan
Copy link
Member

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

``Exception: Unsupported platform 'None'``
------------------------------------------

You probably forgot to `update config.txt`_.
Copy link
Member

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.

Copy link
Member

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``
Copy link
Member

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)

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.
Copy link
Member

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?

@WasabiFan
Copy link
Member Author

@WasabiFan
Copy link
Member Author

Note that my instructions for debugging in vscode somewhat depend on ev3dev/vscode-ev3dev-browser@ee19751.

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

Successfully merging this pull request may close these issues.

BrickPi3 example
2 participants