sunnyark / civitai-shortcut

140 stars 13 forks source link

There are no registered shortcuts. #39

Open srinoom opened 1 year ago

srinoom commented 1 year ago

When I drop Civitai model URL, it load but doen't happen

In the cmd, it said " There are no registered shortcurs"

Screenshot 2023-07-12 195407

sunnyark commented 1 year ago

Which civitai shortcut did you drag & drop? Try it with the attached method.

https://user-images.githubusercontent.com/40237431/240491352-e4f0bd60-0c81-45fe-aa60-652027579247.gif

https://user-images.githubusercontent.com/40237431/240491347-efdee43a-795e-4cb9-8c5e-322b5824bb8f.gif

Feynt commented 1 year ago

Can confirm, I too am getting this "no registered shortcuts" even when dragging the same URL as your gifs or copy/pasting the URLs into the given field.

sunnyark commented 1 year ago

@Feynt In Linux, even if URL drag-and-drop doesn't work, entering the URL into the field should still function. Since it's not working, we need to verify if the Civitai model's URL has been registered correctly. The URL should appear in this format: https://civitai.com/models/118174/madhuri-dixit

Feynt commented 1 year ago

@sunnyark In this case, among a few I've tried (such as yours and the lion dance one from the gif) was this: https://civitai.com/models/17649/bb95-furry-mix

All three of these, and many others, refuse to download when dragged into the appropriate area or when pasted in the given URL box. I know that the page link is proper, as well as the download button's link, as another extension was able to download given the appropriate information.

Addendum: I am using Linux. The Automatic1111 install is present in an Ubuntu 22.04 VM.

sunnyark commented 1 year ago

@Feynt What version is installed? Based on my testing, it was registered successfully. The current deployed version is 1.5.8. Is it possible to check the version? The version information should appear in the console during loading.

Feynt commented 1 year ago

The version reported in the Extensions listing under Installed is eee622d4.

sunnyark commented 1 year ago

@Feynt My test Linux version is Ubuntu 22.10 VM, but it doesn't seem to be much different from 22.04. It was successfully registered during testing, so I'm not sure what the problem could be. Is there anything installed differently from the typical Automatic1111?

edit: Do you think there might be an issue with permissions that is preventing the creation of folders and files in the extension?

olivierlacan commented 1 year ago

Same issue here on a remote Ubuntu machine, where does this extension expect to be able to write files? That would help to know what to chmod.

sunnyark commented 1 year ago

Files are being generated in the subfolder where this extension is installed. Typically, files are stored in stable-diffusion-webui\extensions\civitai-shortcut.

olivierlacan commented 1 year ago

@sunnyark I'm trying to reinstall A1111 in a separate non-root user since that might have had an impact on file permissions. Will let y'all know if that fixes the issue.

sunnyark commented 1 year ago

@olivierlacan However, I tested it on a remote Ubuntu machine and it worked smoothly when operated at the user level through SDUI. I have installed SDUI in the user folder, e.g. /home/sunnyark/ai/stable-diffusion-webui, for my operations.

ffdown commented 1 year ago

Not work "Scan" Civitai Shortcut: There are no registered shortcuts. FTW?