sunaku/wmiirc — Issue #40: wmii dies due to dead links in $PATH
Author: 0x64746b
Created: 2012-01-19 18:18:03+00:00
State: open

I assume 6018bff57fed60742417caab1b12227736996fbe introduces a problem that causes wmii to die when there are dead links in the $PATH. That sucks. The window manager shouldn't depend on a cleaned up path.

In addition, the error message is misleading and might make the user believe he's missing a dependency ('dependencies' on `javaws` and `pluginappletviewer` really got my blood boilin' -.-)

```
#
/home/dtk/.wmii-hg/control/action/launch.yaml:control:action:launch_menu_rehash:3:in `stat'
/home/dtk/.wmii-hg/control/action/launch.yaml:control:action:launch_menu_rehash:3:in `block (5 levels) in control'
/home/dtk/.wmii-hg/control/action/launch.yaml:control:action:launch_menu_rehash:2:in `select'
/home/dtk/.wmii-hg/control/action/launch.yaml:control:action:launch_menu_rehash:2:in `block (4 levels) in control'
/home/dtk/.wmii-hg/control/action/launch.yaml:control:action:launch_menu_rehash:1:in `map'
/home/dtk/.wmii-hg/control/action/launch.yaml:control:action:launch_menu_rehash:1:in `block (3 levels) in control'
/home/dtk/.wmii-hg/lib/wmiirc/handler.rb:20:in `call'
/home/dtk/.wmii-hg/lib/wmiirc/handler.rb:20:in `block in handle'
/home/dtk/.wmii-hg/lib/wmiirc/handler.rb:19:in `each'
/home/dtk/.wmii-hg/lib/wmiirc/handler.rb:19:in `handle'
/home/dtk/.wmii-hg/lib/wmiirc/handler.rb:61:in `action'
/home/dtk/.wmii-hg/control/action/launch.yaml:script:after:1:in `block in script'
/home/dtk/.wmii-hg/lib/wmiirc/config.rb:38:in `instance_eval'
/home/dtk/.wmii-hg/lib/wmiirc/config.rb:38:in `block in script'
/home/dtk/.wmii-hg/lib/wmiirc/config.rb:37:in `each'
/home/dtk/.wmii-hg/lib/wmiirc/config.rb:37:in `script'
/home/dtk/.wmii-hg/lib/wmiirc/config.rb:17:in `apply'
/home/dtk/.wmii-hg/lib/wmiirc/loader.rb:118:in `load_user_config'
/home/dtk/.wmii-hg/lib/wmiirc/loader.rb:23:in `run'
/home/dtk/.wmii-hg/wmiirc:5:in `

'
```

I don't know what the responsible patch is doin', but it would be great if he wouldn't crash WMII.