Here is a trace from ruby-debug, right before I get the exception. On Dec 13, 2007 3:43 PM, Eric Hodel <[EMAIL PROTECTED]> wrote: > On Dec 13, 2007, at 13:37 PM, Eric Hodel wrote: > > On Dec 11, 2007, at 24:30 AM, Chad Woolley wrote: > >> > >> Is this a bug, or am I doing something wrong? > > > > You certainly shouldn't get 500s. I'll look into it, but if you can > > run with --debug it might give a backtrace. > > Fixed. >
This is still a problem with the trunk as of right now. Here is my ruby-debug session, which shows the stack right before I get the exception. It gets into fetch_single_spec, then blows up looking for a /quick/Marshal...rz file: chadmac:~ woolley$ rm -rf ~/.gem; rdebug /usr/local/bin/gem -- list --remote --source=http://127.0.0.1:9909 /usr/local/bin/gem:8 require 'rubygems' [3, 12] in /usr/local/bin/gem 3 # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others. 4 # All rights reserved. 5 # See LICENSE.txt for permissions. 6 #++ 7 => 8 require 'rubygems' 9 require 'rubygems/gem_runner' 10 11 required_version = Gem::Requirement.new ">= 1.8.2" 12 (rdb:1) b /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:397 Set breakpoint 1 at /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:397 (rdb:1) c *** REMOTE GEMS *** Updating metadata for 8 gems from http://127.0.0.1:9909 Breakpoint 1 at /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:397 /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:397 marshal_uri = source_uri + "/quick/Marshal.#{Gem.marshal_version}/#{spec_name}.gemspec.rz" [392, 401] in /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb 392 393 # Tries to fetch Marshal representation first, then YAML 394 def fetch_single_spec(source_uri, spec_name) 395 @fetch_error = nil 396 begin => 397 marshal_uri = source_uri + "/quick/Marshal.#{Gem.marshal_version}/#{spec_name}.gemspec.rz" 398 zipped = fetcher.fetch_path marshal_uri 399 return Marshal.load(unzip(zipped)) 400 rescue => ex 401 @fetch_error = ex (rdb:1) where --> #0 /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:397 in 'fetch_single_spec' #1 /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:425 in 'update_with_missing' #2 /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:424 in 'update_with_missing' #3 /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:293 in 'update' #4 /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_info_cache_entry.rb:33 in 'refresh' #5 /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_info_cache.rb:135 in 'refresh' #6 /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_info_cache.rb:128 in 'refresh' #7 /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_info_cache.rb:40 in 'cache' #8 /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_info_cache.rb:50 in 'search' #9 /usr/local/lib/ruby/site_ruby/1.8/rubygems/commands/query_command.rb:52 in 'execute' #10 /usr/local/lib/ruby/site_ruby/1.8/rubygems/commands/list_command.rb:31 in 'execute' #11 /usr/local/lib/ruby/site_ruby/1.8/rubygems/command.rb:136 in 'invoke' #12 /usr/local/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:104 in 'process_args' #13 /usr/local/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:74 in 'run' #14 /usr/local/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:39 in 'run' #15 /usr/local/bin/gem:22 in 'new' _______________________________________________ Rubygems-developers mailing list [email protected] http://rubyforge.org/mailman/listinfo/rubygems-developers
