Skip to content

EV3 firmware update fails on macOS with NotAllowedError: Failed to open the device #2817

Description

@GLEM-Nambiar

Describe the bug
When I try to update my LEGO MINDSTORMS EV3 using Pybricks Code on macOS, the update fails because Pybricks cannot open the EV3 device.

The error shown is:

An unexpected error occurred.

Failed to open the device.

NotAllowedError: Failed to open the device.

I am trying to update because my current Pybricks installation on the EV3 appears to be an older version.

To reproduce
Steps to reproduce the behavior:

  1. Connect a LEGO MINDSTORMS EV3 to a Mac using USB.
  2. Open Pybricks Code in Google Chrome.
  3. Select/connect to the EV3.
  4. Attempt to update the device/firmware.
  5. Select the EV3 when prompted by the browser.
  6. The update fails and displays `NotAllowedError: Failed to open the device.

Expected behavior
I expected Pybricks Code to successfully open the EV3 over USB and proceed with the device/firmware update.

Instead, the EV3 cannot be opened and the update stops.

The error dialog says:

An unexpected error occurred. Please consider reporting this so we can make a better error message. Click the Copy Error Message button below to copy the technical details and paste it in the bug report. Also include the operating system you are using, the web browser you are using and the actions you performed that led to this error.
Failed to open the device.
NotAllowedError: Failed to open the device.

Additional information

Device: LEGO MINDSTORMS EV3
Operating System: macOS 15.6
Browser: Google Chrome
Connection: USB with USB-C adapter
Error: NotAllowedError: Failed to open the device

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS: macOSIssues that only occur on macOSplatform: EV3Issues related to LEGO MINDSTORMS EV3software: pybricks-codeIssues with https://code.pybricks.com applicationsupportRequest for technical support for a problem that is not a bug or feature requesttopic: flashing firmwareIssues related to fhe firmware flashing process

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions