rubyists-
am i an idiot (probably), or does the http://outerbody.com/bb page not work
under netscape 4.77 on linux?
i’m trying to grasp roach, but the board, and sample apps, look terrible/don’t
work on my platform.
also when starting roach, i got this error
/usr/local/roach-0.4 > ./roach start
…/lib/roach/Log.rb:47:in `start’: uninitialized class variable @@queue in Roach::Log (NameError)
from ./lib/roach.rb:16
Starting Roach: [FAILED]
i edited the lib/roach/Log.rb file and added
@@queue = nil
to the list of Log class vars… then it at least started
now if i could just grok it…
anyone else outthere using this? what are your experiences?
-a
···
–
====================================
Ara Howard
NOAA Forecast Systems Laboratory
Information and Technology Services
Data Systems Group
R/FST 325 Broadway
Boulder, CO 80305-3328
Email: ahoward@fsl.noaa.gov
Phone: 303-497-7238
Fax: 303-497-7259
====================================
ahoward ahoward@fsl.noaa.gov writes:
rubyists-
am i an idiot (probably), or does the http://outerbody.com/bb page not work
under netscape 4.77 on linux?
jenny:~> wget http://outerbody.com/bb
–09:46:46-- http://outerbody.com/bb
=> `bb’
Resolving outerbody.com… done.
Connecting to outerbody.com[209.61.158.116]:80… connected.
HTTP request sent, awaiting response… 404 Not Found
09:46:46 ERROR 404: Not Found.
BUT
http://outerbody.com/bb/ can be retrieved (notice the trailing /).
also when starting roach, i got this error
it starts fine here.
i edited the lib/roach/Log.rb file and added
@@queue = nil
You don’t have to do that… @@queue is defined and used in Log.start
which is called from lib/roach.rb.
I was able to run it and try its sample app
(http://localhost:8989).
YS.
http://outerbody.com/bb/ can be retrieved (notice the trailing /).
let me restate that : i can get there, but nothing works. for example, the
login or reply links, etc…
also, the sample apps look terrible - text on text, etc.
You don’t have to do that… @@queue is defined and used in Log.start
which is called from lib/roach.rb.
this error is identical to
irb(main):001:0> class Foo; def Foo.foo; @@foo = ‘foo’; end; end
nil
irb(main):002:0> Foo.foo
NameError: uninitialized class variable @@foo in Foo
from (irb):1:in `foo’
from (irb):2
this may work in your ruby, but not mine.
eli > ruby -v
ruby 1.6.6 (2001-12-26) [i686-linux]
which version do you have?
thank you for checking that out!
-a
···
On Sun, 10 Nov 2002, Yohanes Santoso wrote:
–
====================================
Ara Howard
NOAA Forecast Systems Laboratory
Information and Technology Services
Data Systems Group
R/FST 325 Broadway
Boulder, CO 80305-3328
Email: ahoward@fsl.noaa.gov
Phone: 303-497-7238
Fax: 303-497-7259
====================================
Hi,
I can’t speak about all the Ruby stuff, but I can tell you that this URL looks
fantastic under Mozilla. It’s relying on loads of CSS, and Netscape 4.x is
guaranteed to display garbage when faced with complex CSS. The JavaScript is
probably something way beyond what NS can handle. If possible, you should
upgrade to a newer browser. There are a lot of good ones out there! If not,
then you should avoid sites like this
-Brian Wisti
···
On Saturday 09 November 2002 02:43 pm, ahoward wrote:
On Sun, 10 Nov 2002, Yohanes Santoso wrote:
http://outerbody.com/bb/ can be retrieved (notice the trailing /).
let me restate that : i can get there, but nothing works. for example, the
login or reply links, etc…
also, the sample apps look terrible - text on text, etc.
–
brian@coolnamehere.com
http://coolnamehere.com/
Rubyists,
Thought I’d give roach a try, but the sample page didn’t work for me
(“The document contains no data” ERROR).
Apache 2.0.43
Roach 0.4
ruby 1.8.0 (2002-12-26) [i386-linux-gnu]
Debugging so far:
At Request.rb, the line containing “extend QueryExtension” is failing
because for some reason or other QueryExtension is NOT known to Ruby
(QueryExtension is a module in cgi.rb).
Is this some scoping problem, which I inadvertantly triggered when using
my combination of Apache, Ruby and Roach?
======================== roach.log ================================
3 [ Ready. ] ./lib/roach/Httpd.rb:55
0 [ fielding request… ] 1 ./lib/roach/Httpd.rb:94
0 [ adding request to queue ] ./lib/roach/Httpd.rb:60
3 [ watching thread id: 1 ] ./lib/roach/Httpd.rb:76
0 [ content length: 0 ] 1 ./lib/roach/Request.rb:172
9 [ uninitialized constant QueryExtension at Roach ] 1
./lib/roach/Httpd.rb:115
9 [ ./lib/roach/Request.rb:43:in initialize' ] 1 ./lib/roach/Log.rb:84 9 [ ./lib/roach/Request.rb:191:in
new’ ] 1 ./lib/roach/Log.rb:84
9 [ ./lib/roach/Request.rb:191:in initialize' ] 1 ./lib/roach/Log.rb:84 9 [ ./lib/roach/Httpd.rb:97:in
new’ ] 1 ./lib/roach/Log.rb:84
9 [ ./lib/roach/Httpd.rb:97:in listener' ] 1 ./lib/roach/Log.rb:84 9 [ ./lib/roach/Httpd.rb:51:in
listen’ ] 1 ./lib/roach/Log.rb:84
9 [ ./lib/roach/Httpd.rb:51:in initialize' ] 1 ./lib/roach/Log.rb:84 9 [ ./lib/roach/Httpd.rb:51:in
new’ ] 1 ./lib/roach/Log.rb:84
9 [ ./lib/roach/Httpd.rb:51:in listen' ] 1 ./lib/roach/Log.rb:84 9 [ ./lib/roach/Httpd.rb:50:in
times’ ] 1 ./lib/roach/Log.rb:84
9 [ ./lib/roach/Httpd.rb:50:in `listen’ ] 1 ./lib/roach/Log.rb:84
9 [ lib/roach.rb:53 ] 1 ./lib/roach/Log.rb:84
8 [ terminating request ] 1 ./lib/roach/Httpd.rb:127
···
–
Wai-Sun “Squidster” Chia
Consulting & Integration
Linux/Unix/Web Developer Dude
"Just Another Ruby Miner"