On 3/24/06,
Thomas E Enebo <[EMAIL PROTECTED]> wrote:
One thing to consider (though it may or may not be a valid point) is that
they stopped using the pure-ruby yaml parser in Ruby C some time ago. It
is entirely possible that this parser is written against Ruby 1.6 semantics.
I don't know if that plays into things here, but it might...so far, the
parser has generally worked...
-Tom
On Fri, 24 Mar 2006, Ola Bini defenestrated me:
> Next point.
>
> I get further and further along, but now I get really strange errors:
> In YAML:: Parser.do_tokenize the lines
> yline = readline
> yline.chomp! if yline
> fail, since the method readline sometimes returns an instance of IOError
> instead of String. what I can't understand is WHY it does this. from
> what I can find, readline is a method on Racc::Parser and Racc is not my
> strong point.
> (sorry I can't give line numbers, I've added lots of debug statements
> temporarily, so they won't match)
>
> Any ideas?
>
> /O
>
> ----- Original Message -----
> From: Thomas E Enebo <[EMAIL PROTECTED]>
> Date: Friday, March 24, 2006 3:47 pm
> Subject: Re: [Jruby-devel] Not a YAML-problem [WAS: YAML-problem.]
> To: [email protected]
>
> > Feel free to take a shot at it. The other time stuff is related
> > to conversion between Java and Ruby.
> >
> > -Tom
> >
> > On Fri, 24 Mar 2006, Ola Bini defenestrated me:
> >
> > > A simple test case for reproducing the problem is like this:
> > > Time.at(12345).dup
> > >
> > > It seems like the dup method for Time is broken. Since someone is
> > > working on the Time-class at the moment, shall I wait for that,
> > or fix
> > > it myself?
> > >
> > > /O
> > >
> > > ----- Original Message -----
> > > From: Tim Azzopardi < [EMAIL PROTECTED]>
> > > Date: Friday, March 24, 2006 2:40 pm
> > > Subject: Re: [Jruby-devel] YAML-problem.
> > > To: [email protected]
> > >
> > > > Its part of a a standard c-ruby distribution
> > > > ruby\lib\ruby\1.8\yaml\emitter.rbpossibly picked up by your
> > RUBY_HOME> > It may be being accessed emitter.rb.ast.ser depending
> > on how you
> > > > are runing jruby.
> > > >
> > > > Ola Bini wrote:
> > > > > Hi,
> > > > >
> > > > > The error that makes my post-install.rb of RubyGems to stop
> > can
> > > > be found
> > > > > in this stack trace:
> > > > > src/emitter.rb:1811:in `initialize_copy': initialize_copy
> > should
> > > > take> same class object (TypeError)
> > > > > from src/emitter.rb:1811:in `clone'
> > > > > from src/emitter.rb:1811:in `dup'
> > > > > from src/emitter.rb:1811:in `to_yaml'
> > > > > from src/emitter.rb:728:in `call'
> > > > > from src/emitter.rb:1169:in `quick_emit'
> > > > > from src/emitter.rb:1827:in `to_yaml'
> > > > > from src/emitter.rb:728:in `map'
> > > > > from src/emitter.rb:1470:in `each'
> > > > > ... 25 levels...
> > > > > from setup.rb:705:in `invoke'
> > > > > from setup.rb:674:in `invoke'
> > > > > from setup.rb:1352
> > > > >
> > > > > But this is strange, since I really can't find the file
> > > > emitter.rb anywhere.
> > > > > How should we proceed with this error?
> > > > >
> > > > > Regards
> > > > > Ola Bini
> > > > >
> > > > >
> > > > > -------------------------------------------------------
> > > > > This SF.Net email is sponsored by xPML, a groundbreaking
> > > > scripting language
> > > > > that extends applications into web and mobile media. Attend
> > the
> > > > live webcast
> > > > > and join the prime developer group breaking into this new
> > coding
> > > > territory!> http://sel.as-
> > > > us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >
> > > > _______________________________________________> Jruby-devel
> > > > mailing list
> > > > > [email protected]
> > > > > https://lists.sourceforge.net/lists/listinfo/jruby-devel
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > This SF.Net email is sponsored by xPML, a groundbreaking
> > scripting
> > > > languagethat extends applications into web and mobile media.
> > Attend
> > > > the live webcast
> > > > and join the prime developer group breaking into this new
> > coding
> > > > territory!http://sel.as-
> > > >
> > >
> >
> us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642_______________________________________________>
> > Jruby-devel mailing list
> > > > [email protected]
> > > > https://lists.sourceforge.net/lists/listinfo/jruby-devel
> > > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by xPML, a groundbreaking
> > scripting language
> > > that extends applications into web and mobile media. Attend the
> > live webcast
> > > and join the prime developer group breaking into this new coding
> > territory!> http://sel.as-
> > us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642>
> > _______________________________________________> Jruby-devel
> > mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/jruby-devel
> >
> > --
> > + http://www.tc.umn.edu/~enebo +---- mailto:[EMAIL PROTECTED] ----+
> > | Thomas E Enebo, Protagonist | "Luck favors the prepared |
> > | | mind." -Louis Pasteur |
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by xPML, a groundbreaking scripting
> > languagethat extends applications into web and mobile media. Attend
> > the live webcast
> > and join the prime developer group breaking into this new coding
> > territory!http://sel.as-
> >
> us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642_______________________________________________
> > Jruby-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/jruby-devel
> >
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Jruby-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jruby-devel
--
+ http://www.tc.umn.edu/~enebo +---- mailto:[EMAIL PROTECTED] ----+
| Thomas E Enebo, Protagonist | "Luck favors the prepared |
| | mind." -Louis Pasteur |
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jruby-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jruby-devel
--
Charles Oliver Nutter @ headius.blogspot.com
JRuby Developer @ jruby.sourceforge.net
Application Architect @ www.ventera.com
