howdy: BrokenPipeError during unlock
After updating Fedora to 41 whenever I use howdy in the terminal this error gets printed.
Exception ignored in: <_io.BufferedWriter name=4>
BrokenPipeError: [Errno 32] Broken pipe
Howdy still works everywhere and I didn’t find any issues. Similar issue was created not long ago (#916 ) but that was only when using hotkey RubberStamp. I never set anything like that up.
I’ve searched for similar issues already, and my issue has not been reported yet.
Linux distribution (if applicable): Fedora 41
Howdy version (sudo howdy version): Howdy 3.0.0 BETA
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 15
- Comments: 20 (1 by maintainers)
Commits related to this issue
- Update compare.py from #968 — committed to YKScoding/howdy by YKScoding 2 years ago
- Merge pull request #998 from YKScoding/beta Update compare.py from #968 — committed to boltgolt/howdy by boltgolt a year ago
I think it is due to the howdy_gtk synchronization issue. I tried to modify the code at line 90 in compare.py to the following:
It seems that the Error message disappears.
Fixes it on howdy-beta on fedora 42 as well!
BTW, I am using wayland KDE on archlinux. i think howdy_gtk cannot be initialized correctly. If I turn on option gtk_stdout to “true” in howdy config. Here is the runtime error message:
Traceback (most recent call last): File “/usr/lib/howdy-gtk/init.py”, line 5, in <module> import authsticky File “/usr/lib/howdy-gtk/authsticky.py”, line 158, in <module> window = StickyWindow() File “/usr/lib/howdy-gtk/authsticky.py”, line 33, in init gtk.Window.init(self) ~~~~~~~~~~~~~~~~~~~^^^^^^ File “/usr/lib/python3.13/site-packages/gi/overrides/Gtk.py”, line 505, in init raise RuntimeError( "Gtk couldn’t be initialized. " “Use Gtk.init_check() if you want to handle this case.”) RuntimeError: Gtk couldn’t be initialized. Use Gtk.init_check() if you want to handle this case.
That is why in the compare.py:
gtk_proc.stdin.write(bytearray(message.encode(“utf-8”))) gtk_proc.stdin.flush()
fails and generates the annoying error message.
I’m having the same issue on Fedora 41 (KDE spin)
Thanks all, merged on beta branch now
Double check the indents, this is the screenshot so you can check it out.