GNU bug report logs - #31242
Gnus on 26.1 RC1 with x86_64-w64-mingw32

Previous Next

Package: emacs;

Reported by: Tak Kunihiro <tak.kunihiro <at> gmail.com>

Date: Mon, 23 Apr 2018 02:00:02 UTC

Severity: normal

Tags: notabug

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31242 in the body.
You can then email your comments to 31242 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#31242; Package emacs. (Mon, 23 Apr 2018 02:00:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tak Kunihiro <tak.kunihiro <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 23 Apr 2018 02:00:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tak Kunihiro <tak.kunihiro <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Cc: tak.kunihiro <at> gmail.com
Subject: Gnus on 26.1 RC1 with x86_64-w64-mingw32
Date: Mon, 23 Apr 2018 10:58:49 +0900 (JST)
I downloaded 26.1 RC1 (GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-04-10).

  https://lists.gnu.org/archive/html/emacs-devel/2018-04/msg00287.html
  https://alpha.gnu.org/gnu/emacs/pretest/windows/emacs-26.1-rc1-x86_64.zip

Gnus with the following configuration gives error althouth that under 25.3
works.

  $ cd /c/emacs-26.1-rc1/bin
  $ ./runemacs.exe -Q
  C-x C-f ~/.gnus.el
  M-x eval-buffer
  M-x gnus

  Opening connection to imap.gmail.com via tls...
  Unable to open server nnimap+gmail due to: auth-source-netrc-parse-entries: Unexpected ‘machine’ token at line 4

I'm not sure if this problem is coming from my confirugration or Emacs 26.1 RC1.
Can you suggest how I trace this down?


#+BEGIN_SRC emacs-lisp
(setq gnus-fetch-old-headers 'some)
(setq gnus-select-method
      '(nnimap "gmail"
               (nnimap-address "imap.gmail.com") ; imap.googlemail.com
               (nnimap-server-port 993)
               (nnimap-stream ssl)))

(setq message-send-mail-function 'smtpmail-send-it
      smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil))
      smtpmail-auth-credentials '(("smtp.gmail.com" 587
                                   "homeros.misasa <at> gmail.com" nil))
      smtpmail-default-smtp-server "smtp.gmail.com"
      smtpmail-smtp-server "smtp.gmail.com"
      smtpmail-smtp-service 587
      gnus-ignored-newsgroups "^to\\.\\|^[0-9. ]+\\( \\|$\\)\\|^[\"]\"[#'()]")
#+END_SRC

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31242; Package emacs. (Mon, 23 Apr 2018 09:54:01 GMT) Full text and rfc822 format available.

Message #8 received at 31242 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Tak Kunihiro <tak.kunihiro <at> gmail.com>
Cc: 31242 <at> debbugs.gnu.org
Subject: Re: bug#31242: Gnus on 26.1 RC1 with x86_64-w64-mingw32
Date: Mon, 23 Apr 2018 11:53:47 +0200
Tak Kunihiro <tak.kunihiro <at> gmail.com> writes:

>   Opening connection to imap.gmail.com via tls...
>   Unable to open server nnimap+gmail due to:
> auth-source-netrc-parse-entries: Unexpected ‘machine’ token at line 4

This sounds like you have a syntax error in your ~/.authinfo or ~/.netrc
file.  Does line 4 of that file look OK?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31242; Package emacs. (Mon, 23 Apr 2018 10:05:02 GMT) Full text and rfc822 format available.

Message #11 received at 31242 <at> debbugs.gnu.org (full text, mbox):

From: Tak Kunihiro <homeros.misasa <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 31242 <at> debbugs.gnu.org
Subject: Re: bug#31242: Gnus on 26.1 RC1 with x86_64-w64-mingw32
Date: Mon, 23 Apr 2018 19:04:24 +0900
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> Tak Kunihiro <tak.kunihiro <at> gmail.com> writes:
>
>>   Opening connection to imap.gmail.com via tls...
>>   Unable to open server nnimap+gmail due to:
>>    auth-source-netrc-parse-entries: Unexpected ‘machine’ token at line 4
>
> This sounds like you have a syntax error in your ~/.authinfo or ~/.netrc
> file.  Does line 4 of that file look OK?

There was wrong line 4 in `~/.authinfo'.

4: machine gmail login homeros.misasa <at> gmail.com password ******
5: machine imap.gmail.com login homeros.misasa <at> gmail.com password ****** port 993
6: machine smtp.gmail.com login homeros.misasa <at> gmail.com password ****** port 587

After I took the line 4 out, gnus starts to work on GNU Emacs 26.1
(build 1, x86_64-w64-mingw32).  That was my problem.  Thank you very
much!




Added tag(s) notabug. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 23 Apr 2018 10:11:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 31242 <at> debbugs.gnu.org and Tak Kunihiro <tak.kunihiro <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 23 Apr 2018 10:11:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 21 May 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 34 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.