From peter.meier at immerda.ch Thu Jul 8 01:15:48 2010 From: peter.meier at immerda.ch (Peter Meier) Date: Thu, 08 Jul 2010 07:15:48 +0200 Subject: [Tmail-talk] problems with 1.2.7.1 and certain attachments Message-ID: <4C355F04.3000905@immerda.ch> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi the change from 1.2.3.1 to 1.2.7.1 seems to be minor change. However, we encounter some problems using the latest TMail version with schleuder [1]. Everything works fine with TMail 1.2.3.1, but with 1.2.7.1 schleuder (actually tmail) fails to parse a mail with a certain attachment. Unfortunately I can't remember with which kind of attachment it will fail, but maybe the following stacktrace gives you a hint? Excpetion: wrong mail header: '"\"\n"' > /usr/lib/ruby/gems/1.8/gems/tmail-1.2.7.1/lib/tmail/mail.rb:414:in `parse_header' > /usr/lib/ruby/gems/1.8/gems/tmail-1.2.7.1/lib/tmail/mail.rb:139:in `initialize' > /usr/lib/ruby/gems/1.8/gems/tmail-1.2.7.1/lib/tmail/stringio.rb:43:in `open' > /usr/lib/ruby/gems/1.8/gems/tmail-1.2.7.1/lib/tmail/port.rb:340:in `ropen' > /usr/lib/ruby/gems/1.8/gems/tmail-1.2.7.1/lib/tmail/mail.rb:138:in `initialize' > /opt/schleuder/bin/../lib/schleuder/mail.rb:31:in `initialize' > /usr/lib/ruby/gems/1.8/gems/tmail-1.2.7.1/lib/tmail/mail.rb:123:in `new' > /usr/lib/ruby/gems/1.8/gems/tmail-1.2.7.1/lib/tmail/mail.rb:123:in `parse' > /opt/schleuder/bin/../lib/schleuder/mail.rb:42:in `parse' > [...] Reverting to 1.2.3.1 fixes the problem. I can try to dig through the records whether I'm able to find the kind of attachment that fails. But at least that you know it. cheers pete PS: There are plans to move schleuder to mail, but time... [1] http://schleuder.nadir.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkw1XwMACgkQbwltcAfKi3+EEQCdEdNVHguIyc+cw+EiFomVVzLC 5pAAoIZVoSfzt41fxq7ieX890dWizzr/ =AHyu -----END PGP SIGNATURE-----