From 2776d48585dbe22ebc3b122071b9aab6298d1578 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sun, 14 Feb 2016 15:10:16 +2000 Subject: [PATCH] problems with nmbug and empty prefix --- 2a/3b614a100e71cae511f1b2c7b61b5b7888856d | 70 +++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 2a/3b614a100e71cae511f1b2c7b61b5b7888856d diff --git a/2a/3b614a100e71cae511f1b2c7b61b5b7888856d b/2a/3b614a100e71cae511f1b2c7b61b5b7888856d new file mode 100644 index 000000000..d4e968931 --- /dev/null +++ b/2a/3b614a100e71cae511f1b2c7b61b5b7888856d @@ -0,0 +1,70 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 7D4B46DE17D7 + for ; Sat, 13 Feb 2016 11:10:20 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.307 +X-Spam-Level: +X-Spam-Status: No, score=-0.307 tagged_above=-999 required=5 tests=[AWL=0.244, + RP_MATCHES_RCVD=-0.55, SPF_PASS=-0.001] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id GUp5Uj1YvLp2 for ; + Sat, 13 Feb 2016 11:10:18 -0800 (PST) +Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) + by arlo.cworth.org (Postfix) with ESMTPS id BB9A56DE13DC + for ; Sat, 13 Feb 2016 11:10:18 -0800 (PST) +Received: from remotemail by fethera.tethera.net with local (Exim 4.84) + (envelope-from ) + id 1aUfZY-0005k0-85; Sat, 13 Feb 2016 14:09:36 -0500 +Received: (nullmailer pid 30751 invoked by uid 1000); + Sat, 13 Feb 2016 19:10:16 -0000 +From: David Bremner +To: notmuch@notmuchmail.org +Subject: problems with nmbug and empty prefix +User-Agent: Notmuch/0.21+26~g9404723 (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Sat, 13 Feb 2016 15:10:16 -0400 +Message-ID: <87oabko293.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: quoted-printable +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sat, 13 Feb 2016 19:10:20 -0000 + + +Currently nmbug doesn't seem to work with an empty prefix for me. + +=E2=95=AD=E2=94=80 zancas:~=20 +=E2=95=B0=E2=94=80% bash +bremner@zancas:~$ export NMBGIT=3D/tmp/nmbug +bremner@zancas:~$ export NMBPREFIX=3D"" +bremner@zancas:~$ nmbug commit +/usr/lib/python2.7/urllib.py:1303: UnicodeWarning: Unicode equal comparison= + failed to convert both arguments to Unicode - interpreting them as being u= +nequal + return ''.join(map(quoter, s)) +Error flushing output: : Broken pipe +[u'notmuch', u'dump', u'--format=3Dbatch-tag', u'--', u''] exited= + with 254 + +where is the complete list of tags in my database. + +/tmp/nmbug is a previously cloned repo. + +I'm not sure if this is because of some problem with a null prefix +specifically, or just the number of messages involved. -- 2.26.2