[Rubygems-developers] On Windows Zlib::BufError

Trans transfire at gmail.com
Wed Nov 7 02:36:29 EST 2007


No end of oddities for me.... Using Windows one click installer. Just
finished doing a gem update --system (twice):

  C:\Documents and Settings\trans>gem install facets
  ERROR:  While executing gem ... (Zlib::BufError)
      buffer error

Here's --backtrace

C:\Documents and Settings\trans>gem install --backtrace facets
ERROR:  While executing gem ... (Zlib::BufError)
    buffer error
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:621:in `initialize'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:621:in `new'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:621:in `zipped_stream'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:596:in `each'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:448:in `each_entry'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:442:in `loop'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:442:in `each_entry'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:427:in `each'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:594:in `each'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/format.rb:62:in `from_io'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:587:in `open_from_io'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:805:in `open_from_io'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/format.rb:59:in `from_io'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/format.rb:47:in `from_file_by_path'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/installer.rb:68:in `install'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:68:in `install'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:87:in `execu
te'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:49:in `each'

c:/ruby/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:49:in `execu
te'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command.rb:70:in `invoke'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:121:in `process_args'

c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:92:in `run'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:30:in `run'
c:/ruby/bin/gem.bat:24

And with --debug:

C:\Documents and Settings\trans>gem install --debug facets
Exception `Errno::ENOENT' at c:/ruby/lib/ruby/site_ruby/1.8/rubygems/config_file
.rb:51 - No such file or directory - C:\Documents and Settings\trans/.gemrc
Exception `NameError' at c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
.rb:145 - uninitialized constant Gem::Commands::BuildCommand
Exception `NameError' at c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
.rb:145 - uninitialized constant Gem::Commands::CertCommand
Exception `NameError' at c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
.rb:145 - uninitialized constant Gem::Commands::CheckCommand
Exception `NameError' at c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
.rb:145 - uninitialized constant Gem::Commands::ContentsCommand
Exception `NameError' at c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
.rb:145 - uninitialized constant Gem::Commands::DependencyCommand
Exception `NameError' at c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
.rb:145 - uninitialized constant Gem::Commands::EnvironmentCommand
Exception `NameError' at c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
.rb:145 - uninitialized constant Gem::Commands::HelpCommand
Exception `NameError' at c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
.rb:145 - uninitialized constant Gem::Commands::InstallCommand
Exception `NameError' at c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
.rb:145 - uninitialized constant Gem::Commands::OutdatedCommand
Exception `NameError' at c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
.rb:145 - uninitialized constant Gem::Commands::PristineCommand
Exception `NameError' at c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
.rb:145 - uninitialized constant Gem::Commands::QueryCommand
Exception `NameError' at c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
.rb:145 - uninitialized constant Gem::Commands::ListCommand
Exception `NameError' at c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
.rb:145 - uninitialized constant Gem::Commands::RdocCommand
Exception `NameError' at c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
.rb:145 - uninitialized constant Gem::Commands::SearchCommand
Exception `NameError' at c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
.rb:145 - uninitialized constant Gem::Commands::SourcesCommand
Exception `NameError' at c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
.rb:145 - uninitialized constant Gem::Commands::SpecificationCommand
Exception `NameError' at c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
.rb:145 - uninitialized constant Gem::Commands::UninstallCommand
Exception `NameError' at c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
.rb:145 - uninitialized constant Gem::Commands::UnpackCommand
Exception `NameError' at c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
.rb:145 - uninitialized constant Gem::Commands::CleanupCommand
Exception `NameError' at c:/ruby/lib/ruby/site_ruby/1.8/rubygems/command_manager
.rb:145 - uninitialized constant Gem::Commands::UpdateCommand
Exception `Zlib::BufError' at c:/ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb
:621 - buffer error
ERROR:  While executing gem ... (Zlib::BufError)
    buffer error

-- 
7rans <transfire at gmail.com>


More information about the Rubygems-developers mailing list