HakaiInstitute / kelp-o-matic

Segmentation Tools for Remotely Sensed RPAS Imagery
http://kelp-o-matic.readthedocs.io
MIT License
15 stars 2 forks source link

RasterioIOError: Attempt to create new tiff file failed: Permission denied #75

Closed SageVisions closed 11 months ago

SageVisions commented 11 months ago

I successfully ran Kelp-O-Matic at the end of August, and now I'm receiving the following error:

RasterioIOError: Attempt to create new tiff file 'C:/Users/Xxxx.Xxxxx/Desktop/DDKashia/KelpOMaticOutput' failed: Permission denied.

Any suggestions you may have would be greatly appreciated.

tayden commented 11 months ago

Hi @SageVisions, here's a few things to check.

  1. You have enough user permissions to write to that directory. If it's not your own user directory, you will probably get denied access to create new files there.
  2. Double check that the directory you're writing to already exists. KoM won't create any new directories automatically.
  3. The output location you specify via the command line tool should end with ".tif", e.g. C:/Users/Xxxx.Xxxxx/Desktop/DD_Kashia/KelpOMaticOutput.tif
SageVisions commented 11 months ago

Hi Taylor, Number 3 was the golden nugget. Thank you very much.

On Wed, Nov 22, 2023 at 3:45 PM Taylor Denouden @.***> wrote:

Hi @SageVisions https://github.com/SageVisions, here's a few things to check.

  1. You have enough user permissions to write to that directory?
  2. Double check that the directory you're writing to already exists. KoM won't create any new directories automatically.
  3. The output location you specify via the command line tool should end with ".tif", e.g. C:/Users/Xxxx.Xxxxx/Desktop/DD_Kashia/KelpOMaticOutput.tif

— Reply to this email directly, view it on GitHub https://github.com/HakaiInstitute/kelp-o-matic/issues/75#issuecomment-1823644056, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEGCKVYWQ3IWOUM3KAE5NKTYF2FDJAVCNFSM6AAAAAA7W37NG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRTGY2DIMBVGY . You are receiving this because you were mentioned.Message ID: @.***>

tayden commented 11 months ago

Excellent. I'll add it to the To Do list that there should be some more helpful hints when the input or output paths don't look like as they are expected