8000 docs: Add beginnings of troubleshooting doc. by tannewt · Pull Request #220 · adafruit/circuitpython · GitHub
[go: up one dir, main page]

Skip to content

docs: Add beginnings of troubleshooting doc. #220

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

Merged
merged 2 commits into from
Sep 1, 2017

Conversation

tannewt
Copy link
Member
@tannewt tannewt commented Aug 31, 2017

Fixes #172. Related to #214.

@tannewt tannewt added this to the 2.0 milestone Aug 31, 2017
Copy link
@willingc willingc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tannewt A few suggestions for cleaning up the rst style.

@@ -0,0 +1,40 @@
Troubleshooting
==============================
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With rst, the underlines should match the length of the text above.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kk

File system issues
------------------------------

If your host computer starts complaining that your CIRCUITPY drive is corrupted
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's put CIRCUITPY inside of ``

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

before being reset by the button or being disconnected from USB. This can also
happen on Linux and Mac OSX but its less likely.

.. danger:: This will erase all your files in CIRCUITPY!
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps:

.. caution:: Delete ``CIRCUITPY`` filesystem and reload CircuitPython.

    To reload CircuitPython (for example, to correct a corrupted filesystem),
    follow the process below. It's important to note that **any files stored on the
    ``CIRCUITPY`` drive will be erased**.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

#. After about 15 seconds, the NexoPixel will start flashing green. If it flashes red, the erase failed.
#. Double-click again and load the appropriate `CircuitPython .uf2 <https://github.com/adafruit/circuitpython/releases/latest>`_.

ValueError: Incompatible .mpy file.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

`` around .mpy

ValueError: Incompatible .mpy file.
-------------------------------------

This error occurs when importing a module that is stored as a `mpy` binary file
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

`` around mypy and py

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

but, rarely they aren't. In particular, the `mpy` binary format changed between
CircuitPython versions 1.x and 2.x.

So, if you just upgraded to 2.x from 1.x you'll need to download a newer version
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

upgraded to CircuitPython 2.x..

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

CircuitPython versions 1.x and 2.x.

So, if you just upgraded to 2.x from 1.x you'll need to download a newer version
of the library. They are all available in the
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

library Adafruit or Community bundle of libraries.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reworded this to make it clearer.

@tannewt
Copy link
Member Author
tannewt commented Sep 1, 2017

Thanks for the suggestions!

@tannewt
Copy link
Member Author
tannewt commented Sep 1, 2017

I'm going to pull this now so I can get the link setup. I'll be happy to fix any further comments in a follow up.

@tannewt tannewt merged commit 7932df0 into adafruit:master Sep 1, 2017
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.

2 participants
0