-
Hello all, I'm having an issue where upon installing the extension in A1111 for the first time, I am presented with the modal/dialog box stating:
I absolutely have copied the EDIT: I also just tried adding |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 2 replies
-
I've tried all kinds of things to get this working, even changing the line endings of FWIW, I think that the line |
Beta Was this translation helpful? Give feedback.
-
Did you place your .env file correctly? |
Beta Was this translation helpful? Give feedback.
-
Yes, I copied the file in place, renamed it, and modified the copy. |
Beta Was this translation helpful? Give feedback.
-
I cannot reproduce this issue. I tried two different methods, and both of them worked fine. This limitation has been in place for several months, and there haven't been any similar reports before. It's possible that there is an exception occurring with the dotenv package. |
Beta Was this translation helpful? Give feedback.
-
Same problem here. Had to stop using this extension and change to other image browser :/ |
Beta Was this translation helpful? Give feedback.
-
@zanllp I figured it out just now. After updating the extension and having to "fix" this once again, I spent some time getting to the bottom of it. It turns out that if I start A1111 from an elevated prompt, the issue is fixed. It was my comment here that led me down the right path to solving the issue, as it didn't seem right that a call to I don't know if every other person using the extension is running as admin, or if there's just something configured strangely with my system, but it might be worth noting somewhere that in order for authentication/secret keys to work correctly in Windows, the user may have to run as administrator. |
Beta Was this translation helpful? Give feedback.
@zanllp I figured it out just now. After updating the extension and having to "fix" this once again, I spent some time getting to the bottom of it. It turns out that if I start A1111 from an elevated prompt, the issue is fixed.
It was my comment here that led me down the right path to solving the issue, as it didn't seem right that a call to
os.getenv()
was failing, unless there was a permissions issue. Running A1111 as administrator allowed that call to function correctly on my system, resolving the problem.I don't know if every other person using the extension is running as admin, or if there's just something configured strangely with my system, but it might be worth noting somewhere t…