Re: [wmii] ENV['WMII_ADDRESS'] problem with latest Ruby-IXP/libixp/wmii?

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Mon, 16 Oct 2006 16:36:57 +0200

On Mon, Oct 16, 2006 at 03:25:51PM +0100, Andy Gimblett wrote:
> Me again.
>
> I've now got wmii running on my freshly installed box; next task is to
> get ruby-wmii running.
>
> We tried:
>
> svn co svn://svn.gna.org/svn/rubyixp/trunk ruby-ixp
> pushd ruby-ixp
> rake
> sudo rake install
> popd
>
> That seems to install the ruby-ixp gem OK. Then:
>
> darcs get http://eigenclass.org/repos/ruby-wmii/branch-ruby-ixp/
> pushd branch-ruby-ixp
> ruby install.rb
> popd
>
> That installs ruby-wmii infrastructure to ~/.wmii-3. Latest wmii
> looks for .wmii-3.5 so I set up a soft link:
>
> pushd ~
> ln -s .wmii-3 .wmii-3.5
> popd
>
> Now running wmii we see in wmiirc.log:
>
> [gimbo_AT_mane ruby-ixp] cat ~/.wmii-3/wmiirc.log
> I, [2006-10-16T15:17:23.940287 #603] INFO -- : INIT
> I, [2006-10-16T15:17:23.948755 #603] INFO -- : Loading standard plugin
> E, [2006-10-16T15:17:24.136759 #603] ERROR -- : standard-plugin.rb not found
> I, [2006-10-16T15:17:24.149712 #603] INFO -- : Waiting for the IXP server.
> RuntimeError
> Nowhere to connect
> /home/gimbo/.wmii-3.5/lib/ixp/client.rb:129:in `initialize'
> /home/gimbo/.wmii-3.5/wmiirc:288:in `new'
> /home/gimbo/.wmii-3.5/wmiirc:288:in `establish_connection'
> /home/gimbo/.wmii-3.5/wmiirc:244:in `initialize'
> /home/gimbo/.wmii-3.5/wmiirc:441:in `new'
> /home/gimbo/.wmii-3.5/wmiirc:441:in `initialize'
> /home/gimbo/.wmii-3.5/wmiirc:428:in `new'
> /home/gimbo/.wmii-3.5/wmiirc:428:in `define'
> /home/gimbo/.wmii-3/wmiirc-config.rb:15
> /home/gimbo/.wmii-3.5/wmiirc:208:in `load'
> /home/gimbo/.wmii-3.5/wmiirc:208:in `run'
> /home/gimbo/.wmii-3.5/wmiirc:981
>
> --
>
> So, it finds the ixp rake OK, but is failing to connect in some way.
> Looking at line 129 in client.rb, we see:
>
> def initialize aSocketPath = ENV['WMII_ADDRESS']
> raise 'Nowhere to connect' unless aSocketPath
>
> So the problem is this ENV['WMII_ADDRESS'].
>
> Any ideas?

Yes, that is IXP_ADDRESS now.

Regards,

-- 
 Anselm R. Garbe  ><><  http://suckless.org/~arg/  ><><  GPG key: 0D73F361
Received on Mon Oct 16 2006 - 16:36:57 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:16:00 UTC