weechat/scripts

lnotify.py / Python 3.7 ocassional xdotool error, garbled screen

sadsfae opened this issue · 1 comments

Occasionally weechat screen gets garbled after the following error from lnotify.py

./logs/core.weechat.weechatlog:2019-07-22 18:41:08 python: stdout/stderr (lnotify): subprocess.CalledProcessError: Command '['xdotool', 'getactivewindow', 'getwindowpid']' returned non-zero exit status 1
  • Fedora 30
  • xfce4-terminal (XFCE)
  • Python 3.7.3
  • lnotify 0.3.5

Could this be related to: #334 and #339

I am currently using @larsks patched version that removes the xdotool subprocess functionality and will report back if I no longer have issues:

larsks@669c75f

After two days with no xdotool errors that triggered garbled screen, feel confident that the patched version larsks@669c75f fixes this issue.