Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: #16850

Open
2 of 6 tasks
StreamHubHub opened this issue Feb 18, 2025 · 1 comment
Open
2 of 6 tasks

[Bug]: #16850

StreamHubHub opened this issue Feb 18, 2025 · 1 comment
Labels
bug-report Report of a bug, yet to be confirmed

Comments

@StreamHubHub
Copy link

Checklist

  • The issue exists after disabling all extensions
  • The issue exists on a clean installation of webui
  • The issue is caused by an extension, but I believe it is caused by a bug in the webui
  • The issue exists in the current version of the webui
  • The issue has not been reported before recently
  • The issue has been reported before but has not been fixed yet

What happened?

i can generate pictures, i have a clean instalattion

Steps to reproduce the problem

  1. I Write Prompt
  2. Click on Generate

What should have happened?

It should have created a picture

What browsers do you use to access the UI ?

Microsoft Edge

Sysinfo

sysinfo-2025-02-18-09-57.json

Console logs

Traceback (most recent call last):█████████████████████████████████████████████████████| 20/20 [00:03<00:00,  5.08it/s]
  File "C:\Users\aleja\Downloads\Programs\IA\sd\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict
    output = await app.get_blocks().process_api(
  File "C:\Users\aleja\Downloads\Programs\IA\sd\venv\lib\site-packages\gradio\blocks.py", line 1434, in process_api
    data = self.postprocess_data(fn_index, result["prediction"], state)
  File "C:\Users\aleja\Downloads\Programs\IA\sd\venv\lib\site-packages\gradio\blocks.py", line 1335, in postprocess_data
    prediction_value = block.postprocess(prediction_value)
  File "C:\Users\aleja\Downloads\Programs\IA\sd\venv\lib\site-packages\gradio\components\gallery.py", line 197, in postprocess
    file_path = str(utils.abspath(file))
  File "C:\Users\aleja\Downloads\Programs\IA\sd\venv\lib\site-packages\gradio\utils.py", line 938, in abspath
    if is_symlink or path == path.resolve():  # in case path couldn't be resolved
  File "C:\Users\aleja\anaconda3\lib\pathlib.py", line 1215, in resolve
    s = self._flavour.resolve(self, strict=strict)
  File "C:\Users\aleja\anaconda3\lib\pathlib.py", line 215, in resolve
    s = self._ext_to_normal(_getfinalpathname(s))
OSError: [WinError 123] El nombre de archivo, el nombre de directorio o la sintaxis de la etiqueta del volumen no son correctos: 'outputs\\txt2img-images\\2025-02-18\\00002-1888406001.png?1739872343.8075917'

Additional information

No response

@StreamHubHub StreamHubHub added the bug-report Report of a bug, yet to be confirmed label Feb 18, 2025
@w-e-w
Copy link
Collaborator

w-e-w commented Feb 19, 2025

I believe the image is currently generated and saved to outputs\txt2img-images\2025-02-18\00002-1888406001.png
the issue occurs when it's trying to send the image to the browser

from what I can tell the cause is for some reason on your computer

from pathlib import Path
Path('outputs\\txt2img-images\\2025-02-18\\00002-1888406001.png?1739872343.8075917').resolve()

this errors, as a result preventing it from being displayed in the browser

this works on other computers I have tested

unfortunately I wasn't able to reproduce the issue even using python 3.9.13
I suspect there's something "different" at the low level on your computer but I'm not sure what's going on

I would suggest you try python 3.10
or try using our standalone package see wiki Windows (method 1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Report of a bug, yet to be confirmed
Projects
None yet
Development

No branches or pull requests

2 participants