Closed
Bug 454238
Opened 16 years ago
Closed 16 years ago
SMTP bugmail fails with "Wide character in syswrite" when diff_header contains multi-byte string.
Categories
(Bugzilla :: Email Notifications, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 405453
People
(Reporter: himorin, Unassigned)
Details
Attachments
(2 files)
Bugzilla dies with the message below.
> Software error:
> Wide character in syswrite at /usr/lib/perl5/5.8.5/Net/Cmd.pm line 436.
It's ok (no error) with short_desc, but ng with product/component.
Comment 1•16 years ago
|
||
Net::Cmd--you're using SMTP? Does it fail the same way with Sendmail?
Target Milestone: --- → Bugzilla 3.2
Reporter | ||
Comment 2•16 years ago
|
||
Yes using mail_delivery_method = SMTP.
Setting this value to sendmail, it's ok.
And, it works fine when "Added" column don't include wide-charactors.
Reporter | ||
Comment 3•16 years ago
|
||
mmm. no. i'm confusing.
Some errors doesn't include any wide charactors in three-column part in diffs.
Comment 4•16 years ago
|
||
Hey, rhbs, this sounds like some problem with Email::Send::SMTP--is there something that we should do on our side if we're sending utf8 strings to it? (utf8::encode them or something?)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking3.2+
Summary: bugmail fails with "Wide character in syswrite" when diff_header contains multi-byte string. → SMTP bugmail fails with "Wide character in syswrite" when diff_header contains multi-byte string.
Comment 5•16 years ago
|
||
himorin, could you get me the output of this?
perl -MNet::Cmd -we 'print Net::Cmd->VERSION'
Reporter | ||
Comment 6•16 years ago
|
||
# perl -v
This is perl, v5.8.5 built for i386-linux-thread-multi
# perl -MNet::Cmd -we 'print Net::Cmd->VERSION'
2.26
Comment 7•16 years ago
|
||
Hey himorin, could you do some debugging and attach the results of $email->as_string before it gets sent to Email::Send? There actually shouldn't be any 8-bit characters in there.
Comment 8•16 years ago
|
||
Actually, I just tried this and in fact it does work for me. Perhaps you've edited your system to send 8-bit mail instead of quoted-printable? In that case it's not a bug in Bugzilla.
Status: NEW → RESOLVED
Closed: 16 years ago
Flags: blocking3.2+
Resolution: --- → WORKSFORME
Target Milestone: Bugzilla 3.2 → ---
Reporter | ||
Comment 9•16 years ago
|
||
(In reply to comment #8)
> Actually, I just tried this and in fact it does work for me. Perhaps you've
> edited your system to send 8-bit mail instead of quoted-printable? In that case
> it's not a bug in Bugzilla.
No. I don't edit anything related on mailing system (Bugzilla/BugMail.pm). You can view the code used in our system at
http://services.mozilla.gr.jp/viewsvn/bugzilla-l10n-ja-3.2/trunk/Bugzilla/BugMail.pm?root=public&view=log (testbench of l10n -ja)
http://services.mozilla.gr.jp/viewsvn/bugzilla-l10n-ja-3.2/branches/bugjp/Bugzilla/BugMail.pm?root=public&view=log (actually used code in Bugzilla-jp site)
# And,,, i forgot that Bugzilla 3.2RC sends quoted-printable mail :-p
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Reporter | ||
Comment 10•16 years ago
|
||
Reporter | ||
Comment 11•16 years ago
|
||
Reporter | ||
Comment 12•16 years ago
|
||
With attachment 338241 [details], I've got attachment 338242 [details].
Reporter | ||
Comment 13•16 years ago
|
||
mmm, is this related on bug 405453?
Comment 14•16 years ago
|
||
Ah, yes, it's the same bug.
Status: REOPENED → RESOLVED
Closed: 16 years ago → 16 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•