i dont know that who had this problem before but i cant delete files on my pico or save, rename,when i hold bootsel and drag the file flash_nuke.uf2 from documentation it just deletes micropython firmware here is the error code when i try to delete a file:Code:
Traceback (most recent call last): File "C:\Users\yaman\AppData\Local\Programs\Thonny\lib\tkinter\__init__.py", line 1921, in __call__ return self.func(*args) File "C:\Users\yaman\AppData\Local\Programs\Thonny\lib\site-packages\thonny\base_file_browser.py", line 618, in on_secondary_click self.refresh_menu(context="item") File "C:\Users\yaman\AppData\Local\Programs\Thonny\lib\site-packages\thonny\base_file_browser.py", line 632, in refresh_menu self.add_middle_menu_items(context) File "C:\Users\yaman\AppData\Local\Programs\Thonny\lib\site-packages\thonny\base_file_browser.py", line 742, in add_middle_menu_items if self.supports_trash(): File "C:\Users\yaman\AppData\Local\Programs\Thonny\lib\site-packages\thonny\base_file_browser.py", line 1269, in supports_trash return get_runner().get_backend_proxy().supports_trash()AttributeError: 'NoneType' object has no attribute 'supports_trash'
A traceback from an Editor running on a Windows system doesn't provide much insight into a possible problem on your PicoW.
The MicroPython developers have a command-line tool mpremote which might let you explore the status of files in the filesystem of your PicoW. (Which I would fully expect to have been purged by using the flash-nuke firmware.)
Ref: https://docs.micropython.org/en/latest/ ... emote.html
Note that Thonny maintains TWO filestore directory listings. One on the workstation running Thonny, and one on the linked microcontroller. The two views are not automatically synchronised.
Statistics: Posted by B.Goode — Thu Sep 05, 2024 9:03 pm