bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rmail pop error


From: Tim Hesterberg
Subject: Re: rmail pop error
Date: Tue, 19 Feb 2008 17:34:42 -0800

>Glenn Morris wrote:
>
>> Please do M-x toggle-debug-on-error, provoke the error again, and post
>> the backtrace.
>>
>> What are the values of rmail-movemail-program and
>> rmail-movemail-variant-in-use after you get the error?
>>
>> What does (rmail-autodetect) return?
>>
>> Is there a `movemail' executable in exec-directory or exec-path, and
>> do you have permission to run it? What does `movemail --version' output?
>
>It looks to me like rmail-movemail-program is unset for you for some
>reason, but I'm afraid I can't debug this without more information,
>since it works for me.

Sorry, I didn't see the first message when it came out.  Answers below.


As before, I start with -no-init-file, then do:
(prog1
  (setenv "MAILHOST" "sewinexch00.insightful.com")  ; 7/10/06
  (setq rmail-primary-inbox-list '("po:timh") 
        rmail-pop-password-required t)
)
(Then 'M-x rmail' works fine in emacs 22.1.1)

In emacs 22.1.90, I now do 'M-x toggle-debug-on-error' and 'M-x rmail'.
The backtrace is:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  call-process(nil nil #<buffer  *temp*> nil "po:timh" "h:/.newmail-timh" 
"MYPASSWORDomittedHERE")
  apply(call-process (nil nil #<buffer  *temp*> nil "po:timh" 
"h:/.newmail-timh" "MYPASSWORDomittedHERE"))
  rmail-insert-inbox-text(("po:timh") t)
  rmail-get-new-mail()
  rmail()
  call-interactively(rmail)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)

The values of the two variables are:
rmail-movemail-program is nil
rmail-movemail-variant-in-use is nil

This is the same as in emacs 22.1.1
They were both unset before calling M-x rmail.

--------------------------------------------------
(rmail-autodetect)
returns nil in both 22.1.90 and 22.1.1  (after M-x rmail)

--------------------------------------------------
exec-directory is a variable defined in `C source code'.
Its value is 
"d:/emacs/emacs-22.1.90/bin/"

exec-path is a variable defined in `C source code'.
Its value is 
("d:/cygwin/bin" "d:/emacs/gnuserv" "d:/texmf/miktex/bin" "c:/Rtools/perl/bin" 
"c:/Rtools/MinGW/bin" "C:/Perl/bin" "D:/local/MiKTeX2.6/miktex/bin" "C:/Program 
Files/Insightful/splus80" "C:/Program Files/Insightful/splus80/cmd" 
"C:/WINDOWS/system32" "C:/WINDOWS" "C:/WINDOWS/System32/Wbem" "C:/Program 
Files/Intel/DMIX" "C:/Program Files/Perforce" "C:/Progra~1/R/R-2.6.1/bin" 
"c:/Program Files/HTML Help Workshop" "." "d:/cygwin/usr/local/bin" 
"d:/cygwin/bin" "d:/emacs/gnuserv" "d:/emacs/emacs-22.1.90/bin")

This does exist, and is executable
d:/emacs/emacs-22.1.90/bin/movemail.exe

There is no other movemail program in the other directories in exec-path.

--------------------------------------------------
On a lark, I tried:

(setq rmail-movemail-variant-in-use "emacs")

Then M-x rmail gives a different trace:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  call-process(nil nil #<buffer  *temp*> nil "po:timh" "h:/.newmail-timh" 
"MYPASSWORDomittedHERE")
  apply(call-process (nil nil #<buffer  *temp*> nil "po:timh" 
"h:/.newmail-timh" "MYPASSWORDomittedHERE"))
  rmail-insert-inbox-text(("po:timh") t)
  rmail-get-new-mail()
  rmail()
  call-interactively(rmail)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)
  recursive-edit()
  byte-code("Æ @Ç=ƒ!ÈÉÊ\"ˆËÉ!‰A@)¢Ì=ƒ!ÈÍÊ\"ˆÎ!ˆÏ ˆÐ        !ˆ\fƒcÑed\"
VƒWebˆÒ
¥yˆ`dbˆÒ
¥
Zyˆ`|ˆ)ÓcˆebˆÔÕÖ \"ˆ× ˆÔØ!ˆÙÊÔØ!ˆŠÚ ˆ+ه" [unread-command-char 
debugger-args x debugger-buffer noninteractive debugger-batch-max-lines -1 
debug backtrace-debug 4 t backtrace-frame lambda 5 pop-to-buffer debugger-mode 
debugger-setup-buffer count-lines 2 "...\n" message "%s" buffer-string 
kill-emacs "" nil recursive-edit middlestart buffer-read-only standard-output] 
4)
  debug(error (wrong-type-argument stringp nil))
  call-process(nil nil #<killed buffer> nil "po:timh" "h:/.newmail-timh" 
"MYPASSWORDomittedHERE")
  apply(call-process (nil nil #<killed buffer> nil "po:timh" "h:/.newmail-timh" 
"MYPASSWORDomittedHERE"))
  rmail-insert-inbox-text(("po:timh") t)
  rmail-get-new-mail()
  rmail()
  call-interactively(rmail)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]