weechat / scripts

Official scripts for WeeChat.
https://weechat.org/scripts/
231 stars 220 forks source link

i3lock_away.py: "pidof: can't read from #######/stat" #542

Open Scary-Guy opened 1 year ago

Scary-Guy commented 1 year ago

Bug summary:

While using Weechat the terminal running it will sometimes throw an error: "pidof: can't read from #######/stat"

Steps to reproduce:

  1. Install the script. 2. Run Weechat for a really long time.

Current behavior:

Error thrown in terminal shifting the TUI up three lines.

Expected behavior:

No error thrown in terminal

Suggested solutions:

Either of these makes the error go away: Restarting Weechat Make window (if ran in a window) fullscreen then back, or vice versa.

Additional information:

It's really more of a minor annoyance than anything. This has been going on for YEARS across different versions of Debian and LMDE versions 4/5.

List of installed scripts (as it may be related to one of these):

autostart.py grep.py autojoin.py colorize_nicks.py autoauth.py autosavekey.py chancomp.py commorkers.py hl_here.py i3lock_away.py leet.py listbuffer.py prism.py pv_info.pl screen_away.py tmux_env.py topicdiff.py undernet_totp.py unset_unused.pl unwanted_msg.py whois_on_query.py

Note:

@flashcode says that the cause is the i3lock_away.py script. As I don't know anything about coding I'm going to take their word for it. As far as I can tell though the script is working as intended despite this.