Hello all,
For ages, I’ve been using the attached script to control songs played
via MPD (found it on the Internet) – I’ve used rubygems to install
these libraries – and they’ve not changed in ages. In a recent
upgrade (using Debian Sid) the program now doesn’t work – and
consumes 100% CPU and does nothing.
The program is supposed to create a systray icon, and when clicked
launched ncmpc in an rxvt-unicode window. This was working fine –
until I did a usual apt-get dist-upgrade and now it’s not working.
Would someone have any ideas how to go about debugging this?
Attaching strace to the process doesn’t reveal anything useful – and
perhaps there’s some ruby-specific debug tools I can use to address
this instead – I am not sure.
Any help greatly appreciated. The version of ruby I am using is:
% ruby --version
ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux]
David