Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 6677A431FD0 for ; Mon, 5 Sep 2011 06:57:14 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.09 X-Spam-Level: X-Spam-Status: No, score=-0.09 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, T_MIME_NO_TEXT=0.01] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fsBN+yhrtzyK for ; Mon, 5 Sep 2011 06:57:13 -0700 (PDT) Received: from homiemail-a15.g.dreamhost.com (caiajhbdcbbj.dreamhost.com [208.97.132.119]) by olra.theworths.org (Postfix) with ESMTP id E40AF431FB6 for ; Mon, 5 Sep 2011 06:57:12 -0700 (PDT) Received: from homiemail-a15.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a15.g.dreamhost.com (Postfix) with ESMTP id 2D69B76C072; Mon, 5 Sep 2011 06:57:11 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=SSpaeth.de; h=from:to:cc:subject :in-reply-to:references:date:message-id:mime-version: content-type; q=dns; s=sspaeth.de; b=IEltpEq+yD58xvLN3ynJuSqfYNN /aUL9A2F/ymQ0ZgbmlAO0FU0NeAVs/BNAkzExTQET0/HfUkZv2SJf33NZXW+4A/8 KkHfuLDK919EV/dpt7pzcleFqdeqVusI1miRT6B/UUdneEK+9UghhPPt6YYmd6J+ PBkSWKeQEw4kSyDE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=SSpaeth.de; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version: content-type; s=sspaeth.de; bh=HoUBhNSCK2sscyz3Iq+4TTxomqs=; b=H vsrSDwqwxL5Xwl4QRTP5piBw38Qj1bomiEAQ2dHrd51PvuWnwlX/9ScFdHqDM0Mc fXbIliCJxLc6aQkfU2KYAhLzKkMeYpXkLXm2EBlgTOpZIpoiEHTQyjI6jCYMVu06 c9YSAlbXAnY8hIubban5iQmbXogxcHNpHc+rlhVIzA= Received: from spaetzbook.sspaeth.de (mtec-hg-docking-1-dhcp-21.ethz.ch [129.132.133.21]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fax@sspaeth.de) by homiemail-a15.g.dreamhost.com (Postfix) with ESMTPSA id 784AF76C073; Mon, 5 Sep 2011 06:57:09 -0700 (PDT) Received: by spaetzbook.sspaeth.de (sSMTP sendmail emulation); Mon, 05 Sep 2011 15:57:08 +0200 From: Sebastian Spaeth To: Martin Owens Subject: Re: Not much database creation error In-Reply-To: <1315110898.32058.13.camel@delen> References: <1315110898.32058.13.camel@delen> User-Agent: Notmuch/0.7-19-gee4579a (http://notmuchmail.org) Emacs/23.2.1 (x86_64-pc-linux-gnu) Date: Mon, 05 Sep 2011 15:57:07 +0200 Message-ID: <87vct7t7m4.fsf@SSpaeth.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: Notmuch developer list , Paul Tagliamonte X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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: Mon, 05 Sep 2011 13:57:14 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Sun, 04 Sep 2011 00:34:58 -0400, Martin Owens wrote: > I am creating a program using notmuch and the python notmuch API and > have found a problem. when creating or loading a database using a > unicode path, notmuch returns an error: >=20 > Error: Cannot create directory //.notmuch: Permission denied Hi Martin, the underlying notmuch library is agnostic to whatever encoding it is handed and I indeed had simply assumed strings. I have now added encoding/decoding in a couple of places where it seemed necessary and pushed the result to the master branch. Let me know if this fixes things. Sebastian --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk5k1TMACgkQVYX1jMgnoGIVagCgjGlGzf68BRydKmYZcFgIaXb9 K/IAn2uIlb0N1E25mrSCID9iv4EcdIWh =MIR5 -----END PGP SIGNATURE----- --=-=-=--