Public bug reported:

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

** Affects: wmii (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: wmiirc

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/900978

Title:
  many wmiirc script running at the same time

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wmii/+bug/900978/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to