Subject: Re: [sup-talk] turnsole crashes

From: William Morgan <[email-masked]>
Date: Wed, 07 Sep 2011 19:18:12 +0000

Reformatted excerpts from Ruthard Baudach's message of 2011-09-01:
> ruby -I /home/ruthard/heliotrope/lib bin/turnsole raises:
> 
> /var/lib/gems/1.9.1/gems/console-0.5/lib/console/string.rb:27:in
> `display_width': malformed string: incomplete multibyte character at
> position 99 (ArgumentError)

Thanks for the bug report. These character encoding issues are difficult
to track down. Can you create an issue for this here?

https://github.com/wmorgan/turnsole/issues

Thanks!
-- 
William <[email-masked]>
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Ruthard Baudach <[email-masked]>
Date: Thu, 01 Sep 2011 07:28:24 +0200

Finally I started trying heliotrope/turnsole.

Heliotrope runs, http://localhost8042 shows a nice list with all of my
e-mails.

/var/lib/gems/1.9.1/gems/console-0.5/lib/console/string.rb:27:in
`display_width': malformed string: incomplete multibyte character at
position 99 (ArgumentError)
        from
/var/lib/gems/1.9.1/gems/console-0.5/lib/console/string.rb:27:in
`display_width'
        from /home/ruthard/turnsole/lib/turnsole/buffer.rb:61:in `write'
        from
/home/ruthard/turnsole/lib/turnsole/modes/scroll-mode.rb:242:in `block
in draw_line_from_array'
        from
/home/ruthard/turnsole/lib/turnsole/modes/scroll-mode.rb:228:in `each'
        from
/home/ruthard/turnsole/lib/turnsole/modes/scroll-mode.rb:228:in
`each_with_index'
        from
/home/ruthard/turnsole/lib/turnsole/modes/scroll-mode.rb:228:in
`draw_line_from_array'
        from
/home/ruthard/turnsole/lib/turnsole/modes/scroll-mode.rb:203:in
`draw_line'
        from
/home/ruthard/turnsole/lib/turnsole/modes/line-cursor-mode.rb:51:in
`draw_line'
        from
/home/ruthard/turnsole/lib/turnsole/modes/scroll-mode.rb:48:in `block in
draw!'
        from
/home/ruthard/turnsole/lib/turnsole/modes/scroll-mode.rb:48:in `each'
        from
/home/ruthard/turnsole/lib/turnsole/modes/scroll-mode.rb:48:in `draw!'
        from /home/ruthard/turnsole/lib/turnsole/buffer.rb:45:in
`force_draw!'
        from /home/ruthard/turnsole/lib/turnsole/buffer.rb:41:in `draw!'
        from /home/ruthard/turnsole/lib/turnsole/screen.rb:212:in
`draw!'
        from /home/ruthard/turnsole/lib/turnsole/ui.rb:43:in `step'
        from bin/turnsole:150:in `<main>'
I've updated all gems, upgraded to ruby 1.9.1, yet the same result.

What can I do further?

Yours, Ruthard