stable.art icon indicating copy to clipboard operation
stable.art copied to clipboard

Failed to load Stable.art

Open nabileisa opened this issue 2 years ago • 9 comments

Hi, I was attempting to install the extension and kept failing to load with the error Failed to load Stable.art, so I took a look at the code to try and figure out what the problem was and turns out the scripts were being loaded from https://stable.art/ not from the extension files .

<!doctype html><html><head><title>Stable.art</title><script defer="defer" onerror="handleScriptError()" src="https://stable.art/plugin-code/js/chunk-vendors.js"></script><script defer="defer" onerror="handleScriptError()" src="https://stable.art/plugin-code/js/app.js"></script></head><body><div id="app"><sp-heading size="L" style="text-align: center;" id="app-loader">Loading...</sp-heading></div><script>function handleScriptError() {
        document.getElementById('app-loader').textContent = 'Failed to load Stable.art';
      };</script></body></html>

so,why is it loading the js files from a remote site instead of the files that are bundled with it?

nabileisa avatar Jan 17 '23 23:01 nabileisa

For updates - it allows users to get new versions almost in real time and I do not need to spend time creating separate ccx files for every update. Bundled files will be used in the future as a fallback for cases like yours, but I did not have time to implement it.

However, it is strange that you have this error. Could you open https://stable.art/plugin-code/js/app.js in the browser, does it work?

isekaidev avatar Jan 18 '23 00:01 isekaidev

Understandable ,I just wish that mechanism and the always online requirement was mentioned in the readme for transparency at least. as for the error I know the reason for it was because the machine I was testing it on was offline and photoshop had no access to the internet. Thanks for the reply and the great work on this plugin and I look forward to future updates.

nabileisa avatar Jan 18 '23 10:01 nabileisa

Understandable ,I just wish that mechanism and the always online requirement was mentioned in the readme for transparency at least. as for the error I know the reason for it was because the machine I was testing it on was offline and photoshop had no access to the internet. Thanks for the reply and the great work on this plugin and I look forward to future updates.

This, would be good if the need of Online mode could be configurable by the user. So plugin could work without connection too.

ZeroCool22 avatar Feb 02 '23 15:02 ZeroCool22

tried installing this plugin installation went ok but all it says in big is loading... does not work

sstoryart1 avatar Mar 29 '23 12:03 sstoryart1

image

davidcovo avatar Mar 31 '23 04:03 davidcovo

New to Github, first comment ever, English is not my first language. I would love to add my voice here, if you can, would you please allow the plugin offline functionality?

yadyadayada avatar May 17 '23 23:05 yadyadayada

Is there a workaround to the always online requirement? My internet is really inconsistent where I live right now and sometimes I like to use the plugin where there is no broadband

IWDLACSWCAKT avatar May 19 '23 08:05 IWDLACSWCAKT

Go to the index.html and remove the http://localhost:8080

Just keep it
and it will check in your local folder structure.

GoregoriDes avatar Jun 13 '23 04:06 GoregoriDes

Go to the index.html and remove the http://localhost:8080

Just keep it and it will check in your local folder structure.

I did this and it worked, thank you! But this generated other problems: -Generate button won't display % progress of current generation, it only displays how many seconds have passed (this is not an issue, although it might help someone understand what's going on better than me) -Extra options no longer appear, meaning it will always create 4 different pictures, and I can't change the resolution when using inpaint.

IWDLACSWCAKT avatar Jul 12 '23 22:07 IWDLACSWCAKT