Error: Access is denied. (os error 5) #374
-
I can't figure out why I keep getting this error when trying to run odbc2parquet. In my experience, this error is usually a result of folder permissions, but that doesn't seem to be the case (or I'm giving permission to the wrong user). Here's the command I'm running and its output:
Have I done something wrong in the installation? I don't have Rust installed. Is there an account other than |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hello @jmacak-at-dl , let's see.
Command seems fine. 'course I can't tell what the environment variable are doing.
Thanks for taking the time to debug the issue beforehand and sharing the steps with me.
Interessting, I would know little about all that, though.
No. Copying the executable is enough. Rust is a compiled, not interpreted language.
I cannot answer that. What I can say though, is that the most likely cause of error is that
Best, Markus |
Beta Was this translation helpful? Give feedback.
-
Happy that the issue is resolved for you. I will think about my error handling in these kinds of situation, in order to give a better message in the future. |
Beta Was this translation helpful? Give feedback.
Thank you so much for taking the time to respond!
I am able to create a file in the outPath directory as the same user. Also, changing the outPath to a different location (I tried simply the Documents folder) resulted in the same error.
However, literally as I was trying to collect information for this comment, I got the script into a working form, and I think I've been able to isolate the issue.
Here's the full script: