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

Hyfetch prints "The rust executable is not found, falling back to python..." #373

Open
1 task
ImxTreme21 opened this issue Dec 25, 2024 · 9 comments
Open
1 task

Comments

@ImxTreme21
Copy link

Describe the bug

When using hyfetch -b fastfetch the first line is "The rust executable is not found, falling back to python...", the it works as expected

Regular fastfetch doesnt print this error.

  • Does this issue still occur in the master branch? (Required)

Yes

Expected behavior

Hyfetch doesnt print nothing related to rust

Screenshots

image

Config file

Please paste the content of ~/.config/hyfetch.json below:

JSON:
{
"preset": "fraysexual",
"mode": "rgb",
"light_dark": "dark",
"lightness": 0.5,
"color_align": {
"mode": "vertical",
"custom_colors": [],
"fore_back": []
},
"backend": "neofetch",
"args": null,
"distro": null,
"pride_month_shown": [],
"pride_month_disable": false
}

Additional context

I recently nuked pip and everything installed with pip

@hykilpikonna
Copy link
Owner

Did you install hyfetch using pip? Did you have wheel installed before running pip install hyfetch?

Also if you can show me a log or screeshot of the pip install output that would help (to tell which wheel it tried to install)

@ImxTreme21
Copy link
Author

In my history there is pip install -U hyfetch, also I have it installed from the AUR which is kinda strange because I would have the same package from two sources (my brain is exploding).

Wheel version is 0.45.0

Idk how to get the log

@ImxTreme21
Copy link
Author

Just uninstalled hyfetch and reinstalled it with pacman, issue still persists

@ninetailedtori
Copy link

can repro - also doesn't detect the installed rustup and cargo on my system 🥴

@hykilpikonna
Copy link
Owner

I'm so confused, the rust version of hyfetch isn't even officially released yet, and it certainly isn't in the ArchLinux repo yet.

To install this version you would have to specifically run pip install hyfetch==2.0.0rc1 because pip would not install beta versions by default...

Honestly idk how this could happen, and I don't see this on my arch system or a fresh arch docker.

@hykilpikonna
Copy link
Owner

Just tested this again, on a brand new docker ArchLinux image, installing hyfetch through pacman will give us the 1.99.0 python stable release that doesn't complain about missing rust binary:

Screenshot ![image](https://github.com/user-attachments/assets/1aadfbaf-b849-49b0-bad8-28f99826cedd)

And installing hyfetch==2.0.0rc1 through pip will give us the 2.0.0 beta release written in rust, which also runs fine because the rust binary is installed with it:

Screenshot ![image](https://github.com/user-attachments/assets/3cb17bfe-cf6a-4422-b97c-22ca64f66c97)

I honestly have no clue on where you all installed it from that could lead to this issue 😭

@ninetailedtori
Copy link

wait...uninstalled and reinstalled, might've been on the aur-git repo? which is weird, I remember telling yay to install the pacman repos 😔 not having this problem anymore xD

@hykilpikonna
Copy link
Owner

hykilpikonna commented Jan 3, 2025

wait...uninstalled and reinstalled, might've been on the aur-git repo? which is weird, I remember telling yay to install the pacman repos 😔 not having this problem anymore xD

yea oops the aur git repo hasn't been updated and might be broken. idk who is currently maintaining it...

maybe I can fix it later

@ImxTreme21
Copy link
Author

Hi, yes I had the hyfetch-git AUR package, I reinstalled the regular package and the issue was fixed. lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants