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]hyprshade.sh not working on new update #581

Closed
mrjxtr opened this issue Dec 30, 2024 · 2 comments
Closed

[BUG]hyprshade.sh not working on new update #581

mrjxtr opened this issue Dec 30, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@mrjxtr
Copy link

mrjxtr commented Dec 30, 2024

Describe the bug
When trying to toggle Hyprshade by clicking the icon on Waybar.

To Reproduce
Steps to reproduce the behavior:

  1. update to latest ml4w with ml4w-hyprland-setup

Expected behavior
Clicking the toggle will activate Hyprshad

Screenshots
Will only show this message but does nothing.
image

Distribution (please complete the following information):

  • Arch Linux

Additional context

❯ ls
 cleanup.sh                 keybindings.sh         toggleallfloat.sh
 disabledm.sh               loadconfig.sh          wallpaper-automation.sh
 gamemode.sh                moveTo.sh              wallpaper-cache.sh
 gtk.sh                     power.sh               wallpaper-effects.sh
 hypridle.sh                restart-hypridle.sh    wallpaper-restore.sh
 hyprshade.sh               screenshot.sh          wallpaper.sh
 init-wallpaper-engine.sh   toggle-animations.sh   xdg.sh

    ~/dotfiles/.config/hypr/scripts                                                   
❮ ./hyprshade.sh
Traceback (most recent call last):
  File "/usr/bin/hyprshade", line 5, in <module>
    from hyprshade.cli import main
ModuleNotFoundError: No module named 'hyprshade'
:: hyprshade is not running
Traceback (most recent call last):
  File "/usr/bin/hyprshade", line 5, in <module>
    from hyprshade.cli import main
ModuleNotFoundError: No module named 'hyprshade'
Traceback (most recent call last):
  File "/usr/bin/hyprshade", line 5, in <module>
    from hyprshade.cli import main
ModuleNotFoundError: No module named 'hyprshade'
Traceback (most recent call last):
  File "/usr/bin/hyprshade", line 5, in <module>
    from hyprshade.cli import main
ModuleNotFoundError: No module named 'hyprshade'
:: hyprshade started with 

    ~/dotfiles/.config/hypr/scripts                                                   
❮ hyprshade
Traceback (most recent call last):
  File "/usr/bin/hyprshade", line 5, in <module>
    from hyprshade.cli import main
ModuleNotFoundError: No module named 'hyprshade'

    ~/dotfiles/.config/hypr/scripts                                                   
❮ whereis hyprshade
hyprshade: /usr/bin/hyprshade /usr/share/hyprshade
@mrjxtr mrjxtr added the bug Something isn't working label Dec 30, 2024
@degobbis
Copy link

Your Python libraries are probably not fully available for the new version.
If the path still exists /usr/lib/python3.13/site-packages/, then the packages it contains have not yet been transferred.
You can try this: yay -S $(yay -Qoq /usr/lib/python3.12) --rebuild and then reboot the system.

If everything worked, the path to python3.12 will no longer exist after the reboot and hyprshade should work again.

@mrjxtr
Copy link
Author

mrjxtr commented Jan 1, 2025

Your Python libraries are probably not fully available for the new version. If the path still exists /usr/lib/python3.13/site-packages/, then the packages it contains have not yet been transferred. You can try this: yay -S $(yay -Qoq /usr/lib/python3.12) --rebuild and then reboot the system.

If everything worked, the path to python3.12 will no longer exist after the reboot and hyprshade should work again.

Thank! this worked perfectly.

@mrjxtr mrjxtr closed this as completed Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants