-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permission denied after Processing #1
Comments
wait wut |
Oh wait. I see the issue now...
It wasn't able to start the process, so the output path was not generated to being with... |
Can you tell me if you're using a Python Virtual Environment? And if so, how do you activate it? Do you have this file |
Same issue here : venv/bin/activate: Permission denied. Yes A1111 uses a venv to run, it is located at stable-diffusion-webui/venv if i open a terminal
it works. But it doesn't with the current code in the extension. |
Please try the new version |
Still not working :-/ tried and got :
Same issue. Tried to modify a bit bop.py to understand better. modified like :
Then got this error : i think source is a bash command to ask the shell to load the venv, but in your script it's the venv python that is trying to launch the source command something like /whatever/stable-diffusion-webui/venv/bin/python source instead of /bin/bash source |
Hmm, my command is ['source', '~webui/venv/bin/activate', '&&', 'python', 'run.py', ...]` though |
Again, the issue is not on the path. The path will exist if it launches the script properly. |
The source command is a built-in bash command and you need to get bash to launch it see https://stackoverflow.com/questions/7040592/calling-the-source-command-from-subprocess-popen Maybe there is another way to execute the /whatever/stable-diffusion-webui/repositories/BOP-BtL/run.py script from an extension.
Yes just like i said in #1 (comment) |
Reddit Discussion |
Does this help?
|
@jjlee many thanks for your input. i'd like to integrate this to @Haoming02 code but i have to define some variables like virtualenv_path and wrapper_script right? |
You can call
Since
|
Hello, please check out the dev branch~ I now run the functions directly instead of trying to call the scripts. Right now only the first step is implemented. Please test if it works correctly now. Delete the extension folder first and clone the new Then move the |
@jjlee once again, many thanks for your input, that's very interesting! i'm copy/pasting this in a .txt file in my tips folder right now! @Haoming02 the dev branch still fails with exact same errors. i'll use the original repo of BOPBTL with a venv in command line for the moment as this works nice. |
@ali0une |
Hum ... i thought i uninstalled the master branch of the extension properly before installing the dev branch but seems like not. Sorry, my bad. OK so we have a new error :
|
Did you disable |
No ... disabled Scratch and it works (without global restoration btw)!
Many thanks! |
Aye finally... |
Should be fixed on the |
Thank you for your continued work on this. I upgraded my main branch to the latest release and am now getting this error with no options checked
|
The latest commit now handles the cases where no CUDA-compatible GPU is available~ |
Assuming the issue has been fixed. |
Apologies, I was busy over the holiday and just saw you had tried to fix this issue. I can't reopen the issue as I am not a collaborator. I pulled the latest commit and am now seeing this error.
Another thing I noticed was that this message was displayed every time I launch SD. I know there is another issue open related to the "Installing requirements" message appearing.
|
I am receiving this permissions error after trying to process the image. I believe the issue is that it is unable to create the folder for the output. I am running this on a mac environment.
The text was updated successfully, but these errors were encountered: