Open GoogleCodeExporter opened 8 years ago
Can you provide a sample file?
Original comment by aquas...@gmail.com
on 6 May 2013 at 2:05
Thanks for the quick response.
Attached a sample file and the output when converting.
root@linsrv133:~# mapitool -i /mnt/archive/ex_export/test.msg
/var/lib/gems/1.9.1/gems/ruby-msg-1.5.1/lib/mime.rb:117:in `block in to_s':
undefined method `each' for "message/rfc822":String (NoMethodError)
from /var/lib/gems/1.9.1/gems/ruby-msg-1.5.1/lib/orderedhash.rb:102:in `block in each'
from /var/lib/gems/1.9.1/gems/ruby-msg-1.5.1/lib/orderedhash.rb:102:in `each'
from /var/lib/gems/1.9.1/gems/ruby-msg-1.5.1/lib/orderedhash.rb:102:in `each'
from /var/lib/gems/1.9.1/gems/ruby-msg-1.5.1/lib/mime.rb:116:in `to_s'
from /var/lib/gems/1.9.1/gems/ruby-msg-1.5.1/lib/mime.rb:108:in `block in to_s'
from /var/lib/gems/1.9.1/gems/ruby-msg-1.5.1/lib/mime.rb:108:in `map'
from /var/lib/gems/1.9.1/gems/ruby-msg-1.5.1/lib/mime.rb:108:in `to_s'
from /var/lib/gems/1.9.1/gems/ruby-msg-1.5.1/bin/mapitool:104:in `block in process_message'
from /usr/lib/ruby/1.9.1/open-uri.rb:35:in `open'
from /usr/lib/ruby/1.9.1/open-uri.rb:35:in `open'
from /var/lib/gems/1.9.1/gems/ruby-msg-1.5.1/bin/mapitool:125:in `process_message'
from /var/lib/gems/1.9.1/gems/ruby-msg-1.5.1/lib/mapi/msg.rb:344:in `open'
from /var/lib/gems/1.9.1/gems/ruby-msg-1.5.1/bin/mapitool:46:in `block in each_message'
from /var/lib/gems/1.9.1/gems/ruby-msg-1.5.1/bin/mapitool:30:in `each'
from /var/lib/gems/1.9.1/gems/ruby-msg-1.5.1/bin/mapitool:30:in `each_message'
from /var/lib/gems/1.9.1/gems/ruby-msg-1.5.1/bin/mapitool:52:in `run'
from /var/lib/gems/1.9.1/gems/ruby-msg-1.5.1/bin/mapitool:171:in `mapitool'
from /var/lib/gems/1.9.1/gems/ruby-msg-1.5.1/bin/mapitool:174:in `<top (required)>'
from /usr/local/bin/mapitool:23:in `load'
from /usr/local/bin/mapitool:23:in `<main>'
Original comment by dieterk...@gmail.com
on 7 May 2013 at 7:49
Attachments:
Works fine for me - with ruby 1.8.7. The project hasn't really been tested much
with 1.9, there's probably a few things that are broken on 1.9.
Original comment by aquas...@gmail.com
on 7 May 2013 at 12:26
Original issue reported on code.google.com by
dieterk...@gmail.com
on 6 May 2013 at 1:04