Re: [PATCH 00/17] nmbug-status: Python-3-compabitility and general refactoring
authorTomi Ollila <tomi.ollila@iki.fi>
Tue, 4 Feb 2014 18:34:44 +0000 (20:34 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:59:44 +0000 (09:59 -0800)
96/d1fa3b7fa2fd60db02512b8e317d24a9324504 [new file with mode: 0644]

diff --git a/96/d1fa3b7fa2fd60db02512b8e317d24a9324504 b/96/d1fa3b7fa2fd60db02512b8e317d24a9324504
new file mode 100644 (file)
index 0000000..7f2f7c4
--- /dev/null
@@ -0,0 +1,109 @@
+Return-Path: <tomi.ollila@iki.fi>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 78D03431FBD\r
+       for <notmuch@notmuchmail.org>; Tue,  4 Feb 2014 10:34:58 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id dVESNTEJFsQ5 for <notmuch@notmuchmail.org>;\r
+       Tue,  4 Feb 2014 10:34:51 -0800 (PST)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+       by olra.theworths.org (Postfix) with ESMTP id E8B4B431FBC\r
+       for <notmuch@notmuchmail.org>; Tue,  4 Feb 2014 10:34:50 -0800 (PST)\r
+Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
+       by guru.guru-group.fi (Postfix) with ESMTP id C6A16100033;\r
+       Tue,  4 Feb 2014 20:34:44 +0200 (EET)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: "W. Trevor King" <wking@tremily.us>\r
+Subject: Re: [PATCH 00/17] nmbug-status: Python-3-compabitility and general\r
+       refactoring\r
+In-Reply-To: <20140204174823.GS19935@odin.tremily.us>\r
+References: <cover.1391424512.git.wking@tremily.us>\r
+       <m2ha8frjgg.fsf@guru.guru-group.fi>\r
+       <20140204005331.GQ14197@odin.tremily.us>\r
+       <m2fvnzp3uh.fsf@guru.guru-group.fi>\r
+       <20140204174823.GS19935@odin.tremily.us>\r
+User-Agent: Notmuch/0.17+55~g4397960 (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-unknown-linux-gnu)\r
+X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
+       $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
+       !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
+Date: Tue, 04 Feb 2014 20:34:44 +0200\r
+Message-ID: <m2d2j2zpyz.fsf@guru.guru-group.fi>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Transfer-Encoding: quoted-printable\r
+Cc: notmuch@notmuchmail.org\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 04 Feb 2014 18:34:58 -0000\r
+\r
+On Tue, Feb 04 2014, "W. Trevor King" <wking@tremily.us> wrote:\r
+\r
+> On Tue, Feb 04, 2014 at 12:30:30PM +0200, Tomi Ollila wrote:\r
+>> On Tue, Feb 04 2014, W. Trevor King wrote:\r
+>> > On Mon, Feb 03, 2014 at 11:10:23PM +0200, Tomi Ollila wrote:\r
+>> >>   File "devel/nmbug/nmbug-status", line 197, in _write_threads\r
+>> >>     ).format(**message_display_data))\r
+>> >>   File "/usr/lib64/python2.6/codecs.py", line 351, in write\r
+>> >>     data, consumed =3D self.encode(object, self.errors)\r
+>> >> UnicodeEncodeError: 'ascii' codec can't encode character u'\u017b' in\r
+>> >>   position 176: ordinal not in range(128)\r
+>> > =E2=80=A6\r
+>>=20\r
+>> LANG=3Den_US.UTF-8\r
+>\r
+> My current guess is that LANG is set in your terminal, but that you\r
+> ran nmbug-status from a cron job where it wasn't set.  If that's the\r
+> case, try adding:\r
+>\r
+>   export LANG=3Den_US.UTF-8\r
+>\r
+> to your cron job (or replace with whichever encoding you like).\r
+\r
+Yes guess is good, but incorrect I run it on the command line.\r
+\r
+Now I did the following:\r
+\r
+$ git remote add tremily git://tremily.us/notmuch.git\r
+$ git fetch --all\r
+$ git checkout nmbug-status-python3\r
+\r
+commit d64ef215b62fa74a96fdb4c93e1f6f7abf7c80c6\r
+\r
+and then rerun nmbug-status -- and I am still having the same problem.\r
+I will investigate this further...\r
+\r
+> We don't care about the preferred language yet, but we could [1].\r
+> There's actually not all that much that needs translating for\r
+> nmbug-status.\r
+\r
+Yes, that is unfortunate that David (Taavetti in Finnish) did an uneducated\r
+choice by choosing english as the preferred language. It should always\r
+have been written in Finnish so we would not have this conversation >;)\r
+\r
+>\r
+> Cheers,\r
+> Trevor\r
+>\r
+> [1]: http://docs.python.org/3/library/gettext.html\r
+\r
+\r
+Tomi\r