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

Screeninfo error no matter what I do #120

Open
Ouxyre opened this issue Jan 2, 2025 · 3 comments
Open

Screeninfo error no matter what I do #120

Ouxyre opened this issue Jan 2, 2025 · 3 comments
Labels
help wanted Extra attention is needed installation Issues related to the installation

Comments

@Ouxyre
Copy link

Ouxyre commented Jan 2, 2025

System info

OS: Arch Linux x86_64 
Host: Caroline 1.0 
Kernel: 6.12.7-zen1-1-zen 
Uptime: 11 mins 
Packages: 578 (pacman) 
Shell: bash 5.2.37 
Resolution: 1800x1200 
WM: sway 
Terminal: foot 
CPU: Intel m3-6Y30 (4) @ 2.200G 
GPU: Intel HD Graphics 515 
Memory: 2304MiB / 3808MiB

Repeated Error Message

[ouxyre@archlinux ~]$ waypaper
We got: en
Traceback (most recent call last):
  File "/home/ouxyre/.local/bin/waypaper", line 8, in <module>
    sys.exit(run())
             ~~~^^
  File "/home/ouxyre/.local/lib/python3.13/site-packages/waypaper/__main__.py", line 95, in run
    app = App(txt, cf)
  File "/home/ouxyre/.local/lib/python3.13/site-packages/waypaper/app.py", line 78, in __init__
    self.init_ui()
    ~~~~~~~~~~~~^^
  File "/home/ouxyre/.local/lib/python3.13/site-packages/waypaper/app.py", line 268, in init_ui
    self.monitor_option_display()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/home/ouxyre/.local/lib/python3.13/site-packages/waypaper/app.py", line 322, in monitor_option_display
    monitor_names.extend(get_monitor_names())
                         ~~~~~~~~~~~~~~~~~^^
  File "/home/ouxyre/.local/lib/python3.13/site-packages/waypaper/common.py", line 120, in get_monitor_names
    for m in get_monitors():
             ~~~~~~~~~~~~^^
  File "/home/ouxyre/.local/lib/python3.13/site-packages/screeninfo/screeninfo.py", line 32, in get_monitors
    raise ScreenInfoError("No enumerators available")
screeninfo.common.ScreenInfoError: No enumerators available

I've tried install through the AUR and with pip, but none seem to work. I also installed each of the python dependencies separately but with still no success. I don't know what else to do.

@anufrievroman
Copy link
Owner

Hi, I think it might be related to this issue #116
, which can be resolved by reinstalling or running a few commands mentioned there. Could you please try that first?

@Ouxyre
Copy link
Author

Ouxyre commented Jan 4, 2025

I tried these lines, only replacing python3.12 with python 3.13 since it is my current python version, but it still didn't work

pacman -Qoq /usr/lib/python3.12
yay -S $(pacman -Qoq /usr/lib/python3.12) --answerclean All

Could the reason it's not working be because I'm using python 3.13?

@anufrievroman
Copy link
Owner

It might be, so far I was not able to reproduce it, but I'm still on 3.12. I'll let you know if I can see the same error.
If anyone else experiences similar issue, please let us know.

@anufrievroman anufrievroman added help wanted Extra attention is needed installation Issues related to the installation labels Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed installation Issues related to the installation
Projects
None yet
Development

No branches or pull requests

2 participants