mu-editor / crash-reports

0 stars 1 forks source link

Mu editor crashed when trying to open files #186

Open MhopeS opened 2 years ago

MhopeS commented 2 years ago

[REMEMBER] (/Users/mia/Library/Logs/mu/mu.logCrash Report) TO ATTACH YOUR LOG FILE

Version: 1.1.1 Locale: en_GB Platform: Darwin 20.6.0 Darwin Kernel Version 20.6.0: Tue Oct 12 18:33:38 PDT 2021; root:xnu-7195.141.8~1/RELEASE_ARM64_T8101 x86_64

Traceback (most recent call last):
  File "/Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages/mu/interface/panes.py", line 739, in on_ls
    for f in os.listdir(self.home)
PermissionError: [Errno 1] Operation not permitted: '/Users/mia/Documents/UNI-Onedrive/OneDrive - Imperial College London/Electronics/Lab 4/Lab4A'
carlosperate commented 2 years ago

Thanks for the report @MhopeS! Would you be able to attach the Mu log to this GitHub Issue as well? It'll be really useful to us for debugging. File should be located in: /Users/mia/Library/Logs/mu/mu.log

Based on the error it looks like you might not have permission to access those files. Normally when a macOS app tries to acces a file in the user home folder the operating system pops up a window asking the user if they'd like to let the application access those files. Did something like that pop up? You should be able to manually add Mu to the list of approved apps in: System Settings > Security & Privacy > Privacy > Files & Folders