From mr at fudgie.org Tue Sep 22 03:58:07 2009 From: mr at fudgie.org (Erlend Simonsen) Date: Tue, 22 Sep 2009 09:58:07 +0200 Subject: [gltail] gl_tails - error with ftools/filetuils - Ruby 1.9? In-Reply-To: References: Message-ID: <5BAA8FA5-8BAB-4216-89CF-59473BDE1930@fudgie.org> Please grab the latest git version from http://github.com/Fudge/gltail - I managed to get it running on Ruby 1.9.1 with the latest net-ssh version last night. -- Erlend On 22. sep. 2009, at 07.07, Victor Hooi wrote: > heya, > > I'm trying to install gl_tails on Arch Linux (x32_64). > > I've used gem to install mkrf manually (this wasn't pulled in as a > dependency, and with my ignorance of Ruby, it took me a while to > figure this out), then gl_tails (which pulled in ruby-opengl). > > However, when I try to run gl_tails, it gives me an error on 'ftools'. > > /usr/lib/ruby/gems/1.9.1/gems/gltail-0.1.8/bin/gl_tail:54:in > `require': no such file to load -- ftools (LoadError) > from /usr/lib/ruby/gems/1.9.1/gems/gltail-0.1.8/bin/gl_tail: > 54:in `' > from /usr/bin/gl_tail:19:in `load' > from /usr/bin/gl_tail:19:in `
' > > I'm not so familiar with Ruby, but from I've read, it seems this was > deprecated in favour of fileutils in Ruby 1.9.x, right? And the API > for this is different (yes, I did try switching ftools for fileutils > in the gl_tail ruby file...lol). > > /usr/lib/ruby/gems/1.9.1/gems/gltail-0.1.8/bin/gl_tail:66:in ` (required)>': undefined method `copy' for File:Class (NoMethodError) > from /usr/bin/gl_tail:19:in `load' > from /usr/bin/gl_tail:19:in `
' > > Is there any way to get gl_tails to work here? Or do I have to > downgrade Ruby? > > Cheers, > Victor > _______________________________________________ > gltail-general mailing list > gltail-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/gltail-general From mr at fudgie.org Wed Sep 23 04:55:48 2009 From: mr at fudgie.org (Erlend Simonsen) Date: Wed, 23 Sep 2009 10:55:48 +0200 Subject: [gltail] gl_tails - error with ftools/filetuils - Ruby 1.9? In-Reply-To: References: Message-ID: <551540A4-C7EA-4721-BA51-1309476C0DE9@fudgie.org> Ah. I never tested creating a new config file.. I'll try and fix it. In the meantime, copy dist/config.yaml to .yaml, edit to your liking and use that as startup argument. -- Erlend From xenophage0 at gmail.com Wed Sep 23 13:23:13 2009 From: xenophage0 at gmail.com (Jason Frisvold) Date: Wed, 23 Sep 2009 13:23:13 -0400 Subject: [gltail] Unable to create direct context? Message-ID: <4ABA5981.8010503@gmail.com> I haven't played with glTail in a while, so I thought I'd take a shot at getting it running. However, I'm getting the following error. Not sure where to proceed from here, any thoughts? freeglut (bin/gl_tail): Unable to create direct context rendering for window 'glTail' This may hurt performance. X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 151 (GLX) Minor opcode of failed request: 5 (X_GLXMakeCurrent) Serial number of failed request: 43 Current serial number in output stream: 43 -- --------------------------- Jason Frisvold xenophage0 at gmail.com --------------------------- "I love deadlines. I like the whooshing sound they make as they fly by." - Douglas Adams From mr at fudgie.org Thu Sep 24 06:57:19 2009 From: mr at fudgie.org (Erlend Simonsen) Date: Thu, 24 Sep 2009 12:57:19 +0200 Subject: [gltail] gl_tails - error with ftools/filetuils - Ruby 1.9? In-Reply-To: References: <551540A4-C7EA-4721-BA51-1309476C0DE9@fudgie.org> Message-ID: Install the latest version of net-ssh -- Erlend On Wed, Sep 23, 2009 at 4:06 PM, Victor Hooi wrote: > heya, > Ok, I've just tried editing config.yaml to a known server, and trying with > that. It seems to bring up a window (more a border, really) which flashes, > then disappears. > Output is: > [victorhooi at zenator-arch gltail]$ bin/gl_tail config.yaml > /usr/lib/ruby/gems/1.9.1/gems/needle-1.3.0/lib/needle/definition-context.rb:36: > warning: undefining `initialize' may cause serious problem > /usr/lib/ruby/gems/1.9.1/gems/needle-1.3.0/lib/needle/definition-context.rb:36: > warning: undefining `object_id' may cause serious problem > /usr/lib/ruby/gems/1.9.1/gems/needle-1.3.0/lib/needle/definition-context.rb:36: > warning: undefining `__send__' may cause serious problem > Connecting to nameofoursite.com... > /usr/lib/ruby/gems/1.9.1/gems/needle-1.3.0/lib/needle/thread.rb:42:in > `lock': undefined method `critical=' for Thread:Class (NoMethodError) > ?? ? ? ?from :6:in `synchronize' > ?? ? ? ?from > /usr/lib/ruby/gems/1.9.1/gems/needle-1.3.0/lib/needle/service-point.rb:117:in > `instance' > ?? ? ? ?from > /usr/lib/ruby/gems/1.9.1/gems/needle-1.3.0/lib/needle/container.rb:308:in > `get' > ?? ? ? ?from > /usr/lib/ruby/gems/1.9.1/gems/needle-1.3.0/lib/needle/registry.rb:124:in > `bootstrap' > ?? ? ? ?from > /usr/lib/ruby/gems/1.9.1/gems/needle-1.3.0/lib/needle/registry.rb:106:in > `initialize' > ?? ? ? ?from > /usr/lib/ruby/gems/1.9.1/gems/net-ssh-1.1.4/lib/net/ssh/session.rb:262:in > `new' > ?? ? ? ?from > /usr/lib/ruby/gems/1.9.1/gems/net-ssh-1.1.4/lib/net/ssh/session.rb:262:in > `process_arguments' > ?? ? ? ?from > /usr/lib/ruby/gems/1.9.1/gems/net-ssh-1.1.4/lib/net/ssh/session.rb:104:in > `initialize' > ?? ? ? ?from > /usr/lib/ruby/gems/1.9.1/gems/net-ssh-1.1.4/lib/net/ssh.rb:47:in `new' > ?? ? ? ?from > /usr/lib/ruby/gems/1.9.1/gems/net-ssh-1.1.4/lib/net/ssh.rb:47:in `start' > ?? ? ? ?from > /home/victorhooi/Downloads/gltail/lib/gl_tail/sources/ssh.rb:32:in `init' > ?? ? ? ?from /home/victorhooi/Downloads/gltail/lib/gl_tail/config.rb:153:in > `block in init' > ?? ? ? ?from /home/victorhooi/Downloads/gltail/lib/gl_tail/config.rb:153:in > `each' > ?? ? ? ?from /home/victorhooi/Downloads/gltail/lib/gl_tail/config.rb:153:in > `init' > ?? ? ? ?from /home/victorhooi/Downloads/gltail/lib/gl_tail/engine.rb:351:in > `start' > ?? ? ? ?from bin/gl_tail:111:in `
' > I'm not really sure what to make of this. > Cheers, > Victor > 2009/9/23 Erlend Simonsen >> >> Ah. >> >> I never tested creating a new config file.. I'll try and fix it. In the >> meantime, copy dist/config.yaml to .yaml, edit to your liking >> and use that as startup argument. >> >> -- Erlend > > From james at e-subversive.net Fri Sep 25 09:38:21 2009 From: james at e-subversive.net (James) Date: Fri, 25 Sep 2009 14:38:21 +0100 Subject: [gltail] Problem with gl-tail on Ubuntu Message-ID: <006e01ca3de5$7471ca60$5d555f20$@net> Hi I'm trying to set up a rescued-from-the-trash laptop with Ubuntu to be a gl-tail monitor but I get this problem with gl_tail: user at status:~/gl_tail/bin$ ./gl_tail gl_tail.yaml get fences failed: -1 param: 6, val: 0 Connecting to xxx.xxx.xxx... /var/lib/gems/1.8/gems/net-ssh-1.1.4/lib/net/ssh/session.rb:199:in `method_missing': undefined method `process' for # (NoMethodError) from ./../lib/gl_tail/sources/ssh.rb:49:in `init' from ./../lib/gl_tail/config.rb:153:in `init' from ./../lib/gl_tail/config.rb:153:in `each' from ./../lib/gl_tail/config.rb:153:in `init' from ./../lib/gl_tail/engine.rb:351:in `start' from ./gl_tail:111 user at status:~/gl_tail/bin$ (domain name replaced with xxx.xxx.xxx, it is correct). Any ideas? From mr at fudgie.org Sat Sep 26 04:26:12 2009 From: mr at fudgie.org (Erlend Simonsen) Date: Sat, 26 Sep 2009 10:26:12 +0200 Subject: [gltail] Problem with gl-tail on Ubuntu In-Reply-To: <006e01ca3de5$7471ca60$5d555f20$@net> References: <006e01ca3de5$7471ca60$5d555f20$@net> Message-ID: Is this the github version? If so, you need the latest net-ssh, not 1.1.4 like stated in the readme. -- Erlend On Fri, Sep 25, 2009 at 3:38 PM, James wrote: > Hi > > I'm trying to set up a rescued-from-the-trash laptop with Ubuntu to be a > gl-tail monitor but I get this problem with gl_tail: > > user at status:~/gl_tail/bin$ ./gl_tail gl_tail.yaml > get fences failed: -1 > param: 6, val: 0 > Connecting to xxx.xxx.xxx... > /var/lib/gems/1.8/gems/net-ssh-1.1.4/lib/net/ssh/session.rb:199:in > `method_missing': undefined method `process' for > # (NoMethodError) > ? ? ? ?from ./../lib/gl_tail/sources/ssh.rb:49:in `init' > ? ? ? ?from ./../lib/gl_tail/config.rb:153:in `init' > ? ? ? ?from ./../lib/gl_tail/config.rb:153:in `each' > ? ? ? ?from ./../lib/gl_tail/config.rb:153:in `init' > ? ? ? ?from ./../lib/gl_tail/engine.rb:351:in `start' > ? ? ? ?from ./gl_tail:111 > user at status:~/gl_tail/bin$ > > (domain name replaced with xxx.xxx.xxx, it is correct). > > Any ideas? > > > > _______________________________________________ > gltail-general mailing list > gltail-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/gltail-general >