From: Xeno Campanoli / Eskimo North and Gmail on
> undefined method `html' for #<CGI:0xb783f268> (NoMethodError)
???
--
"It's the preponderance, stupid!" - Professor Stephen Schneider, IPCC member

From: Xeno Campanoli / Eskimo North and Gmail on
On 10-06-24 10:00 AM, Xeno Campanoli / Eskimo North and Gmail wrote:
>> undefined method `html' for #<CGI:0xb783f268> (NoMethodError)
> ???

I tried taking it out and using html4, but now I get this:

/usr/lib/ruby/1.8/cgi.rb:726:in `out': private method `print' called for
"":String (NoMethodError)


What have I done? This has worked correctly for years?


--
"It's the preponderance, stupid!" - Professor Stephen Schneider, IPCC member

From: Xeno Campanoli / Eskimo North and Gmail on
On 10-06-24 10:14 AM, Xeno Campanoli / Eskimo North and Gmail wrote:
> On 10-06-24 10:00 AM, Xeno Campanoli / Eskimo North and Gmail wrote:
>>> undefined method `html' for #<CGI:0xb783f268> (NoMethodError)
>> ???
>
> I tried taking it out and using html4, but now I get this:
>
> /usr/lib/ruby/1.8/cgi.rb:726:in `out': private method `print' called for
> "":String (NoMethodError)
>
>
> What have I done? This has worked correctly for years?
>
>
This routine is working in other environments, even on other Ubuntu
installations, but not on this latest one:

def putFAILMessagePage(topicStr)
responseMarkup =
"<body style='background-color: red'>\n" +
"<h4>" +
"Response to #{ProductLabel} #{topicStr} submission at #{Time.now}" +
"</h4>\n" +
"<div style='background-color: red; font-size: 48pt'>\n" +
"Submission FAILED" +
"</div>\n" +
"<h5>" + $diagnostic_message + "</h5>\n" +
"</body>\n"
$CGIo.out{
$CGIo.html{
$CGIo.head{ $CGIo.title{ "#{ProductLabel}: #{topicStr}" }
} +
responseMarkup
}
}
end

The comment about the private method print about seems to be consistent...

Anyone know what I'm getting this from? This is a late version of Ubuntu
Server...???

--
"It's the preponderance, stupid!" - Professor Stephen Schneider, IPCC member

 | 
Pages: 1
Prev: [ANN] Money 3.0.4
Next: float: out of range issues