Giter Site home page Giter Site logo

Comments (7)

DominikDoom avatar DominikDoom commented on September 26, 2024

Did you place the file in the right spot? I tested it on Chrome and Firefox just now and it still works for me.

from a1111-sd-webui-tagcomplete.

evanjs avatar evanjs commented on September 26, 2024

I'm seeing a similiar issue with any files specified in wc.txt.

The wc.txt file appears to initialize as expected, but reads for the specified files seem to fail.

It looks like there is some sandboxing, and only certain files are allowed to load, as far as I can tell.

ValueError: File cannot be fetched: scripts/wildcards/views.txt, perhaps because it is not in any of
{'C:\\Users\\evanjs\\AppData\\Local\\Temp\\tmp1z27z66v', 'C:\\Users\\evanjs\\AppData\\Local\\Temp\\tmpfnroftve', ... }

Source of upstream error:
https://github.com/gradio-app/gradio/blob/831ae1405f0f2cddf8d508775731eef39c5a09df/gradio/routes.py#L253-L256

from a1111-sd-webui-tagcomplete.

DominikDoom avatar DominikDoom commented on September 26, 2024

Yes, Gradio for security reasons only allows to load files in the app root and its subdirectories via JavaScript. But everything in the wildcards folder should be fine under that condition.
Are you running the webui from a different location or something like that?

from a1111-sd-webui-tagcomplete.

evanjs avatar evanjs commented on September 26, 2024

Thanks for the 🦆, that makes sense now.
I have wildcards stored somewhere external to the webui, and that is what was causing issues on my end.
Ensuring any/all symlinks point to a directory within the application root ensures that the wildcard files can be loaded properly.

from a1111-sd-webui-tagcomplete.

martinobettucci avatar martinobettucci commented on September 26, 2024

I have the same problem since installing the extension via the installer manager from auto1111.
It works if I copy the extension manually into the root

from a1111-sd-webui-tagcomplete.

DominikDoom avatar DominikDoom commented on September 26, 2024

@martinobettucci Can you tell me a few more details? Is there an error message in the command prompt running the webui?
Also, if you used the legacy version before installing it from the manager, make sure to move/delete all script parts of it (see #76) so that there is no remnant still using old non-extension paths.

from a1111-sd-webui-tagcomplete.

DominikDoom avatar DominikDoom commented on September 26, 2024

Since the original issue was ages ago before the extension system, and the OP has not provided feedback, closing the issue for now.

from a1111-sd-webui-tagcomplete.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.