From b6eb7a24bf36176d7e1fd5734b254d2ada907a5f Mon Sep 17 00:00:00 2001 From: Peter Salazar Date: Wed, 30 Dec 2015 00:54:24 +1900 Subject: [PATCH] Re: file-error "not a regular file" --- 86/3772324040d540f29601c18ff424dc95e3fa4c | 254 ++++++++++++++++++++++ 1 file changed, 254 insertions(+) create mode 100644 86/3772324040d540f29601c18ff424dc95e3fa4c diff --git a/86/3772324040d540f29601c18ff424dc95e3fa4c b/86/3772324040d540f29601c18ff424dc95e3fa4c new file mode 100644 index 000000000..f494a5691 --- /dev/null +++ b/86/3772324040d540f29601c18ff424dc95e3fa4c @@ -0,0 +1,254 @@ +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 09CC06DE1799 + for ; Mon, 28 Dec 2015 21:54:30 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.557 +X-Spam-Level: +X-Spam-Status: No, score=-0.557 tagged_above=-999 required=5 tests=[AWL=0.243, + DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, + HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, + 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 5amJIvp8hueR for ; + Mon, 28 Dec 2015 21:54:26 -0800 (PST) +Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com + [209.85.220.47]) + by arlo.cworth.org (Postfix) with ESMTPS id 9CCAF6DE1795 + for ; Mon, 28 Dec 2015 21:54:26 -0800 (PST) +Received: by mail-pa0-f47.google.com with SMTP id yy13so27348743pab.3 + for ; Mon, 28 Dec 2015 21:54:26 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=mime-version:in-reply-to:references:date:message-id:subject:from:to + :cc:content-type; + bh=SrsA1Y2F8DLvsizgf8VVdHYe0OaxPknLSgb9HQxzw1k=; + b=zvEgic8guai8gT95nBwWdqcrOL5TaI5M+jDJRkGWjU23OtvGUt/l8mGUh5lNYcbOYv + dS5Lbb4kAnhLf4S+jZn9Hccd8qZCgoeNSKsdrU6ORnEVTeo/Cs656f/9XVgSZRJfA8X5 + NgmLRs1hr+CGKeDRcFzpRbyQbDiTeJ0BJlEPPJN20W8n2qdJYCzXU7EhgyN0BsMDjb5m + R+v29xD+Fh0KwKu/52RqQhhwM1Jpk8K9ph31scApaACoo5MOL/q55w7O/v6i8iyLyMWt + UQD2gRBHqCRduZKZaftNQjuRhalVf1SOohtwjUaOqBVGWFwYTTS+VcCgEaJWD8hgrU0G + p+RQ== +MIME-Version: 1.0 +X-Received: by 10.66.190.66 with SMTP id go2mr84946477pac.114.1451368464428; + Mon, 28 Dec 2015 21:54:24 -0800 (PST) +Received: by 10.66.219.198 with HTTP; Mon, 28 Dec 2015 21:54:24 -0800 (PST) +In-Reply-To: <87ege6d41j.fsf@zancas.localnet> +References: + + <87wprzb4sj.fsf@endefensadelsl.org> <87ege6d41j.fsf@zancas.localnet> +Date: Tue, 29 Dec 2015 00:54:24 -0500 +Message-ID: + +Subject: Re: file-error "not a regular file" +From: Peter Salazar +To: David Bremner +Cc: fauno , notmuch@notmuchmail.org +Content-Type: multipart/alternative; boundary=047d7bf0e44cc2b5eb0528030de7 +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: Tue, 29 Dec 2015 05:54:30 -0000 + +--047d7bf0e44cc2b5eb0528030de7 +Content-Type: text/plain; charset=UTF-8 + +Hi David, + +Thanks for looking into this. Much appreciated. + +Yes, following your steps, emacs -q followed by "M-x load-library +notmuch", I was able to send an email without the error. It prompted me for +my smtp server, username, and password, then returned this: + +Sending email +Sending email done +Invalid image size (see `max-image-size') +Mark set +Saving file +/Users/peter/Dropbox/mail/gmail/sent/tmp/1451367804.6837_72197_1.Infinity.local... +Wrote +/Users/peter/Dropbox/mail/gmail/sent/tmp/1451367804.6837_72197_1.Infinity.local +Sending...done + +To answer your other question, yes, there is an Fcc: header when I try to +send email from my regular Emacs configuration. It's the same header I saw +when I sent email from the minimal configuration: + +Fcc: /Users/peter/Dropbox/mail/gmail/sent + +That directory does indeed exist: + +drwxr-xr-x@ 9 peter staff 306 Dec 27 21:54 *sent* +And it contains: + +.DS_Store .mbsyncstate *.nnmaildir* .uidvalidity *cur* *new* + *tmp* +Does this give us any leads? + +Thanks again. + +On Mon, Dec 28, 2015 at 9:46 AM, David Bremner wrote: + +> fauno writes: +> +> > Peter Salazar writes: +> > +> >> Hello, +> >> +> >> I'm using notmuch-mode from within Emacs to send email using +> async/mbsync +> >> through Gmail. However, every time I send email from within Emacs, I get +> >> this error: +> > +> > i got this message too for fcc with default values, i'm on emacs 24.5 +> > with notmuch 0.21 +> > +> +> Can either of you replicate the problem with a minimal configuration, +> ideally with "emacs -q", followed by "M-x load-library +> notmuch"? +> +> If so, does the path in the Fcc header exist? If so, what is it? a file, +> a directory, a symlink? +> +> For me, in emacs 24.5 / notmuch 0.21, with emacs -q, if that path is +> missing I am prompted to create it. If I refuse, then I later get a +> message about not being a maildir. +> +> I guess the tl;dr is that I can't duplicate this problem. Looking at the +> traceback Peter provided, it looks like he is using +> "send-message-without-bullets" to send the message. Since this isn't a +> notmuch function, it's likely bypassing the notmuch fcc setup that +> notmuch-mua-send and notmuch-mua-send-and-exit do. +> +> +> d +> +> + +--047d7bf0e44cc2b5eb0528030de7 +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +
Hi David,

Thanks for looking into this.= + Much appreciated.=C2=A0

Yes, following your steps= +, emacs -q followed by=C2=A0"M-x load= +-library <return>
notmuc= +h", I was able to send an email without the error. It prompted me for = +my smtp server, username, and password, then returned this:

Sending email=C2=A0
Sending email done
Invalid image size (see `max-image-size')
Mark set
Saving file /Users/peter/Dropbox/mail/gmail/sent/tmp/1451367804.683= +7_72197_1.Infinity.local...
Wrote /Users/peter/Dropbox/mail/gmail/sent/tmp/1451367804.6837_72197_1.I= +nfinity.local
Sending...d= +one=C2=A0

To answer your other question= +, yes, there is an Fcc: header when I try to send email from my regular Ema= +cs configuration. It's the same header I saw when I sent email from the= + minimal configuration:=C2=A0

Fcc: /User= +s/peter/Dropbox/mail/gmail/sent

That directory=C2=A0does i= +ndeed exist:=C2=A0
+ + + + + + + +

drwxr-xr-x@ 9 peter =C2=A0staff=C2=A0 306 De= +c 27 21:54 sent

And it contains:
+ + + + + + + +

+ + + + + + + +

.DS_Store=C2=A0 =C2=A0 .mbsyncstate .nnmaildir =C2=A0 .uidva= +lidity cur=C2=A0 =C2= +=A0 =C2=A0 =C2=A0 =C2=A0 new=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 tmp

Does this give us = +any leads?=C2=A0

Thanks again.

On Mon, Dec 2= +8, 2015 at 9:46 AM, David Bremner <david@tethera.net> wrote:= +
fauno <fauno@kiwwwi.com.ar> writes:
+
+> Peter Salazar <cycleofsong= +@gmail.com> writes:
+>
+>> Hello,
+>>
+>> I'm using notmuch-mode from within Emacs to send email using a= +sync/mbsync
+>> through Gmail. However, every time I send email from within Emacs,= + I get
+>> this error:
+>
+> i got this message too for fcc with default values, i'm on emacs 2= +4.5
+> with notmuch 0.21
+>
+
+
Can either of you replicate the problem with a minimal configuration= +,
+ideally with "emacs -q", followed by "M-x load-library <r= +eturn>
+notmuch"?
+
+If so, does the path in the Fcc header exist? If so, what is it? a file, +a directory, a symlink?
+
+For me, in emacs 24.5 / notmuch 0.21, with emacs -q, if that path is
+missing I am prompted to create it. If I refuse, then I later get a
+message about not being a maildir.
+
+I guess the tl;dr is that I can't duplicate this problem. Looking at th= +e
+traceback Peter provided, it looks like he is using
+"send-message-without-bullets" to send the message. Since this is= +n't a
+notmuch function, it's likely bypassing the notmuch fcc setup that
+notmuch-mua-send and notmuch-mua-send-and-exit do.
+
+
+d
+
+

+ +--047d7bf0e44cc2b5eb0528030de7-- -- 2.26.2