Bug#331050: ..
hi again, please note that the patch does still not prevent raggle from crashing: [EMAIL PROTECTED]:/# raggle Raggle: Loading config... Raggle: Loading feed list... /usr/lib/ruby/1.8/yaml.rb:133:in `transfer': allocator undefined for Bignum (TypeError) from /usr/lib/ruby/1.8/yaml.rb:133:in `load' from /usr/bin/raggle:4795:in `load_config' from /usr/bin/raggle:5441:in `main' from /usr/bin/raggle:6461 bye, - michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#331050: ..
Michael Ablassmeier wrote: > please note that the patch does still not prevent raggle from crashing: > > [EMAIL PROTECTED]:/# raggle > Raggle: Loading config... > Raggle: Loading feed list... > /usr/lib/ruby/1.8/yaml.rb:133:in `transfer': allocator undefined for > Bignum (TypeError) > from /usr/lib/ruby/1.8/yaml.rb:133:in `load' > from /usr/bin/raggle:4795:in `load_config' > from /usr/bin/raggle:5441:in `main' > from /usr/bin/raggle:6461 I posted a workaround to ruby-core list: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/6159> -- akira yamada -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#331050: ..
hi akira, On Tue, Oct 11, 2005 at 04:30:46PM +0900, akira yamada wrote: > Michael Ablassmeier wrote: > > please note that the patch does still not prevent raggle from crashing: > > > > [EMAIL PROTECTED]:/# raggle > > Raggle: Loading config... > > Raggle: Loading feed list... > > /usr/lib/ruby/1.8/yaml.rb:133:in `transfer': allocator undefined for > > Bignum (TypeError) > > from /usr/lib/ruby/1.8/yaml.rb:133:in `load' > > from /usr/bin/raggle:4795:in `load_config' > > from /usr/bin/raggle:5441:in `main' > > from /usr/bin/raggle:6461 > > I posted a workaround to ruby-core list: > http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/6159> i rebuild unstable's ruby packages with your patch and it works quite well. bye, - michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#331050: patch
tags 331050 + patch thanks hi, attached patch fixes this issue, i dont know if its a clean solution, it seems to work: [EMAIL PROTECTED]:/# ruby -ryaml -e 'puts YAML.load(YAML.dump(1234567890))' 1234567890 bye, - michael --- ruby1.8-1.8.3/ruby-1.8.3/lib/yaml/rubytypes.rb 2005-09-20 06:46:45.0 + +++ /usr/lib/ruby/1.8/yaml/rubytypes.rb 2005-10-04 08:28:37.0 + @@ -372,6 +372,10 @@ yaml_as "tag:yaml.org,2002:int" end +class Bignum +yaml_as "tag:yaml.org,2002:int#yes" +end + class Float yaml_as "tag:yaml.org,2002:float" end
Bug#331050: libruby 1.8.3 yaml bignum issues
Package: libruby1.8 Severity: important Tags: sid, upstream hi, the latest yaml.rb in ruby 1.8.3 has problems dealing with Bignum Values. Somewhen in september Time.tv_sec values turned Bignum instead of Fixnum. This, for example, breaks raggle: [EMAIL PROTECTED]:~$ raggle Raggle: Loading config... Raggle: Loading feed list... /usr/lib/ruby/1.8/yaml.rb:133:in `transfer': allocator undefined for Bignum (TypeError) from /usr/lib/ruby/1.8/yaml.rb:133:in `load' from /usr/bin/raggle:4795:in `load_config' from /usr/bin/raggle:5441:in `main' from /usr/bin/raggle:6461 bye, - michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]