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

source code string cannot contain null bytes #9

Open
theoldsong opened this issue Aug 11, 2024 · 0 comments
Open

source code string cannot contain null bytes #9

theoldsong opened this issue Aug 11, 2024 · 0 comments

Comments

@theoldsong
Copy link

theoldsong commented Aug 11, 2024

(fluxwebui) C:\AI-APP\flux-webui>python app.py
Traceback (most recent call last):
File "C:\AI-APP\flux-webui\app.py", line 1, in
import gradio as gr
File "C:\anaconda3\envs\fluxwebui\lib\site-packages\gradio_init_.py", line 3, in
import gradio.simple_templates
File "C:\anaconda3\envs\fluxwebui\lib\site-packages\gradio_simple_templates_init
.py", line 1, in
from .simpledropdown import SimpleDropdown
File "C:\anaconda3\envs\fluxwebui\lib\site-packages\gradio_simple_templates\simpledropdown.py", line 6, in
from gradio.components.base import Component, FormComponent
File "C:\anaconda3\envs\fluxwebui\lib\site-packages\gradio\components_init_.py", line 1, in
from gradio.components.annotated_image import AnnotatedImage
File "C:\anaconda3\envs\fluxwebui\lib\site-packages\gradio\components\annotated_image.py", line 7, in
import gradio_client.utils as client_utils
File "C:\anaconda3\envs\fluxwebui\lib\site-packages\gradio_client_init_.py", line 1, in
from gradio_client.client import Client
File "C:\anaconda3\envs\fluxwebui\lib\site-packages\gradio_client\client.py", line 27, in
import httpx
File "C:\anaconda3\envs\fluxwebui\lib\site-packages\httpx_init_.py", line 2, in
from ._api import delete, get, head, options, patch, post, put, request, stream
File "C:\anaconda3\envs\fluxwebui\lib\site-packages\httpx_api.py", line 6, in
from ._client import Client
File "C:\anaconda3\envs\fluxwebui\lib\site-packages\httpx_client.py", line 12, in
from ._auth import Auth, BasicAuth, FunctionAuth
File "C:\anaconda3\envs\fluxwebui\lib\site-packages\httpx_auth.py", line 12, in
from ._models import Cookies, Request, Response
File "C:\anaconda3\envs\fluxwebui\lib\site-packages\httpx_models.py", line 11, in
from ._content import ByteStream, UnattachedStream, encode_request, encode_response
File "C:\anaconda3\envs\fluxwebui\lib\site-packages\httpx_content.py", line 17, in
from ._multipart import MultipartStream
File "C:\anaconda3\envs\fluxwebui\lib\site-packages\httpx_multipart.py", line 16, in
from ._utils import (
File "C:\anaconda3\envs\fluxwebui\lib\site-packages\httpx_utils.py", line 14, in
import sniffio
ValueError: source code string cannot contain null bytes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant