[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[mhc:01323] mhc-palm.rb Error
- To: mhc@xxxxxxxxxxxxx
- Subject: [mhc:01323] mhc-palm.rb Error
- From: Ryoichi Kato <rook@xxxxxxxxxxxxxx>
- Date: Mon, 09 Apr 2001 02:57:54 +0900
- Reply-to: mhc@xxxxxxxxxxxxx
- User-agent: Wanderlust/2.4.1 (Stand By Me) WEMIKO/1.14.0 (Zoomastigophora) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386-debian-linux)
はじめて投稿させて頂く, 加藤と申します.
予定がその日の24時以降になるような予定を作成しておいて
mhc2palm -i すると次の様なエラーになるようですが,何故でしょうか?
---------- ここから -----------
zsh$ mhc2palm -i -v -n
delete all articles in the palm.
adding 目医者
converted into 1 palm article(s). not sent.
(中略)
adding HA'MON第五回演奏会
/usr/lib/ruby/1.6/mhc-palm.rb:677:in `local': argument out of range (ArgumentError)
from /usr/lib/ruby/1.6/mhc-palm.rb:677:in `replace_time'
from /usr/lib/ruby/1.6/mhc-palm.rb:408:in `set_time'
from /usr/lib/ruby/1.6/mhc-schedule.rb:832:in `mk_palm_skel'
from /usr/lib/ruby/1.6/mhc-schedule.rb:713:in `to_palm'
from /usr/bin/mhc2palm:139
from /usr/bin/mhc2palm:134:in `each_sch'
from /usr/lib/ruby/1.6/mhc-schedule.rb:1129:in `each'
from /usr/lib/ruby/1.6/mhc-schedule.rb:1129:in `each_sch'
from /usr/lib/ruby/1.6/mhc-schedule.rb:1128:in `each'
from /usr/lib/ruby/1.6/mhc-schedule.rb:1128:in `each_sch'
from /usr/bin/mhc2palm:134
--------------- ここまで ----------------
この時, エラーを発生させる予定は以下のようなものです.
---------- ここから ------------
X-SC-Subject: HA'MON第五回演奏会
X-SC-Location: 東京芸術劇場
X-SC-Day: 20010701
X-SC-Time: 07:00-24:00
X-SC-Category: Hamon
X-SC-Priority:
X-SC-Cond:
X-SC-Duration:
X-SC-Alarm:
X-SC-Record-Id: <200103070152190413.rook@xxxxxxxx>
MIME-Version: 1.0 (generated by WEMIKO 1.14.0 - "Zoomastigophora")
Content-Type: text/plain; charset=US-ASCII
------------ ここまで -------------
この予定の終了時刻を23:59等にすれば問題無いようです.
◆環境
Linux: Debian/sid(i386)
MHC: CVSの最新開発版(自分で .deb パッケージにして使ってます)
ruby: ruby 1.6.3 (2001-03-28) [i386-linux
xemacs: XEmacs 21.1 (patch 14) "Cuyahoga Valley" [Lucid] (i386-debian-linux, Mule) of Thu Mar 29 2001 on eeyore
MHC自身の予定としてはは 25:00 というような時刻も受け付けるようですが
どういう使い方が正しいのでしょうか?
--
mmm | ======= Ryoichi Kato =======
- - | Dept. of Infomation Science,
~ | Tokyo Institute of Technology