Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > cgi error 1.8.p4

Reply
Thread Tools

cgi error 1.8.p4

 
 
George Moschovitis
Guest
Posts: n/a
 
      08-01-2003
Hi there, i got the following error using preview4:

/usr/local/lib/ruby/1.8/cgi.rb:804:in `initialize': superclass method
`initialize' must be enabled by rb_enable_super() (NameError)
from /usr/local/lib/ruby/1.8/cgi.rb:804:in `new'
from /usr/local/lib/ruby/1.8/cgi.rb:804:in `read_multipart'
from /home/gmosx/dev/n2/web/server/request.rb:263:in
`parse_parameters'
from /home/gmosx/dev/n2/web/server/request.rb:232:in
`initialize_from_apache'
from /home/gmosx/dev/n2/web/server/modruby-adapter.rb:123:in
`handler'

any idea what this is?

George Moschovitis
 
Reply With Quote
 
 
 
 
George Moschovitis
Guest
Posts: n/a
 
      08-03-2003
> Can you try
> svg% ruby -vrstringio -e 'p StringIO.new'
> ruby 1.8.0 (2003-06-23) [i686-linux]
> #<StringIO:0x4009a68c>


yeap, i got the following:

gmosx@sith:~/dev/n1> ruby -vrstringio -e 'p StringIO.new'
ruby 1.8.0 (2003-07-31) [i686-linux]
#<StringIO:0x401d4a70>
gmosx@sith:~/dev/n1> ruby -v
ruby 1.8.0 (2003-07-31) [i686-linux]

seems ok to me, any idea?

George Moschovitis
 
Reply With Quote
 
 
 
 
ts
Guest
Posts: n/a
 
      08-04-2003
>>>>> "G" == George Moschovitis <> writes:

G> gmosx@sith:~/dev/n1> ruby -vrstringio -e 'p StringIO.new'
G> ruby 1.8.0 (2003-07-31) [i686-linux]
G> #<StringIO:0x401d4a70>

Well, the error was given when it tried to create a new StringIO : I don't
see why your cgi can give an error


Guy Decoux


 
Reply With Quote
 
Dr AK
Guest
Posts: n/a
 
      08-04-2003
ts <> wrote in message news:<>...
> >>>>> "G" == George Moschovitis <> writes:

>
> G> gmosx@sith:~/dev/n1> ruby -vrstringio -e 'p StringIO.new'
> G> ruby 1.8.0 (2003-07-31) [i686-linux]
> G> #<StringIO:0x401d4a70>
>
> Well, the error was given when it tried to create a new StringIO : I don't
> see why your cgi can give an error


> Guy Decoux


Guy, thanx for your hint! Problem solved - mod_ruby had to be
recompiled - it was compiled with pre-release 3, whereas pre-release 6
had been installed afterwards...

--
drak @ navel.gr
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CGI (read multipart form): Accept-Charset encoding error (CGI::InvalidEncoding) Stefan Fischer Ruby 2 02-23-2010 08:17 AM
(CGI-Target)Could not connect to CGI-Proxy John Smith Java 0 05-15-2006 09:21 PM
Python CGI - Accepting Input, Invoking Another Process, Ending CGI LarsenMTL Python 4 11-04-2004 05:59 PM
Calling cgi from cgi thru 'system' function. Different behaviour on browser v/s cmd line Shailan Perl 2 12-15-2003 04:26 PM
Re: CGI Perl "use CGI" statement fail Jürgen Exner Perl 0 07-31-2003 02:00 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57