end-of-loop-timeout problem and submit-bug-report output (fwd)

Scot W McNary smcnary at charm.net
Thu Aug 7 05:23:22 CEST 2003


(Hi,

I tried sending this to ess-bugs, but got it bounced back: "user unknown".
Hope this isn't too off-topic for ess-help.

Scot)


---------- Forwarded message ----------
Date: Wed, 6 Aug 2003 23:07:04 -0400 (EDT)
From: Scot W McNary <smcnary at charm.net>
To: ess-bugs at stat.math.ethz.ch
Subject: end-of-loop-timeout problem and submit-bug-report output


Hi,

I'm using Xemacs 21.4, ess 5.1.24, on Windows 98 SE, with John Fox's
configuration files:

(http://socserv.mcmaster.ca/jfox/Books/Companion/ESS/index.html)

and am getting the end-of-loop-timeout warning message I've seen reported
to ESS-help several times over the last few months.  In response to the
last posting about it, Rich Heiberger suggested to another poster running
M-x submit-bug-report and sending it to ess-bugs.  I thought I might do
the same.

C-g does give back control of the cursor as advised by Rich, but I have
never had trouble running R or ESS after getting the error message.
Since it doesn't seem to affect my working with Xemacs at all, I've been
treating it like a flashing "12:00" on my VCR and I'm too lazy to change
it.  However, having now seen a few others speak up with the problem, I
thought I'd try and see if it could be fixed.  However, please note that
I'm perfectly happy living with it if that's the easiest thing to do!

Here are the first few lines of init.el that show my choices among the
options for John Fox's configuration.  Below that is the
submit-bug-report output.  Let me know if I need to provide more
information.

Thanks,

Scot McNary

*** begin Fox's configuration options in init.el***

;;;------------------------------------------------------------*
;;; sample init.el file for ess + Xemacs under MS Windows      *
;;;        John Fox                                            *
;;;        27 November 2002      Version 0.5.2                 *
;;;------------------------------------------------------------*

;; This file goes in the .xemacs subdirectory of your HOME directory
;;   In Windows 9x, set the HOME environment variable, e.g., set HOME=c:\
;;   In Windows NT, 2000, or XP, use location pointed to by HOMEDRIVE,
HOMEPATH
;;   or set the HOME environment variable

;;;----------------------------------------------------------------------------------------------

;;; configuration options:

;; change to suit

    ;; If pc-behaviour-level > 0, backspace key, marked-region replace,
etc. are as in Windows.
    ;; If pc-behaviour-level > 1, in addition Windows editing keys C-x,
C-c, C-v are defined.

    (defconst pc-behaviour-level 0) ; 2 = all Windows editing behaviours
turned on

    ;; If suppress-initial-dialog is t then the initialization message
dialog box is not displayed.
    ;;    Recommended default is nil for Windows NT/2000/XP, t for Windows
9x.

    (defconst suppress-initial-dialog t) ; nil = show dialog

    ;; If enable-R-menus > 0, then unproblematic R menu items are enabled.
    ;; If enable-R-menus > 1, then in addition menu items that call GUI
functions are enabled.
    ;;    Recommended default is 2 for Windows NT/2000/XP, 1 for Windows
9x.

    (defconst enable-R-menus 1) ; 2 = all menu items enabled

    ;; If suppress-R-toolbar is t then the R toolbar is not shown.

    (defconst suppress-R-toolbar nil) ; nil = show R toolbar

    ;; If dedicated-R-window is t then buffers other than the R-process
buffer
    ;;   cannot be displayed in the lower window

    (defconst dedicated-R-window t) ; t = dedicated window

*** end Fox's configuration options in init.el***

*************************************************
*************************************************
*************************************************
*************                 *******************

Now, here is the output from the submit-bug-report function:

*************                 *******************
*************************************************
*************************************************
*************************************************


***begin M-x submit-bug-report output***

To: ess-bugs at stat.math.ethz.ch
Subject: ess-mode 5.1.24; end of loop timeout
--text follows this line--


Emacs  : XEmacs 21.4 (patch 11) "Native Windows TTY Support (Windows)"
[Lucid] (i586-pc-win32) of Wed Jan 08 2003 on TSUNAMI
Package: ess-mode 5.1.24

current state:
==============
(setq
 ess-language "S"
 ess-dialect "R"
 ess-ask-for-ess-directory nil
 ess-ask-about-transfile nil
 ess-directory nil
 ess-keep-dump-files "always"
 ess-source-directory "/tmp/"
 )
(ess-setq-vars-LOCAL): language=SAS, dialect=SAS, buf=unlikely-name.sas,
comint..echoes=nil, comint..sender=comint-simple-send
(ess-mode-1): ess-language=SAS, ess-dialect=SAS buf=unlikely-name.sas
(ess-mode-1.5): alist=((ess-local-customize-alist quote
SAS-customize-alist) (ess-language . SAS) (ess-dialect . SAS)
(ess-mode-editing-alist . SAS-editing-alist) (ess-mode-syntax-table .
SAS-syntax-table) (inferior-ess-program . inferior-SAS-program-name)
(ess-help-sec-regex . ^[A-Z. ---]+:$) (ess-help-sec-keys-alist .  )
(ess-object-name-db-file . ess-sas-namedb.el)
(inferior-ess-objects-command . objects(%d)) (inferior-ess-help-command .
help("%s",pager="cat",window=F)
) (inferior-ess-exit-command . endsas;
) (ess-loop-timeout . 1000000) (inferior-ess-primary-prompt .
\([A-Z][][A-Za-z0-9.]*\)*>) (inferior-ess-secondary-prompt . ^)
(comint-use-prompt-regexp-instead-of-fields . t) (inferior-ess-start-file)
(inferior-ess-start-args . inferior-SAS-args-temp)
(ess-local-process-name))
(ess-mode-1.6): editing-alist=((sentence-end . ;[
 */]*) (paragraph-start . ^[ 	]*$) (paragraph-separate . ^[ 	]*$)
(paragraph-ignore-fill-prefix . t) (adaptive-fill-mode)
(indent-line-function quote sas-indent-line) (require-final-newline . t)
(comment-start . \*\|/\*) (comment-start-skip . \*+) (comment-end .
;\|\*/) (comment-column . 40) (parse-sexp-ignore-comments . t)
(ess-set-style . ess-default-style) (ess-local-process-name)
(tab-stop-list . ess-sas-tab-stop-alist) (ess-mode-syntax-table .
SAS-syntax-table) (font-lock-keywords-case-fold-search . t)
(font-lock-defaults quote (SAS-mode-font-lock-keywords)))
(ess-setq-vars-LOCAL): language=SAS, dialect=SAS, buf=unlikely-name.sas,
comint..echoes=nil, comint..sender=comint-simple-send

Finished setting up ESS-mode.
[ess-site.el]: ess-customize-alist=((ess-local-customize-alist quote
SAS-customize-alist) (ess-language . SAS) (ess-dialect . SAS)
(ess-mode-editing-alist . SAS-editing-alist) (ess-mode-syntax-table .
SAS-syntax-table) (inferior-ess-program . inferior-SAS-program-name)
(ess-help-sec-regex . ^[A-Z. ---]+:$) (ess-help-sec-keys-alist .  )
(ess-object-name-db-file . ess-sas-namedb.el)
(inferior-ess-objects-command . objects(%d)) (inferior-ess-help-command .
help("%s",pager="cat",window=F)
) (inferior-ess-exit-command . endsas;
) (ess-loop-timeout . 1000000) (inferior-ess-primary-prompt .
\([A-Z][][A-Za-z0-9.]*\)*>) (inferior-ess-secondary-prompt . ^)
(comint-use-prompt-regexp-instead-of-fields . t) (inferior-ess-start-file)
(inferior-ess-start-args . inferior-SAS-args-temp)
(ess-local-process-name))
[ess-site.el _2_]: ess-customize-alist=((ess-local-customize-alist quote
SAS-customize-alist) (ess-language . SAS) (ess-dialect . SAS)
(ess-mode-editing-alist . SAS-editing-alist) (ess-mode-syntax-table .
SAS-syntax-table) (inferior-ess-program . inferior-SAS-program-name)
(ess-help-sec-regex . ^[A-Z. ---]+:$) (ess-help-sec-keys-alist .  )
(ess-object-name-db-file . ess-sas-namedb.el)
(inferior-ess-objects-command . objects(%d)) (inferior-ess-help-command .
help("%s",pager="cat",window=F)
) (inferior-ess-exit-command . endsas;
) (ess-loop-timeout . 1000000) (inferior-ess-primary-prompt .
\([A-Z][][A-Za-z0-9.]*\)*>) (inferior-ess-secondary-prompt . ^)
(comint-use-prompt-regexp-instead-of-fields . t) (inferior-ess-start-file)
(inferior-ess-start-args . inferior-SAS-args-temp)
(ess-local-process-name))

(R): ess-dialect=nil, buf=*scratch*, start-arg=nil
 current-prefix-arg=nil
(inferior-ess 0): ess-start-args=--ess
ess-setq-vars-default 0: ess-language=Initial, -dialect=nil, buf=*ESS*,
comint..echoes=nil, comint..sender=comint-simple-send
ess-setq-vars-default 1: ess-language=S, -dialect=R, buf=*ESS*,
comint..echoes=nil, comint..sender=comint-simple-send
(inf-ess 1): lang=S, dialect=R, tmp-dialect=R, buf=*scratch*
(inf-ess 1.1): procname=R temp-dialect=R, buf-name=*R*
(inferior-ess) Method #3 start=c:\ buf=*R*
(ess-setq-vars-LOCAL): language=S, dialect=R, buf=*R*, comint..echoes=nil,
comint..sender=comint-simple-send
(inf-ess 2.1): ess-language=S, ess-dialect=R buf=*R*
(inf-ess 2.2): start args = --ess , inf-ess-start-args=--ess
(inf-ess finish [S(R), C:/Program Files/R/rw1071/bin/Rterm(nil,nil)]
(ess-multi 0):  inf-ess-start-args=--ess , comint-..echoes=nil
(i-ess 1): buf=*R*, lang=S, comint..echo=nil,
comint..sender=comint-simple-send,
(i-ess 2): buf=*R*, lang=S, comint..echo=t,
comint..sender=inferior-R-input-sender,
(ess-setq-vars-LOCAL): language=S, dialect=R, buf=*R*, comint..echoes=t,
comint..sender=inferior-R-input-sender
(i-ess 3): curr-buf=*R*, comint..echo=t,
comint..sender=inferior-R-input-sender,
(ess-multi post inf-ess: start-args=--ess , comint-echoes=t
(ess-multi 1):  start-args=--ess
Making Process...Buf *R*, Proc R, Prog C:/Program Files/R/rw1071/bin/Rterm
 Start File=nil, Args= --ess .


***end M-x submit-bug-report output***




--
  Scot W. McNary  email:smcnary at charm.net


Message: 3
Date: Mon, 28 Jul 2003 14:30:03 -0400 (EDT)
From: Rich Heiberger <rmh at surfer.sbm.temple.edu>
Subject: Re:  where should i increase ess-loop-timeout
To: <ess-help at stat.math.ethz.ch>, Alejandro Mu?oz del R?o
	<munoz at stat.wisc.edu>
Message-ID: <200307281830.h6SIU3EX105308 at surfer.sbm.temple.edu>

The most likely reason for running into an ess-loop-timeout problem is
that the cursor is in the wrong place.  The fix is to put it in the right
place.  The workaround is often:
1. enter C-g to get control back.
2. move the cursor to the end of the buffer and enter <Enter>

The long term fix is to figure out why there was a cursor placement problem.
For that we need more detail.  Detail consists of two parts.
a. run M-x ess-submit-bug report
b. write an excessively detailed description of what you were doing when
the window froze.

Send it to ess-bugs at stat.math.ethz.ch

Rich




More information about the ESS-help mailing list