New PyPortal PyNT now reports an .mpy error

Play with it! Please tell us which board you're using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
doctorwho8
 
Posts: 160
Joined: Sat Aug 01, 2009 10:24 pm

New PyPortal PyNT now reports an .mpy error

Post by doctorwho8 »

Hello!
I'm following the instructions to update the base code on the device from https://learn.adafruit.com/adafruit-pyportal?view=all and I've successfully updated everything there using the UF2 file described as most recent. However the code.py file that's giving the thing fits comes from the zip file for it marked 5.x and it causes an error on the screen which says:
"code.py output:
Traceback (Most recent call last):
File " code.py", line 3 in module:
MpyError: Incompatible ,mpy file. Please update all .mpy files see" and there it gives a location to look at, https://circuitpython.readthedocs.io/en ... e-mpy-file which is where the location shown on the screen points to. I've even erased the flash and followed the steps shown on the regular location above. And that happens. Nothing wrong upon plugging in the board first. Is it possible that the 5.x code referenced there is not compatible with the new features imported from the UF2 file asked for? A little help please I'm treading water here to remain on top instead of underwater.

User avatar
doctorwho8
 
Posts: 160
Joined: Sat Aug 01, 2009 10:24 pm

Re: New PyPortal PyNT now reports an .mpy error

Post by doctorwho8 »

doctorwho8 wrote:Hello!
I'm following the instructions to update the base code on the device from https://learn.adafruit.com/adafruit-pyportal?view=all and I've successfully updated everything there using the UF2 file described as most recent. However the code.py file that's giving the thing fits comes from the zip file for it marked 5.x and it causes an error on the screen which says:
"code.py output:
Traceback (Most recent call last):
File " code.py", line 3 in module:
MpyError: Incompatible ,mpy file. Please update all .mpy files see" and there it gives a location to look at, https://circuitpython.readthedocs.io/en ... e-mpy-file which is where the location shown on the screen points to. I've even erased the flash and followed the steps shown on the regular location above. And that happens. Nothing wrong upon plugging in the board first. Is it possible that the 5.x code referenced there is not compatible with the new features imported from the UF2 file asked for? A little help please I'm treading water here to remain on top instead of underwater.
And on a whim I went and traveled through the S3 bucket and found there a copy of the Version 5 UF2 file. And followed the instructions to put that on it. And as it happened the problem softly and silently vanished away, to quote Lewis Carroll. So I suspect there might be an inconsistency with the demo files, and the instructions to apply the latest release which is 7 to the board. But I'm interested in the responses of all of you.

Locked
Please be positive and constructive with your questions and comments.

Return to “Circuit Playground Classic, Circuit Playground Express, Circuit Playground Bluefruit”