[#15359] Timeout::Error — Jeremy Thurgood <jerith@...>

Good day,

41 messages 2008/02/05
[#15366] Re: Timeout::Error — Eric Hodel <drbrain@...7.net> 2008/02/06

On Feb 5, 2008, at 06:20 AM, Jeremy Thurgood wrote:

[#15370] Re: Timeout::Error — Jeremy Thurgood <jerith@...> 2008/02/06

Eric Hodel wrote:

[#15373] Re: Timeout::Error — Nobuyoshi Nakada <nobu@...> 2008/02/06

Hi,

[#15374] Re: Timeout::Error — Jeremy Thurgood <jerith@...> 2008/02/06

Nobuyoshi Nakada wrote:

[#15412] Re: Timeout::Error — Nobuyoshi Nakada <nobu@...> 2008/02/07

Hi,

[#15413] Re: Timeout::Error — Jeremy Thurgood <jerith@...> 2008/02/07

Nobuyoshi Nakada wrote:

[#15414] Re: Timeout::Error — Nobuyoshi Nakada <nobu@...> 2008/02/07

Hi,

[#15360] reopen: can't change access mode from "w+" to "w"? — Sam Ruby <rubys@...>

I ran 'rake test' on test/spec [1], using

16 messages 2008/02/05
[#15369] Re: reopen: can't change access mode from "w+" to "w"? — Nobuyoshi Nakada <nobu@...> 2008/02/06

Hi,

[#15389] STDIN encoding differs from default source file encoding — Dave Thomas <dave@...>

This seems strange:

21 messages 2008/02/06
[#15392] Re: STDIN encoding differs from default source file encoding — Yukihiro Matsumoto <matz@...> 2008/02/06

Hi,

[#15481] very bad character performance on ruby1.9 — "Eric Mahurin" <eric.mahurin@...>

I'd like to bring up the issue of how characters are represented in

16 messages 2008/02/10

[#15528] Test::Unit maintainer — Kouhei Sutou <kou@...>

Hi Nathaniel, Ryan,

22 messages 2008/02/13

[#15551] Proc#curry — ts <decoux@...>

21 messages 2008/02/14
[#15557] Re: [1.9] Proc#curry — David Flanagan <david@...> 2008/02/15

ts wrote:

[#15558] Re: [1.9] Proc#curry — Yukihiro Matsumoto <matz@...> 2008/02/15

Hi,

[#15560] Re: Proc#curry — Trans <transfire@...> 2008/02/15

[#15585] Ruby M17N meeting summary — Martin Duerst <duerst@...>

This is a rough translation of the Japanese meeting summary

19 messages 2008/02/18

[#15596] possible bug in regexp lexing — Ryan Davis <ryand-ruby@...>

current:

17 messages 2008/02/19

[#15678] Re: [ANN] MacRuby — "Rick DeNatale" <rick.denatale@...>

On 2/27/08, Laurent Sansonetti <laurent.sansonetti@gmail.com> wrote:

18 messages 2008/02/28
[#15679] Re: [ANN] MacRuby — "Laurent Sansonetti" <laurent.sansonetti@...> 2008/02/28

On Thu, Feb 28, 2008 at 6:33 AM, Rick DeNatale <rick.denatale@gmail.com> wrote:

[#15680] Re: [ANN] MacRuby — Yukihiro Matsumoto <matz@...> 2008/02/28

Hi,

[#15683] Re: [ANN] MacRuby — "Laurent Sansonetti" <laurent.sansonetti@...> 2008/02/28

On Thu, Feb 28, 2008 at 1:51 PM, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:

Re: Gem install error on head

From: Kurt Stephens <ks@...>
Date: 2008-02-01 07:11:11 UTC
List: ruby-core #15330
The problem maybe related to open-uri.rb:385:

    def meta_add_field(name, value) # :nodoc:
      @meta[name.downcase] = value
    end

@meta is not initialized, @meta should be initialized by callers to:

    def Meta.init(obj, src=nil) # :nodoc:
      obj.extend Meta
      obj.instance_eval {
        @base_uri = nil
        @meta = {}
      }
      if src
        obj.status = src.status
        obj.base_uri = src.base_uri
        src.meta.each {|name, value|
          obj.meta_add_field(name, value)
        }
      end
    end

if anyone else wants to give it a try,
I've attached a shell script that can recreate this error by building
ruby directly from SVN trunk.  Read the comments at the top, before
running; your mileage may vary.

Kurt

Kurt Stephens wrote:
> Luis Lavena wrote:
>> On Jan 31, 2008 11:45 PM, Kurt Stephens <ks@kurtstephens.com> wrote:
>>   
>>> This has been happening for me for a *long* time.  I can also recreate
>>> this error; I thought it was just my environment.  What's the best way
>>> to get gem to produce a useful stack trace?
>>>
>>>     
>>
>> gem install --debug gem_name
>>
>>   
> 
> Here's the new result with gem install --debug rake:
> (Note: /home/stephens/local/ruby/trunk is the ruby config --prefix of a
> clean install on Linux)
> 
> + gem install --debug -y rake
> Exception `NameError' at
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/rubygems/command_manager.rb:132
> - uninitialized constant Gem::Commands::InstallCommand
> INFO:  `gem install -y` is now default and will be removed
> INFO:  use --ignore-dependencies to install only the gems you list
> Exception `Gem::LoadError' at
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/rubygems.rb:385 - Could
> not find RubyGem sources (> 0.0.1)
> Exception `LoadError' at
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/tmpdir.rb:14 - no such
> file to load -- Win32API
> Exception `NoMethodError' at
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/open-uri.rb:411 -
> undefined method `[]=' for nil:NilClass
> Exception `NoMethodError' at
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/delegate.rb:146 -
> undefined method `[]=' for nil:NilClass
> Exception `Gem::OperationNotSupportedError' at
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/rubygems/source_index.rb:366
> - No quick index found: undefined method `[]=' for nil:NilClass
> Bulk updating Gem source index for: http://gems.rubyforge.org
> Exception `NoMethodError' at
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/open-uri.rb:411 -
> undefined method `[]=' for nil:NilClass
> Exception `NoMethodError' at
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/delegate.rb:146 -
> undefined method `[]=' for nil:NilClass
> Exception `NoMethodError' at
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/open-uri.rb:411 -
> undefined method `[]=' for nil:NilClass
> Exception `NoMethodError' at
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/delegate.rb:146 -
> undefined method `[]=' for nil:NilClass
> Exception `NoMethodError' at
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/open-uri.rb:411 -
> undefined method `[]=' for nil:NilClass
> Exception `NoMethodError' at
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/delegate.rb:146 -
> undefined method `[]=' for nil:NilClass
> Exception `Gem::RemoteSourceException' at
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/rubygems/source_index.rb:354
> - Error fetching remote gem cache: undefined method `[]=' for nil:NilClass
> ERROR:  While executing gem ... (Gem::RemoteSourceException)
>     Error fetching remote gem cache: undefined method `[]=' for nil:NilClass
>        
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/rubygems/source_index.rb:354:in
> `raise'
>        
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/rubygems/source_index.rb:354:in
> `fetch_bulk_index'
>        
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/rubygems/source_index.rb:292:in
> `update'
>        
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/rubygems/source_info_cache_entry.rb:33:in
> `refresh'
>        
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/rubygems/source_info_cache.rb:135:in
> `block in refresh'
>        
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/rubygems/source_info_cache.rb:128:in
> `each'
>        
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/rubygems/source_info_cache.rb:128:in
> `refresh'
>        
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/rubygems/source_info_cache.rb:40:in
> `cache'
>        
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/rubygems/source_info_cache.rb:56:in
> `search_with_source'
>        
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/rubygems/dependency_installer.rb:110:in
> `find_gems_with_sources'
>        
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/rubygems/dependency_installer.rb:77:in
> `initialize'
>        
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/rubygems/commands/install_command.rb:69:in
> `new'
>        
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/rubygems/commands/install_command.rb:69:in
> `block in execute'
>        
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/rubygems/commands/install_command.rb:67:in
> `each'
>        
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/rubygems/commands/install_command.rb:67:in
> `execute'
>        
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/rubygems/command.rb:136:in
> `invoke'
>        
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/rubygems/command_manager.rb:104:in
> `process_args'
>        
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/rubygems/command_manager.rb:74:in
> `run'
>        
> /home/stephens/local/ruby/trunk/lib/ruby/1.9.0/rubygems/gem_runner.rb:39:in
> `run'
>         /home/stephens/local/ruby/trunk/bin/gem:22:in `<main>'
> INFO:  `gem install -y` is now default and will be removed
> INFO:  use --ignore-dependencies to install only the gems you list
> Bulk updating Gem source index for: http://gems.rubyforge.org
> removing /tmp/open-uri20080201-15694-1ufzwvc-0...done
> removing /tmp/open-uri20080201-15694-1n74qbf-0...done
> removing /tmp/open-uri20080201-15694-1kb8qlc-0...done
> removing /tmp/open-uri20080201-15694-iwkd4t-0...done
> removing /tmp/open-uri20080201-15694-1j55r0r-0...done
> 
> I'll do a bit more digging.
> 
> http://kurtstephens.com
> 

Attachments (1)

build_ruby.sh (9.09 KB, application/x-sh)

In This Thread

Prev Next