LookupError: unknown encoding: processing email

Bug #394560 reported by Diogo Matsubara
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Eleanor Berger

Bug Description

This seems new, I've responded to bugs on launchpad before, I think. Is this just a temporary failure?

Return-Path: <email address hidden>
X-Original-To: <email address hidden>
Delivered-To: <email address hidden>
Received: from adelie.canonical.com (adelie.canonical.com [91.189.90.139])
    by mail.m8y.org (Postfix) with ESMTP id 179BB108034
    for <email address hidden>; Tue, 30 Jun 2009 16:12:08 -0400 (EDT)
Received: from loganberry.canonical.com ([91.189.90.37])
    by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian))
    id 1MLjgW-0003RN-4n
    for <email address hidden>; Tue, 30 Jun 2009 21:12:08 +0100
Received: from loganberry.canonical.com (localhost [127.0.0.1])
    by loganberry.canonical.com (Postfix) with ESMTP id 202E72E8007
    for <email address hidden>; Tue, 30 Jun 2009 21:12:08 +0100 (BST)
Content-Type: multipart/mixed; boundary="===============6396242044867500454=="
MIME-Version: 1.0
To: <email address hidden>
From: <email address hidden>
Subject: Submit Request Failure
Message-Id: <email address hidden>
Date: Tue, 30 Jun 2009 20:12:08 -0000
Reply-To: <email address hidden>
Sender: <email address hidden>
Errors-To: <email address hidden>
Precedence: bulk
X-Generated-By: Launchpad (canonical.com); Revision="None";
    Instance="initZopeless config overlay"
X-Launchpad-Hash: 7692384b068c53fed4a814a7840595d2af785025

--===============6396242044867500454==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

An error occurred while processing a mail you sent to Launchpad's email
interface.

Error message:

Sorry, something went wrong when Launchpad tried processing your mail.
We've recorded what happened, and we'll fix it as soon as possible.
Apologies for the inconvenience.

If this is blocking your work, please file a question at
https://answers.edge.launchpad.net/launchpad/+addquestion
and include the error ID OOPS-1277CEMAIL5 in the description.

-- =

For more information about using Launchpad by e-mail, see
https://help.launchpad.net/EmailInterface
or send an email to <email address hidden>
--===============6396242044867500454==
Content-Type: message/rfc822
MIME-Version: 1.0

Return-Path: <email address hidden>
X-Original-To: <email address hidden>
Delivered-To: <email address hidden>
Received: from mail.m8y.org (unknown [76.21.160.106])
        by fiordland.canonical.com (Postfix) with ESMTP id 857FCB69261
        for <email address hidden>; Tue, 30 Jun 2009 21:09:40 +0100 (BST)
Received: by mail.m8y.org (Postfix, from userid 1000)
        id 4353C108034; Tue, 30 Jun 2009 16:09:39 -0400 (EDT)
Date: Tue, 30 Jun 2009 16:09:38 -0400 (EDT)
From: <email address hidden>
To: Bug 123064 <email address hidden>
Subject: Re: [Bug 123064] Re: Upgrade to Eclipse 3.5.0
In-Reply-To: <email address hidden>
Message-ID: <email address hidden>
References: <email address hidden>
        <email address hidden>
        <email address hidden>
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-1658049817-1246392578=:30340"

  This message is in MIME format. The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--8323328-1658049817-1246392578=:30340
Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE
On Tue, 30 Jun 2009, Juli=C3=A1n Alarc=C3=B3n wrote:

> On Tue, Jun 30, 2009 at 2:11 PM, Vincenzo Ciancia<email address hidden> w=
rote:
>> Where is the packege? I mean it's not here:
>>
>> http://packages.ubuntu.com/search?keywords=3Declipse&searchon=3Dnames&su=
ite=3Dkarmic&section=3Dall
>>
>> I think that if 3.4 was uploaded then the path is clean to have eclipse
>> 3.5 or 3.5+1 in karmic+1 isn't it?
>>
>> BTW I am thankful :)
>>
>> --
>> Upgrade to Eclipse 3.5.0
>> https://bugs.launchpad.net/bugs/123064
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>
> Hey, it is here:
> https://launchpad.net/ubuntu/karmic/+source/eclipse

Say, is the fact that:
https://launchpad.net/ubuntu/+source/eclipse/3.4.1-0ubuntu1

Says "failed to build" on all architectures a bad sign? :)
--8323328-1658049817-1246392578=:30340--

--===============6396242044867500454==--

tags: added: email oops
Revision history for this message
Eleanor Berger (intellectronica) wrote :

The email parser chokes trying to use the encoding specified in the message, x-unknown. That's not really a bug, and it's probably not worth setting up better error message. If this is common behaviour for mail clients, we might want to coerce x-unknown to None (which will cause the parser to try latin-1).

Revision history for this message
Eleanor Berger (intellectronica) wrote :

b.t.w Derek, what mail client did you use to send your message? Is there anything noteworthy about the setup?

Revision history for this message
Derek (bugs-m8y) wrote :

Pine 4.64 - have used pine for 15 years. Convenient under SSH and I'm familiar with it.
From original e-mail:
Message-ID: <email address hidden>

;)

If I send myself an e-mail:
==============================================
Return-Path: <email address hidden>
X-Original-To: <email address hidden>
Delivered-To: <email address hidden>
Received: by mail.m8y.org (Postfix, from userid 1000)
    id 757EE108034; Thu, 2 Jul 2009 14:57:08 -0400 (EDT)
Date: Thu, 2 Jul 2009 14:57:08 -0400 (EDT)
From: <email address hidden>
To: <email address hidden>
Subject: test
Message-ID: <email address hidden>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

test
==============================================
I see the charset is set to US-ASCII.

I suspect Pine might be setting this due to the UTF-8 in the original e-mail I was replying to.

If I add a UTF-8 char to my test, I get:
Return-Path: <email address hidden>
X-Original-To: <email address hidden>
Delivered-To: <email address hidden>
Received: by mail.m8y.org (Postfix, from userid 1000)
    id BCD66108034; Thu, 2 Jul 2009 15:01:35 -0400 (EDT)
Date: Thu, 2 Jul 2009 15:01:35 -0400 (EDT)
From: <email address hidden>
To: <email address hidden>
Subject: french test
Message-ID: <email address hidden>
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-353165740-1246561295=:1927"

  This message is in MIME format. The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--8323328-353165740-1246561295=:1927
Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE

fran=C3=A7ais
--8323328-353165740-1246561295=:1927--

Revision history for this message
Derek (bugs-m8y) wrote :

http://trac.roundcube.net/ticket/1484565

Googling, it appears this is a common pine issue.

Looking to see if I can find a workaround on my system, but seems you guys could encounter it again.

Revision history for this message
Eleanor Berger (intellectronica) wrote :

Yes, it's definitely worth fixing. The proposed solution is to check for x-unknown and treat it like we do messages with no encoding specified. We can extend how those are treated by trying more than just latin-1, until we get a match.

Changed in launchpad:
assignee: nobody → Tom Berger (intellectronica)
importance: Undecided → Medium
milestone: none → 2.2.7
status: New → In Progress
Revision history for this message
Derek (bugs-m8y) wrote :

FWIW, based on googling and finding stuff like:
http://bugs.gentoo.org/show_bug.cgi?id=29093#c11

I switched to "alpine".

Result of resending e-mail above, is below. Here's hoping my fairly lengthy .pinerc still works.

Return-Path: <email address hidden>
X-Original-To: <email address hidden>
Delivered-To: <email address hidden>
Received: by mail.m8y.org (Postfix, from userid 1000)
    id F0559108034; Thu, 2 Jul 2009 15:26:39 -0400 (EDT)
Date: Thu, 2 Jul 2009 15:26:39 -0400 (EDT)
From: <email address hidden>
To: <email address hidden>
Subject: french test
Message-ID: <email address hidden>
User-Agent: Alpine 2.00 (LNX 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-780074171-1246562799=:12971"

  This message is in MIME format. The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--8323328-780074171-1246562799=:12971
Content-Type: TEXT/PLAIN; format=flowed; charset=ISO-8859-15
Content-Transfer-Encoding: QUOTED-PRINTABLE

fran=E7ais
--8323328-780074171-1246562799=:12971--

Revision history for this message
Eleanor Berger (intellectronica) wrote :

Fixed in devel r8777

Changed in launchpad:
status: In Progress → Fix Committed
Revision history for this message
Eleanor Berger (intellectronica) wrote :

Derek, it would be great if you could help testing this by sending a similar email from Pine to bugs.staging.launchpad.net (the fix won't make it to the main servers until the next release, but it will be available staging after the next nightly update, so at some point during the weekend). You won't be able to receive a reply from the server if anything goes wrong but you can ping me here or on IRC and I'll arrange to check it (if everything works ok, though, you should be able to see the comment appear in the bug).

Revision history for this message
Derek (bugs-m8y) wrote : Re: [Bug 394560] Re: LookupError: unknown encoding: processing email

On Fri, 3 Jul 2009, Tom Berger wrote:

> Derek, it would be great if you could help testing this by sending a
> similar email from Pine to bugs.staging.launchpad.net (the fix won't
> make it to the main servers until the next release, but it will be
> available staging after the next nightly update, so at some point during
> the weekend). You won't be able to receive a reply from the server if
> anything goes wrong but you can ping me here or on IRC and I'll arrange
> to check it (if everything works ok, though, you should be able to see
> the comment appear in the bug).

Um. Sure. I can reinstall pine no problem.
One question though, e-mail address to send to for bugs.staging.launchpad.net ?

Just repeat original e-mail I'd run into problems with, only that server?

Revision history for this message
Eleanor Berger (intellectronica) wrote :

Yes, repeating the same email but adding staging to the server will be the best test (after the next nightly update of the staging server). Thanks!

affects: launchpad → malone
Changed in malone:
milestone: 2.2.7 → none
milestone: none → 2.2.7
Revision history for this message
Derek (bugs-m8y) wrote :

Well, I waited 'till about half an hour ago, figuring that would give the change time to propagate as you'd requested.

Haven't gotten back any errors yet, although when I tried to reply to your request in this bug (was still in pine) I got the following bounce. BTW, the e-mail itself was noting I'd had issues seeing if my test e-mail had gotten through to anything. :)

ate: Sat, 04 Jul 2009 21:03:07 -0000
From: <email address hidden>
To: <email address hidden>
Subject: Submit Request Failure
Parts/Attachments:
   1 Shown ~20 lines Text
   2 Shown 1.8 KB Message, "Re: [Bug 394560] Re: LookupError: unknown encoding: processing email"
   2.1 Shown ~18 lines Text (charset: x-unknown)
----------------------------------------

An error occurred while processing a mail you sent to Launchpad's email
interface.

Error message:

Sorry, something went wrong when Launchpad tried processing your mail.
We've recorded what happened, and we'll fix it as soon as possible.
Apologies for the inconvenience.

If this is blocking your work, please file a question at
https://answers.edge.launchpad.net/launchpad/+addquestion
and include the error ID OOPS-1281CEMAIL4 in the description.

--
For more information about using Launchpad by e-mail, see
https://help.launchpad.net/EmailInterface
or send an email to <email address hidden>

    [ Part 2: "Included Message" ]

Date: Sat, 4 Jul 2009 17:01:18 -0400 (EDT)
From: <email address hidden>
To: Bug 394560 <email address hidden>
Subject: Re: [Bug 394560] Re: LookupError: unknown encoding: processing email

On Fri, 3 Jul 2009, Tom Berger wrote:

> Yes, repeating the same email but adding staging to the server will be
> the best test (after the next nightly update of the staging server).
> Thanks!

Did so, about half an hour ago. Thought I'd check:
https://bugs.staging.launchpad.net/bugs/123064

But all I got was:
Oops!

Sorry, something just went wrong in Launchpad.

We???ve recorded what happened, and we???ll fix it as soon as possible. Apologies for the inconvenience.

(Error ID: OOPS-1281S5239)

Changed in malone:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.