decoding unicode (still) not supported bug
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Fix Released
|
Undecided
|
Mark Sapiro |
Bug Description
Running 2.1.12rc2 I'm getting a lot of shunted messages when it hits the archiver. I saw an earlier bug report with a patch that appears to have made it into this release but..I'm still getting a lot of email shunted without any apparent reason. The error and message dump are as follows. List language pref is english. Site language pref is english.
**Update*** This problem disappeared when I upgraded from Python 2.4.4 to 2.5.1 - So the solution is to use a more recent version of python if seeing this error.
Feb 11 18:11:46 2009 (3144) SHUNTING: 1234401373.
Feb 11 18:13:16 2009 (3147) send_digests() failed: decoding Unicode is not supported
Feb 11 18:13:16 2009 (3144) Uncaught runner exception: decoding Unicode is not supported
Feb 11 18:13:16 2009 (3144) Traceback (most recent call last):
File "/opt/opensolar
self.
File "/opt/opensolar
keepqueued = self._dispose(
File "/opt/opensolar
mlist.
File "/opt/opensolar
h.processUn
File "/opt/opensolar
a = self._makeArtic
File "/opt/opensolar
mlist=
File "/opt/opensolar
charset = message.
File "/usr/lib/
charset = unicode(charset, 'us-ascii'
TypeError: decoding Unicode is not supported
And the corresponding email with the email addresses trimmed.
[----- start pickle file -----]
<----- start object 1 ----->
From <email address hidden> Wed Feb 11 17:16:12 2009
Return-Path: <email address hidden>
X-Original-To: <email address hidden>
Delivered-To: <email address hidden>
Received: by mail.opensolari
id BB9B18D3CA; Wed, 11 Feb 2009 17:16:12 -0800 (PST)
X-Spam-
X-Spam-Level:
X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_
Received: from sca-es-
by mail.opensolari
for <email address hidden>; Wed, 11 Feb 2009 17:15:12 -0800 (PST)
Received: from fe-sfbay-09.sun.com ([192.18.43.129])
by sca-es-
for <email address hidden>; Wed, 11 Feb 2009 17:15:12 -0800 (PST)
MIME-version: 1.0
Content-type: multipart/mixed; boundary=
Received: from conversion-
(Sun Java(tm) System Messaging Server 7.0-3.01 64bit (built Dec 23
2008))
id <email address hidden> for <email address hidden>;
Wed, 11 Feb 2009 17:15:12 -0800 (PST)
Received: from [192.168.1.65] ([unknown] [76.254.2.176])
by fe-sfbay-09.sun.com (Sun Java(tm) System Messaging Server 7.0-3.01
64bit (built Dec 23 2008)) with ESMTPSA id
<email address hidden>;
Wed, 11 Feb 2009 17:15:11 -0800 (PST)
Date: Wed, 11 Feb 2009 17:11:52 -0800
From: Rafael Vanoni <email address hidden>
In-reply-to: <email address hidden>
Sender: <email address hidden>
To: "Li, Aubrey" <email address hidden>
Message-id: <email address hidden>
References: <email address hidden>
User-Agent: Thunderbird 2.0.0.18 (X11/20081216)
Cc: "<email address hidden>" <email address hidden>
Subject: Re: [tesla-dev] powertop> c/p-state messages on sparc
X-BeenThere: <email address hidden>
X-Mailman-Version: 2.1.12rc2
Precedence: list
List-Id: "Project Tesla: Solaris Enhanced Power Management"
List-Unsubscribe: <http://
List-Archive: <http://
List-Post: <mailto:<email address hidden>>
List-Help: <mailto:<email address hidden>
List-Subscribe: <http://
X-List-
X-List-
X-List-
X-List-
X-List-
X-List-
This is a multi-part message in MIME format.
--Boundary_
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-
Li, Aubrey wrote:
> Rafael Vanoni wrote:
>
>> Here's a patch to show different c/p-state messages on sparc. I'm also
>> suggesting adding "(idleness)" to the c-state title on x86.
>>
>> Current:
>> C-states Avg residency P-states (frequencies)
>>
>> New x86:
>> C-states (idleness) Avg residency P-states (frequencies)
>>
>> New sparc:
>> Idle states Avg residency Frequency levels
>>
>> Let me know what you think.
>>
>> Thanks,
>> Rafael
>
> Where is message.c?
>
> -Aubrey
Good thing no one is keeping count of how many times I forgot to hg add
new files :)
Rafael
--Boundary_
Content-type: text/plain; name=messages.diff
Content-
Content-
diff -r b1289ac55099 usr/src/
--- a/usr/src/
+++ b/usr/src/
@@ -25,7 +25,7 @@
include ../Makefile.com
include ../../Makefile.
-MACH_OBJS = dtp_events.o
+MACH_OBJS = dtp_events.o messages.o
SRCS += $(MACH_
.KEEP_STATE:
diff -r b1289ac55099 usr/src/
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/usr/src/
@@ -0,0 +1,45 @@
+/*
+ * Copyright 2008, Intel Corporation
+ * Copyright 2008, Sun Microsystems, Inc
+ *
+ * This file is part of PowerTOP
+ *
+ * This program file is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program in a file named COPYING; if not, write to the
+ * Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301 USA
+ *
+ * Authors:
+ * Arjan van de Ven <email address hidden>
+ * Eric C Saxe <email address hidden>
+ * Aubrey Li <email address hidden>
+ */
+
+/*
+ * GPL Disclaimer
+ *
+ * For the avoidance of doubt, except that if any license choice other
+ * than GPL or LGPL is available it will apply instead, Sun elects to
+ * use only the General Public License version 2 (GPLv2) at this time
+ * for any software where a choice of GPL license versions is made
+ * available with the language indicating that GPLv2 or any later
+ * version may be used, or where a choice of which version of the GPL
+ * is applied is otherwise unspecified.
+ */
+
+/*
+ * amd64 platform specific display messages
+ */
+
+const char *g_msg_idle_state = "C-states (idleness)";
+const char *g_msg_freq_state = "P-states (frequencies)";
+
diff -r b1289ac55099 usr/src/
--- a/usr/src/
+++ b/usr/src/
@@ -238,8 +238,7 @@
}
- print(cstate_
-
+ print(cstate_
res = (((double)
(void) sprintf(c, "C0 (cpu running)
@@ -263,7 +262,7 @@
}
- print(cstate_
+ print(cstate_
if (g_npstates < 2) {
diff -r b1289ac55099 usr/src/
--- a/usr/src/
+++ b/usr/src/
@@ -150,7 +150,7 @@
- if (PTOP_ON_VERBOSE)
+ if (PTOP_ON_CPU || PTOP_ON_VERBOSE)
diff -r b1289ac55099 usr/src/
--- a/usr/src/
+++ b/usr/src/
@@ -231,6 +231,11 @@
extern char **g_argv;
/*
+ * Platform specific messages
+ */
+extern const char *g_msg_idle_state;
+extern const char *g_msg_freq_state;
+/*
* Suggestions related
*/
extern void suggest_
diff -r b1289ac55099 usr/src/
--- a/usr/src/
+++ b/usr/src/
@@ -24,7 +24,7 @@
include ../Makefile.com
-MACH_OBJS = dtp_events.o
+MACH_OBJS = dtp_events.o messages.o
SRCS += $(MACH_
.KEEP_STATE:
diff -r b1289ac55099 usr/src/
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/usr/src/
@@ -0,0 +1,45 @@
+/*
+ * Copyright 2008, Intel Corporation
+ * Copyright 2008, Sun Microsystems, Inc
+ *
+ * This file is part of PowerTOP
+ *
+ * This program file is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program in a file named COPYING; if not, write to the
+ * Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301 USA
+ *
+ * Authors:
+ * Arjan van de Ven <email address hidden>
+ * Eric C Saxe <email address hidden>
+ * Aubrey Li <email address hidden>
+ */
+
+/*
+ * GPL Disclaimer
+ *
+ * For the avoidance of doubt, except that if any license choice other
+ * than GPL or LGPL is available it will apply instead, Sun elects to
+ * use only the General Public License version 2 (GPLv2) at this time
+ * for any software where a choice of GPL license versions is made
+ * available with the language indicating that GPLv2 or any later
+ * version may be used, or where a choice of which version of the GPL
+ * is applied is otherwise unspecified.
+ */
+
+/*
+ * i386 platform specific display messages
+ */
+
+const char *g_msg_idle_state = "C-states (idleness)";
+const char *g_msg_freq_state = "P-states (frequencies)";
+
diff -r b1289ac55099 usr/src/
--- a/usr/src/
+++ b/usr/src/
@@ -25,7 +25,7 @@
include ../Makefile.com
include ../../Makefile.
-MACH_OBJS = dtp_events.o
+MACH_OBJS = dtp_events.o messages.o
SRCS += $(MACH_
.KEEP_STATE:
diff -r b1289ac55099 usr/src/
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/usr/src/
@@ -0,0 +1,45 @@
+/*
+ * Copyright 2008, Intel Corporation
+ * Copyright 2008, Sun Microsystems, Inc
+ *
+ * This file is part of PowerTOP
+ *
+ * This program file is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program in a file named COPYING; if not, write to the
+ * Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301 USA
+ *
+ * Authors:
+ * Arjan van de Ven <email address hidden>
+ * Eric C Saxe <email address hidden>
+ * Aubrey Li <email address hidden>
+ */
+
+/*
+ * GPL Disclaimer
+ *
+ * For the avoidance of doubt, except that if any license choice other
+ * than GPL or LGPL is available it will apply instead, Sun elects to
+ * use only the General Public License version 2 (GPLv2) at this time
+ * for any software where a choice of GPL license versions is made
+ * available with the language indicating that GPLv2 or any later
+ * version may be used, or where a choice of which version of the GPL
+ * is applied is otherwise unspecified.
+ */
+
+/*
+ * amd64 platform specific display messages
+ */
+
+const char *g_msg_idle_state = "Idle states\t";
+const char *g_msg_freq_state = "Frequency levels";
+
--Boundary_
description: | updated |
I am unable to duplicate this error with your included message, Mailman 2.1.12rc2, Python 2.4.3 and Python email 3.0.1.
Can you give me anything more specific about the configuration under which this occurred. This would appear to be a serious problem, and we claim that Python 2.4.x and Mailman 2.1.12 is a viable combination so I would like to fix it