[前][次][番号順一覧][スレッド一覧]

ruby-reference-manual:2127

From: Ippei Obayashi <redmine@r...>
Date: Tue, 13 Apr 2010 23:01:47 +0900
Subject: [ruby-reference-manual:2127] [Bug #3142] Ruby 1.9.1 で bitclust update が動作しない

Bug #3142: Ruby 1.9.1 で bitclust update が動作しない
http://redmine.ruby-lang.org/issues/show/3142

起票者: Ippei Obayashi
ステータス: Open, 優先度: Normal
カテゴリ: bitclust

Debian GNU/Linux, Lenny amd64, LANG=ja_JP.UTF-8、という環境で bitclust update が以下のようなエラーを
出力して停止します。原因は lib/bitclust/compat.rb 内の関数 fopen() でargsの「:」以降を切り捨てていることであるようです。

$ ruby-1.9.1-p376 -v
ruby 1.9.1p376 (2009-12-07 revision 26041) [x86_64-linux]
$ ruby-1.9.1-p376 bin/bitclust.rb -d ./db-1.9.1 update --stdlibtree=../rubydoc/refm/api/src
bin/bitclust.rb:19: warning: variable $KCODE is no longer effective; ignored
/home/ohai/src/bitclust/lib/bitclust/preprocessor.rb:77:in `===': invalid byte sequence in UTF-8 (ArgumentError)
	from /home/ohai/src/bitclust/lib/bitclust/preprocessor.rb:77:in `next_line'
	from /home/ohai/src/bitclust/lib/bitclust/preprocessor.rb:26:in `gets'
	from /home/ohai/src/bitclust/lib/bitclust/lineinput.rb:48:in `gets'
	from /home/ohai/src/bitclust/lib/bitclust/lineinput.rb:73:in `skip_blank_lines'
	from /home/ohai/src/bitclust/lib/bitclust/rrdparser.rb:85:in `do_parse'
	from /home/ohai/src/bitclust/lib/bitclust/rrdparser.rb:78:in `parse'
	from /home/ohai/src/bitclust/lib/bitclust/rrdparser.rb:71:in `block in parse_file'
	from /home/ohai/src/bitclust/lib/bitclust/compat.rb:39:in `open'
	from /home/ohai/src/bitclust/lib/bitclust/compat.rb:39:in `fopen'
	from /home/ohai/src/bitclust/lib/bitclust/rrdparser.rb:70:in `parse_file'
	from /home/ohai/src/bitclust/lib/bitclust/methoddatabase.rb:160:in `update_by_file'
	from /home/ohai/src/bitclust/lib/bitclust/methoddatabase.rb:147:in `block in update_by_stdlibtree'
	from /home/ohai/src/bitclust/lib/bitclust/methoddatabase.rb:146:in `each'
	from /home/ohai/src/bitclust/lib/bitclust/methoddatabase.rb:146:in `update_by_stdlibtree'
	from bin/bitclust.rb:195:in `block in exec'
	from /home/ohai/src/bitclust/lib/bitclust/database.rb:57:in `transaction'
	from bin/bitclust.rb:193:in `exec'
	from bin/bitclust.rb:102:in `_main'
	from bin/bitclust.rb:30:in `main'
	from bin/bitclust.rb:538:in `<main>'


----------------------------------------
http://redmine.ruby-lang.org

--
ML: ruby-reference-manual@m...
使い方: http://QuickML.com/

[前][次][番号順一覧][スレッド一覧]

->    2127 2010-04-13 16:01 [redmine@r...        ] [Bug #3142] Ruby 1.9.1 で bitclust update が動作しない
      2130 2010-04-15 17:44 ┣[redmine@r...        ] [Bug #3142](Feedback) Ruby 1.9.1 で bitclust update が動作しない
      2153 2010-04-22 15:22 ┗[redmine@r...        ] [Bug #3142](Closed) Ruby 1.9.1 で bitclust update が動作しない