Giter Site home page Giter Site logo

Comments (6)

tsound97 avatar tsound97 commented on September 26, 2024

Also, the temp folder can't be created successfully.

ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/starlette/responses.py", line 331, in call
stat_result = await anyio.to_thread.run_sync(os.stat, self.path)
File "/usr/local/lib/python3.7/dist-packages/anyio/to_thread.py", line 32, in run_sync
func, *args, cancellable=cancellable, limiter=limiter
File "/usr/local/lib/python3.7/dist-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "/usr/local/lib/python3.7/dist-packages/anyio/_backends/_asyncio.py", line 867, in run
result = context.run(func, *args)
FileNotFoundError: [Errno 2] No such file or directory: '/content/gdrive/MyDrive/sd/stable-diffusion/tmp/tagAutocompletePath.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/uvicorn/protocols/http/h11_impl.py", line 405, in run_asgi
self.scope, self.receive, self.send
File "/usr/local/lib/python3.7/dist-packages/uvicorn/middleware/proxy_headers.py", line 78, in call
return await self.app(scope, receive, send)
File "/usr/local/lib/python3.7/dist-packages/fastapi/applications.py", line 270, in call
await super().call(scope, receive, send)
File "/usr/local/lib/python3.7/dist-packages/starlette/applications.py", line 124, in call
await self.middleware_stack(scope, receive, send)
File "/usr/local/lib/python3.7/dist-packages/starlette/middleware/errors.py", line 184, in call
raise exc
File "/usr/local/lib/python3.7/dist-packages/starlette/middleware/errors.py", line 162, in call
await self.app(scope, receive, _send)
File "/usr/local/lib/python3.7/dist-packages/starlette/middleware/gzip.py", line 24, in call
await responder(scope, receive, send)
File "/usr/local/lib/python3.7/dist-packages/starlette/middleware/gzip.py", line 43, in call
await self.app(scope, receive, self.send_with_gzip)
File "/usr/local/lib/python3.7/dist-packages/starlette/middleware/exceptions.py", line 75, in call
raise exc
File "/usr/local/lib/python3.7/dist-packages/starlette/middleware/exceptions.py", line 64, in call
await self.app(scope, receive, sender)
File "/usr/local/lib/python3.7/dist-packages/fastapi/middleware/asyncexitstack.py", line 21, in call
raise e
File "/usr/local/lib/python3.7/dist-packages/fastapi/middleware/asyncexitstack.py", line 18, in call
await self.app(scope, receive, send)
File "/usr/local/lib/python3.7/dist-packages/starlette/routing.py", line 680, in call
await route.handle(scope, receive, send)
File "/usr/local/lib/python3.7/dist-packages/starlette/routing.py", line 275, in handle
await self.app(scope, receive, send)
File "/usr/local/lib/python3.7/dist-packages/starlette/routing.py", line 68, in app
await response(scope, receive, send)
File "/usr/local/lib/python3.7/dist-packages/starlette/responses.py", line 334, in call
raise RuntimeError(f"File at path {self.path} does not exist.")
RuntimeError: File at path /content/gdrive/MyDrive/sd/stable-diffusion/tmp/tagAutocompletePath.txt does not exist.

from a1111-sd-webui-tagcomplete.

DominikDoom avatar DominikDoom commented on September 26, 2024

The folders & files are loaded based on the script execution path. It seems that for this colab it for some reason launches the webui from a different folder which the webui extension script doesn't correctly return. try moving the tags and temp folder to the "stable-diffusion" folder in your drive instead of "stable-diffusion-webui" so it matches the path in the last line of the error messages.

from a1111-sd-webui-tagcomplete.

tsound97 avatar tsound97 commented on September 26, 2024

I'll try it, thank you friend.

from a1111-sd-webui-tagcomplete.

tsound97 avatar tsound97 commented on September 26, 2024

Still doesn't work, I'll use an old version of your script ( which works on this colab ). Thanks again.

from a1111-sd-webui-tagcomplete.

DominikDoom avatar DominikDoom commented on September 26, 2024

Alright. Thanks for the report, I'll look for a proper fix with the current version when I have time.

from a1111-sd-webui-tagcomplete.

tsound97 avatar tsound97 commented on September 26, 2024

Solved by change the colab's code.
TheLastBen/fast-stable-diffusion#409
All the best! 👍

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.