Ax-Shell icon indicating copy to clipboard operation
Ax-Shell copied to clipboard

Ax shell installer has an import name that is invalid

Open SudoTronic opened this issue 1 year ago • 3 comments

Enter a number (default=1): looking for conflicting packages... :: hypridle-0.1.6-4 and hypridle-git-0.1.6.r8.gb2bc15b-1 are in conflict. Remove hypridle-git? [y/N] error: unresolvable package conflicts detected error: failed to prepare transaction (conflicting dependencies) :: hypridle-0.1.6-4 and hypridle-git-0.1.6.r8.gb2bc15b-1 are in conflict -> error installing repo packages Installing gray-git... :: Synchronizing package databases... core 116.2 KiB 154 KiB/s 00:01 [#####################################################################################################] 100% extra 7.8 MiB 2.84 MiB/s 00:03 [#####################################################################################################] 100% multilib 135.4 KiB 206 KiB/s 00:01 [#####################################################################################################] 100% -> gray-git-0.0.1+git-1 is up to date -- skipping there is nothing to do Installing required fonts... Fonts are already installed. Skipping download and extraction. Local fonts are already installed. Skipping copy. Traceback (most recent call last): File "/home/username/.config/Ax-Shell/config/config.py", line 23, in from fabric import Application ImportError: cannot import name 'Application' from 'fabric' (/home/username/Builds/venv/lib/python3.13/site-packages/fabric/init.py) (venv) ╭─username ~/.config/Ax-Shell ‹main› ╰─$

im on arch and used the auto install script , I had to install fabric manually using the virtual env install.

SudoTronic avatar Jun 10 '25 23:06 SudoTronic

cavalcade config.py data.py hypr init.py matugen settings_constants.py settings_gui.py settings_utils.py ╭─username ~/.config/Ax-Shell/config ‹main› ╰─$ python config.py Traceback (most recent call last): File "/home/user/.config/Ax-Shell/config/config.py", line 23, in from fabric import Application ImportError: cannot import name 'Application' from 'fabric' (/usr/lib/python3.13/site-packages/fabric/init.py) ╭─username ~/.config/Ax-Shell/config ‹main› ╰─$ 1 ↵

I tried using fabric from pip install, and fabric 1 and 2 from yay, just not sure what im doing wrong ? Or if its just a bug.

cheers

SudoTronic avatar Jun 10 '25 23:06 SudoTronic

Hi, seems like you are using the -git variants of the Hypr ecosystem. This is why hypridle conflicts with hypridle-git. You would need to modify the installer for it to work, or switch to non -git.

Regarding the second error, seems like you don't have Fabric installed. Maybe you got confused with the package? For AUR it is python-fabric-git. So do yay -S python-fabric-git. If you used pip, I guess you did the manual installation? Make sure to run main.py from the venv you created if that's the case.

Axenide avatar Jun 11 '25 00:06 Axenide

Migrating to the regular hyprland installation instead of hyprland-meta-git and then installing yay -S python-fabric-git worked flawlessly. Thanks for your help!

I was installing yay -S fabric (not the same!)

SudoTronic avatar Jun 11 '25 01:06 SudoTronic