Skip to content

Mac Install to V5a Not Permitted #3

Description

@wrong-formatt
mattchang@laptop CircuitPython_RP2350_v5a % make install-firmware
 Updated https://github.com/proveskit/install-firmware (dd2f8a2)
   Built install-firmware @ git+https://github.com/proveskit/install-firmware@dd2f8a21a197e313035f4b96ab3711135408942f
Installed 6 packages in 2ms
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/shutil.py", line 816, in move
    os.rename(src, real_dst)
OSError: [Errno 18] Cross-device link: 'firmware.uf2' -> '/Volumes/RP2350/firmware.uf2'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/mattchang/.cache/uv/archive-v0/nzbI9-DCKqaoEn1hF6Vzv/bin/install-firmware", line 12, in <module>
    sys.exit(main())
  File "/Users/mattchang/.cache/uv/archive-v0/nzbI9-DCKqaoEn1hF6Vzv/lib/python3.10/site-packages/install_firmware.py", line 49, in main
    shutil.move("firmware.uf2", "/Volumes/RP2350")
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/shutil.py", line 836, in move
    copy_function(src, real_dst)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/shutil.py", line 434, in copy2
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/shutil.py", line 256, in copyfile
    with open(dst, 'wb') as fdst:
PermissionError: [Errno 1] Operation not permitted: '/Volumes/RP2350/firmware.uf2'
make: *** [install-firmware] Error 1
mattchang@laptop CircuitPython_RP2350_v5a % sudo make install-firmware
Password:
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/shutil.py", line 816, in move
    os.rename(src, real_dst)
OSError: [Errno 18] Cross-device link: 'firmware.uf2' -> '/Volumes/RP2350/firmware.uf2'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/mattchang/.cache/uv/archive-v0/nzbI9-DCKqaoEn1hF6Vzv/bin/install-firmware", line 12, in <module>
    sys.exit(main())
  File "/Users/mattchang/.cache/uv/archive-v0/nzbI9-DCKqaoEn1hF6Vzv/lib/python3.10/site-packages/install_firmware.py", line 49, in main
    shutil.move("firmware.uf2", "/Volumes/RP2350")
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/shutil.py", line 836, in move
    copy_function(src, real_dst)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/shutil.py", line 434, in copy2
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/shutil.py", line 256, in copyfile
    with open(dst, 'wb') as fdst:
PermissionError: [Errno 1] Operation not permitted: '/Volumes/RP2350/firmware.uf2'
make: *** [install-firmware] Error 1
mattchang@laptop CircuitPython_RP2350_v5a % make install-firmware 
Failed to find PROVES Kit bootloader directory
mattchang@laptop CircuitPython_RP2350_v5a % make install-firmware
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/shutil.py", line 816, in move
    os.rename(src, real_dst)
OSError: [Errno 18] Cross-device link: 'firmware.uf2' -> '/Volumes/RP2350/firmware.uf2'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/mattchang/.cache/uv/archive-v0/nzbI9-DCKqaoEn1hF6Vzv/bin/install-firmware", line 12, in <module>
    sys.exit(main())
  File "/Users/mattchang/.cache/uv/archive-v0/nzbI9-DCKqaoEn1hF6Vzv/lib/python3.10/site-packages/install_firmware.py", line 49, in main
    shutil.move("firmware.uf2", "/Volumes/RP2350")
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/shutil.py", line 836, in move
    copy_function(src, real_dst)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/shutil.py", line 434, in copy2
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/shutil.py", line 256, in copyfile
    with open(dst, 'wb') as fdst:
PermissionError: [Errno 1] Operation not permitted: '/Volumes/RP2350/firmware.uf2'
make: *** [install-firmware] Error 1

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

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions