-
Notifications
You must be signed in to change notification settings - Fork 15
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
pypr throws error #7
Comments
I have same issue. |
I think you partially broke your OS packaging system because you performed some (global ?) package installations without relying on it. |
Just for clarification, what do you mean remove all pip-installed packages? I have quite a few packages, here is the out put for |
This is not really pypr related I think, it's more a python package management usage problem. If you are not an experienced developer or having really good knowledge about python packaging system, I would stay away from pip or any kind of manual python package installation - unless it's in a virtual environment (venv).
Be aware, you may have more than one python version, check the default one first (just type Once you are done cleaning up your python installation, check if the problem persists.
Here I should probably add a better/specific error handling: Keep me informed if you make some progress, I'll keep this bug open to improve the error handling in the meantime. Before doing anything, my instructions might not be sufficient, I suggest you read a lot about such situation (it's a classical "mistake", people not using virtual environments and copying instructions using pip...). One radical option to skip reading docs is uninstall everything python related (OS packages first) after making a list, then install them again from the list, in between the two steps you had manually removed every trace of python which is "not official" to your OS... Hope it helps! |
By the way, I digressed with the pip problem.
You'll have traces and pypr will run in the foreground in this window. I bet it's not starting, you'll see why (you can paste the content here). |
I have the same problem, if i run pypr on a terminal, and use the keyboard shortcuts (i.e. term scratchpad), it works fine, of course this means i must have the terminal open with pypr running, which defeats the purpose. |
you can make a script which will log the error, I hope it will provide more useful information: #!/bin/bash
DEBUG=1 pypr > /tmp/pypr.log Use this script instead of "pypr" in the exec-once and then check the log file... |
I changed something in the master branch, fixing a race condition - it's also a possibility for this bug. |
I added better error handling in master. |
Released version |
Use |
same issue. solved.
|
I wanted to setup some scratchpads, and i followed the guide on their github page. I had to install it from the AUR, because pip kept complaining about externally managed packages. I also tried using pipx for that matter, but it doesn't seem to work.
I get this error when I manually try to run pypr toggle term. This is also the case with hpr-scratcher. I can see that processes are spawned, but i just can't seem to access the scratchpads.
I also don't see pypr in btop after restarting. I do have the
exec-once
line inhyprland.conf
The text was updated successfully, but these errors were encountered: