Chia-Network / chia-blockchain

Chia blockchain python implementation (full node, farmer, harvester, timelord, and wallet)
Apache License 2.0
10.83k stars 2.02k forks source link

[BUG] [Error 13] Permission denied. #3636

Closed vasya37 closed 3 years ago

vasya37 commented 3 years ago

[Error 13] Permission denied. You are trying to access a file/directory without having the necessary permissions. Most likely one of the plot folders in your config.yaml has an issue.

Hello! Error number 13 appeared. Now I can't add my own directories with plots, how can I solve this problem? Program version 1.1.3. System version Windows 10 pro 64 bit. Before that, everything worked fine, after the update, this problem appeared.

Alfed777 commented 3 years ago

++ same

vladimircicovic commented 3 years ago

Hi people, do this: Before doing this make backup of config.yaml first !

  1. Go to C:\Users{YOUR_USERNAME}\.chia\mainnet\config\
  2. Backup and THEN edit config.yaml
  3. find inside of yaml: plot_directories:
  4. Remove paths that are you not using or not existing or remove all (this is just where are directory for plot are)
  5. save config.yaml
  6. Start Chia app - if missing plot dir - add them

I just fixed and it works for me ok.

vasya37 commented 3 years ago

It works, thank you! There I had a few disks that I took out.

vladimircicovic commented 3 years ago

CLOBUG CLOBUG (close the bug)

htcll411 commented 3 years ago

Still can't be identified with this method!

salvarez1988 commented 3 years ago

Hi people, do this: Before doing this make backup of config.yaml first !

  1. Go to C:\Users{YOUR_USERNAME}.chia\mainnet\config\
  2. Backup and THEN edit config.yaml
  3. find inside of yaml: plot_directories:
  4. Remove paths that are you not using or not existing or remove all (this is just where are directory for plot are)
  5. save config.yaml
  6. Start Chia app - if missing plot dir - add them

Thank you very much, works!! I realize what happened and why this error happen!

vladimircicovic commented 3 years ago

Still can't be identified with this method!

Please describe what is happening. Could you remove all paths from config.yaml as I wroted ? And then add path by path.

htcll411 commented 3 years ago

I remove all paths from config.yaml and add path, but it's still not recognized

htcll411 commented 3 years ago

My wallet generates a new address,But the Manage Farming Rewards address is old, inconsistent.

ramiali1994 commented 3 years ago

Hello

Traceback (most recent call last): File "chia/cmds/chia.py", line 81, in File "chia/cmds/chia.py", line 77, in main File "click/core.py", line 829, in call File "click/core.py", line 782, in main File "click/core.py", line 1259, in invoke File "click/core.py", line 1259, in invoke File "click/core.py", line 1066, in invoke File "click/core.py", line 610, in invoke File "click/decorators.py", line 21, in new_func File "chia/cmds/plots.py", line 135, in create_cmd File "chia/plotting/create_plots.py", line 96, in create_plots File "chia/util/path.py", line 23, in mkdir File "pathlib.py", line 1312, in mkdir PermissionError: [Errno 13] Permission denied: '/Volumes/Chia - Temp' [20582] Failed to execute script chia

MacOS Big Sur Hard drive External 20TB ExFAT

I need Command to create Ploting in My mac but the main pc doing farm in windows then i have my pool key and my farm key

please help

thank you !

eagle283 commented 3 years ago

I had this same issue today. I'm running Win 10 and had 5 plots stuck because of permission denied. I looked at the log of the first plot that was stuck, found the file that had permission issues and copied the name to notepad. I went to my ssd temp plotting directory and searched for the file name and copied that file to a different directory, deleted the old one in the temp plotting directory and than copied it back to the plotting directory. All of the plots that were stuck are now continuing. I hope this helps you.

baronduke commented 3 years ago

J'ai eu le même bug aujourd'hui . Suite au retrait d'un disque dur usb. Mais une nouvelle erreur s'affiche après avoir supprimer les lignes du fichier config.yaml

Erreur : argument of type "none Type" is not iterable

Que dois-je faire ?

Alexcrte4 commented 3 years ago

I remove all paths from config.yaml and add path, but it's still not recognized

in my case my wallet address was missing after restart windows.

I solved doing the following: 1- In config.yaml search "xch_target_address: null" (it appears 2 times) 2- Replase "null" with your wallet address. 3- Save config.yaml. 4- Start chia app, check your plots they should be working.