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

Autostarted HyFetch Crashes the Terminal (Terminator) #354

Open
nsgirling opened this issue Sep 21, 2024 · 0 comments
Open

Autostarted HyFetch Crashes the Terminal (Terminator) #354

nsgirling opened this issue Sep 21, 2024 · 0 comments

Comments

@nsgirling
Copy link

Describe the bug

Although running HyFetch (installed from official repos, v. 1.4.11) in an open terminal on Terminator (I'm using v2.1.4 on Arch with the latest kernel and openbox) works brilliantly after configuration, having an instance of Terminator set to launch it by default will run it--which it does--and then promptly crash out/quit. This is also the case for assigning a keybinding to the command terminator -e hyfetch.

  • [ yes, I think so? ] Does this issue still occur in the master branch? (Required)
    Neofetch, as you mentioned is deprecated, so I tried trying "neowofetch" in the same places and encountered the same problem

Expected behavior

A clear and concise description of what you expected to happen.

Config file

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

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

Additional context

Running HyFetch with the --debug flag yields this before the flag:

None GlobalConfig(color_mode='rgb', override_distro=None, debug=True, is_light=False, use_overlay=False)
Not sure why the json says null for my distro, since the program can tell accurately that I am using Arch.

Running strace on HyFetch includes the following output, heads up, this is long:
-about bunch of different things about different aspects of Python install (I'm on version 3.12.6 as I submit this
-about .initrc being read-only:

openat(AT_FDCWD, "/~/.inputrc", O_RDONLY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/etc/inputrc", O_RDONLY) = 3
about my terminal:
newfstatat(AT_FDCWD, "/~/.terminfo", 0x612441203200, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/terminfo", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0 access("/usr/share/terminfo/x/xterm-256color", R_OK) = 0

about messages.mo not existing:
newfstatat(AT_FDCWD, "/usr/share/locale/en_CA.UTF-8/LC_MESSAGES/messages.mo", 0x7ffc33a80710, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/locale/en_CA/LC_MESSAGES/messages.mo", 0x7ffc33a80710, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/locale/en.UTF-8/LC_MESSAGES/messages.mo", 0x7ffc33a80710, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/locale/en/LC_MESSAGES/messages.mo", 0x7ffc33a80710, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/locale/en_CA.UTF-8/LC_MESSAGES/messages.mo", 0x7ffc33a80710, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/locale/en_CA/LC_MESSAGES/messages.mo", 0x7ffc33a80710, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/locale/en.UTF-8/LC_MESSAGES/messages.mo", 0x7ffc33a80710, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/locale/en/LC_MESSAGES/messages.mo", 0x7ffc33a80710, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/locale/en_CA.UTF-8/LC_MESSAGES/messages.mo", 0x7ffc33a80710, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/locale/en_CA/LC_MESSAGES/messages.mo", 0x7ffc33a80710, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/locale/en.UTF-8/LC_MESSAGES/messages.mo", 0x7ffc33a80710, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/locale/en/LC_MESSAGES/messages.mo", 0x7ffc33a80710, 0) = -1 ENOENT (No such file or directory)
about inappropriate ioctl, an illegal seek:

ioctl(3, TCGETS, 0x7ffc33a80560) = -1 ENOTTY (Inappropriate ioctl for device) lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)

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

1 participant