ri IO -> RuntimeError

  • Thread starter Stephan Kämper
  • Start date
S

Stephan Kämper

Hi all,

I just noticed that ri fires a RuntimeError when called with
IO

-------------------------------------------------------------- Class: IO
Class +IO+ is the basis for all input and output in Ruby. An I/O
stream may be _duplexed_ (that is, bidirectional), and so may use
more than one native operating system stream.

Many of the examples in this section use class +File+, the only
standard subclass of +IO+. The two classes are closely associated.

As used in this section, _portname_ may take any of the following
forms.

c:/ruby/lib/ruby/1.8/rdoc/ri/ri_formatter.rb:152:in `display_list':
unknown list type (RuntimeError)
from c:/ruby/lib/ruby/1.8/rdoc/ri/ri_formatter.rb:175:in
`display_flow_item'
from c:/ruby/lib/ruby/1.8/rdoc/ri/ri_formatter.rb:225:in `display_flow'
from c:/ruby/lib/ruby/1.8/rdoc/ri/ri_formatter.rb:224:in `each'
from c:/ruby/lib/ruby/1.8/rdoc/ri/ri_formatter.rb:224:in `display_flow'
from c:/ruby/lib/ruby/1.8/rdoc/ri/ri_display.rb:268:in `display_flow'
from c:/ruby/lib/ruby/1.8/rdoc/ri/ri_display.rb:89:in `display_class_info'
from c:/ruby/lib/ruby/1.8/rdoc/ri/ri_display.rb:77:in `page'
from c:/ruby/lib/ruby/1.8/rdoc/ri/ri_display.rb:139:in `display_class_info'
from c:/ruby/lib/ruby/1.8/rdoc/ri/ri_driver.rb:58:in `report_class_stuff'
from c:/ruby/lib/ruby/1.8/rdoc/ri/ri_driver.rb:93:in `get_info_for'
from c:/ruby/lib/ruby/1.8/rdoc/ri/ri_driver.rb:122:in `process_args'
from c:/ruby/lib/ruby/1.8/rdoc/ri/ri_driver.rb:121:in `each'
from c:/ruby/lib/ruby/1.8/rdoc/ri/ri_driver.rb:121:in `process_args'
from c:/ruby/bin/ri:21


This happens on Win98 as well as XP running the 1-click-installer
version 1.8.1-13.

Has anybody else experienced this behaviour?


Happy rubying

Stephan
 
D

Dave Thomas

Hi all,

I just noticed that ri fires a RuntimeError when called with
IO
...

This happens on Win98 as well as XP running the 1-click-installer
version 1.8.1-13.

Has anybody else experienced this behaviour?

Strange - I don't have a Window's box with ri installed, but I don't
see the behavior here under OSX or Linux. Is it possible you have an
old version lying around somewhere? Does anyone else see this?

Cheers

Dave
 
K

Kent Sibilev

I see the same exception in my WinXP box. After poking around, I can
only guess that Ruby Windows Installer build 13 comes with the broken
yaml library which unmarshals Symbol instances as plain strings.

Cheers,
Kent.
 
S

Stephan Kämper

Hi Dave,

Dave said:
On Jun 9, 2004, at 16:13, Stephan Kämper wrote:

Strange - I don't have a Window's box with ri installed, but I don't see
the behavior here under OSX or Linux. Is it possible you have an old
version lying around somewhere?

I really don't think so; it's a brand new PC and that was the first
installation of, well, of everything including the OS, Ruby and
everything else.

Happy rubying

Stephan
 
J

Jim Menard

Dave said:
Strange - I don't have a Window's box with ri installed, but I don't
see the behavior here under OSX or Linux. Is it possible you have an
old version lying around somewhere? Does anyone else see this?

<aol>
Me, too. XP Pro, standard ruby 1.8.1 installation. If it matters, I ran ri
under both a DOS command line window and a Cygwin window.
</aol>

Jim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

ri bug? 2
ri on snow leopard? 3
How to debug 'ri' ? 2
ri busted for some core classes 2
Rubygem's gemri broken? 4
Ri bug in new 1.8.2 release 12
Yaml error running `ri String#unpack` 0
how to use ri in my computer? 6

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,278
Latest member
BuzzDefenderpro

Latest Threads

Top