[INFO] Running on port: 7171 | Debug Mode: Enabled
Traceback (most recent call last):
File "/mnt/nvme/plexified/services/quickstart/Quickstart/quickstart.py", line 894, in <module>
import pystray
File "/usr/lib/python3.11/site-packages/pystray/__init__.py", line 64, in <module>
Icon = backend().Icon
^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pystray/__init__.py", line 56, in backend
return candidate()
^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pystray/__init__.py", line 36, in xorg
from . import _xorg as backend; return backend
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pystray/_xorg.py", line 36, in <module>
display = Xlib.display.Display()
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/Xlib/display.py", line 89, in __init__
self.display = _BaseDisplay(display)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/Xlib/display.py", line 71, in __init__
protocol_display.Display.__init__(self, *args, **keys)
File "/usr/lib/python3.11/site-packages/Xlib/protocol/display.py", line 84, in __init__
name, protocol, host, displayno, screenno = connect.get_display(display)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/Xlib/support/connect.py", line 73, in get_display
return mod.get_display(display)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/Xlib/support/unix_connect.py", line 59, in get_display
raise error.DisplayNameError(display)
Xlib.error.DisplayNameError: Bad display name ""```
Just simply trying to start it for the first time
#Quickstart not working
1 messages · Page 1 of 1 (latest)
Welcome @rigid hinge!
Someone from <@&938443185347244033> will assist when they're available.
Including meta.log from the beginning is a huge help. Type !logs for more information.
After attaching your log, do not forget to hit the green check boxes when prompted by our bot.
You can press the "Close Post" button above or type /close at any time to close this post.
@regal belfry I think this is your tool?
Looks like the systray icon isn't fully disabled on the non-executable build.
I did try it using the linux build, with the same result
[INFO] Running on port: 7171 | Debug Mode: Disabled
Traceback (most recent call last):
File "quickstart.py", line 894, in <module>
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "PyInstaller/loader/pyimod02_importers.py", line 450, in exec_module
File "pystray/__init__.py", line 64, in <module>
File "pystray/__init__.py", line 56, in backend
File "pystray/__init__.py", line 36, in xorg
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "PyInstaller/loader/pyimod02_importers.py", line 450, in exec_module
File "pystray/_xorg.py", line 36, in <module>
File "Xlib/display.py", line 89, in __init__
File "Xlib/display.py", line 71, in __init__
File "Xlib/protocol/display.py", line 84, in __init__
File "Xlib/support/connect.py", line 73, in get_display
File "Xlib/support/unix_connect.py", line 59, in get_display
Xlib.error.DisplayNameError: Bad display name ""
[PYI-1524453:ERROR] Failed to execute script 'quickstart' due to unhandled exception!```
Are you running this on a headless machine?
I'd try it in docker.
I think we're aware of this one
Do I need to do anything specific for the docker container, or just build it?
Example docker-compose:
services:
quickstart:
image: kometateam/quickstart:develop
container_name: quickstart
environment:
- TZ=TIMEZONE #optional
volumes:
- /path/to/config:/config
restart: unless-stopped
Doesn't seem to be running on http://192.168.1.22:7171/
ignore that, got it
Thanks for the help! 🙂