ssokolow / quicktile

Adds window-tiling hotkeys to any X11 desktop. (An analogue to WinSplit Revolution for people who don't want to use Compiz Grid)
https://ssokolow.com/quicktile/
GNU General Public License v2.0
869 stars 78 forks source link

PackageNotFoundError in Manjaro after last pacman update #120

Closed mroavi closed 3 years ago

mroavi commented 3 years ago

I just updated my packages using sudo pacman -Syu in Manjaro. As part of this update, Python was upgraded to 3.9.1. I suspect this is the reason for the following error when starting quicktile:

❯ quicktile --daemonize
Traceback (most recent call last):
  File "/usr/bin/quicktile", line 33, in <module>
    sys.exit(load_entry_point('QuickTile==0.4.1', 'console_scripts', 'quicktile')())
  File "/usr/bin/quicktile", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
  File "/usr/lib/python3.9/importlib/metadata.py", line 524, in distribution
    return Distribution.from_name(distribution_name)
  File "/usr/lib/python3.9/importlib/metadata.py", line 187, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: QuickTile
ssokolow commented 3 years ago

That's the classic setuptools fragility that prompted me to write the I get an error when I try to run QuickTile FAQ entry.

TL;DR: It's a design flaw in how Python's setup.py system works, not a QuickTile bug. Completely uninstall QuickTile and reinstall it.

Did you already try those instructions?

mroavi commented 3 years ago

I reinstalled quicktile with

sudo pip3 install https://github.com/ssokolow/quicktile/archive/master.zip

and now it is working. Thanks.