many wmiirc script running at the same time

Bug #900978 reported by layus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wmii (Ubuntu)
New
Undecided
Unassigned

Bug Description

this appears in wmii-3.9.2

This is extremely annoying if you want to reload wmiirc to try new configurations. And barely noticed by many users which never modify their wmiirc.

The problem is that we expect any running wmiirc script to finish it's execution when a new one is launched, ant that they don't.

The bug has been corrected in the wmii project repository at revision 2743:9d31d13386b8

As no new version has been released, and that the next one will probably be the 4.0, i publish here how to solve it.
I have no idea how this kind of bug is usually handled. Nor if it should be reported to Debian devellopers.

Here is the interresting part of the diff of cmp/wmii.sh.sh that will be installed in /usr/bin/wmii.sh
@@ -201,6 +208,8 @@
   unset IFS
   set -- $wi_event
   event=$1; shift
+ [ "$event" = Start -a "$1" = "$wmiiscript" ] &&
+ exit
   ( Event $event "$@" )
  done
  true

--------------------------------

$ lsb_release -rd
Description: Ubuntu 11.10
Release: 11.10

$ apt-cache policy wmii
wmii:
  Installé : 3.9.2+debian-3ubuntu1
  Candidat : 3.9.2+debian-3ubuntu1
 Table de version :
 *** 3.9.2+debian-3ubuntu1 0
        500 http://be.archive.ubuntu.com/ubuntu/ oneiric/universe i386 Packages
        100 /var/lib/dpkg/status

Tags: wmiirc
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.