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

Fails to open webui #133

Open
argonptg opened this issue Jul 4, 2023 · 2 comments
Open

Fails to open webui #133

argonptg opened this issue Jul 4, 2023 · 2 comments

Comments

@argonptg
Copy link

argonptg commented Jul 4, 2023

  nxbt ❯ sudo nxbt webapp
Traceback (most recent call last):
  File "/usr/local/bin/nxbt", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.10/dist-packages/nxbt/cli.py", line 321, in main
    from .web import start_web_app
  File "/usr/local/lib/python3.10/dist-packages/nxbt/web/__init__.py", line 1, in <module>
    from .app import start_web_app
  File "/usr/local/lib/python3.10/dist-packages/nxbt/web/app.py", line 11, in <module>
    import eventlet
  File "/usr/local/lib/python3.10/dist-packages/eventlet/__init__.py", line 17, in <module>
    from eventlet import convenience
  File "/usr/local/lib/python3.10/dist-packages/eventlet/convenience.py", line 7, in <module>
    from eventlet.green import socket
  File "/usr/local/lib/python3.10/dist-packages/eventlet/green/socket.py", line 4, in <module>
    __import__('eventlet.green._socket_nodns')
  File "/usr/local/lib/python3.10/dist-packages/eventlet/green/_socket_nodns.py", line 11, in <module>
    from eventlet import greenio
  File "/usr/local/lib/python3.10/dist-packages/eventlet/greenio/__init__.py", line 3, in <module>
    from eventlet.greenio.base import *  # noqa
  File "/usr/local/lib/python3.10/dist-packages/eventlet/greenio/base.py", line 32, in <module>
    socket_timeout = eventlet.timeout.wrap_is_timeout(socket.timeout)
  File "/usr/local/lib/python3.10/dist-packages/eventlet/timeout.py", line 166, in wrap_is_timeout
    base.is_timeout = property(lambda _: True)
TypeError: cannot set 'is_timeout' attribute of immutable type 'TimeoutError'
  nxbt ❯ 

I downloaded all correct dependencies
OS: Pop!_OS 22.04

@argonptg argonptg changed the title Failes to open webui Fails to open webui Jul 4, 2023
@Brikwerk
Copy link
Owner

Brikwerk commented Jul 4, 2023

I believe this is an issue with the current pinned version of eventlet not being compatible with Python 3.10. I'm in the process of updating dependencies for better compatibility soon. In the meantime, you could use an earlier Python version or attempt to manually install an updated version of eventlet.

Ex:

pip3 install --upgrade eventlet

@argonptg
Copy link
Author

argonptg commented Jul 4, 2023

I believe this is an issue with the current pinned version of eventlet not being compatible with Python 3.10. I'm in the process of updating dependencies for better compatibility soon. In the meantime, you could use an earlier Python version or attempt to manually install an updated version of eventlet.

Ex:

pip3 install --upgrade eventlet

When I tried to update the eventlet package it returned with a dependency error and it still didn't work, guess I'll wait for the nxbt update. Thanks for responding though

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

2 participants