From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhichao Hong Subject: Re: org-mobile-push hangs Date: Thu, 5 Nov 2009 19:48:07 -0600 Message-ID: <3fea10110911051748m5dc1f23ai1a2dd1bccf86e69f@mail.gmail.com> References: <3fea10110911050731i17269l1bb93415714c8773@mail.gmail.com> <62AB89AD-AED8-413B-98CA-F9D6C374C572@gmail.com> <3fea10110911050839j54253ef5u888d2949dc6a5209@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N6Dw2-0002Py-RI for emacs-orgmode@gnu.org; Thu, 05 Nov 2009 20:48:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N6Dvy-0002O8-6y for emacs-orgmode@gnu.org; Thu, 05 Nov 2009 20:48:18 -0500 Received: from [199.232.76.173] (port=42208 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N6Dvy-0002O5-1B for emacs-orgmode@gnu.org; Thu, 05 Nov 2009 20:48:14 -0500 Received: from mail-bw0-f215.google.com ([209.85.218.215]:42285) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N6Dvw-0004vC-0q for emacs-orgmode@gnu.org; Thu, 05 Nov 2009 20:48:13 -0500 Received: by bwz7 with SMTP id 7so709861bwz.26 for ; Thu, 05 Nov 2009 17:48:07 -0800 (PST) In-Reply-To: <3fea10110911050839j54253ef5u888d2949dc6a5209@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org I have truned on debug (debug-on-entry) to step though the org-mobile-push. And I found it gets into infinite loop after calling org-save-all-org-buffers; the completion-cancel-tooltip recursively loops forever. Debugger entered--beginning evaluation of function call form: * (interactive) * completion-cancel-tooltip() * (lambda (&rest unused) (completion-cancel-tooltip))(10 11 0) Hope this helps, Zhichao Hong, CSDP zhichao.hong@computer.org On Thu, Nov 5, 2009 at 10:39 AM, Zhichao Hong wrot= e: > Here is what org bug report generated after I manually "load-library > org-mobile" for an org buffer: > From: Zhichao Hong > To: emacs-orgmode@gnu.org > Subject: Org-mode version 6.32b; org-mobile-push hangs > --text follows this line-- > > Remember to cover the basics, that is, what you expected to happen and > what in fact did happen. =A0You don't know how to make a good report? =A0= See > > =A0 =A0 http://orgmode.org/manual/Feedback.html#Feedback > > Your bug report will be posted to the Org-mode mailing list. > ------------------------------------------------------------------------ > > > > Emacs =A0: GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) > =A0of 2009-07-29 on SOFT-MJASON > Package: Org-mode version 6.32b > > current state: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > (setq > =A0org-log-done '(done) > =A0org-agenda-files '("~/notes/gtd.org" "~/notes/work.org" > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0"~/notes/personal.org" "~/notes/jo= urnal.org") > =A0org-after-todo-state-change-hook '(org-clock-out-if-current) > =A0org-protocol-project-alist '(("http://localhost/org/" :base-url > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "http://local= host/org/" :working-directory > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "c:/zhong/not= es/" :online-suffix ".html" > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 :working-suff= ix ".org") > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0) > =A0org-export-preprocess-hook '(org-export-blocks-preprocess) > =A0org-mobile-inbox-for-pull "~/notes/from-mobile.org" > =A0org-tab-first-hook '(yas/org-very-safe-expand org-hide-block-toggle-ma= ybe) > =A0org-src-mode-hook '(org-src-mode-configure-edit-buffer) > =A0org-confirm-shell-link-function 'yes-or-no-p > =A0org-todo-keywords '((sequence "TODO(t)" "|" "DONE(d)" "CANCELED(c)") > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (sequence "REPORT(r)" "BUG(b)" "K= NOWNCAUSE(k)" "|" > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0"FIXED(f)") > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (sequence "INPROGRESS(i)" "DEFERR= ED(d)" "|" > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0"CANCELED(c)") > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ) > =A0org-agenda-before-write-hook '(org-agenda-add-entry-text) > =A0org-default-notes-file "~/notesjournal.org" > =A0org-directory "~/notes" > =A0org-export-docbook-xslt-proc-command "xsltproc --output %s > /usr/share/docbook-xsl/fo/docbook.xsl %s" > =A0org-tag-alist '((:startgroup) ("@HOME" . 104) ("@WORK" . 119) (:endgro= up) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ("@PHONE" . 102) ("COMPUTER" . 99) ("@ERR= AND" . 101)) > =A0org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawe= rs > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0org-cycle-show-empty-lines > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0org-optimize-window-after-visibility-c= hange) > =A0org-replace-disputed-keys t > =A0org-mode-hook '((lambda nil > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(make-variable-buffer-local (quote yas= /trigger-key)) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(setq yas/trigger-key [tab]) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(add-to-list (quote org-tab-first-hook= ) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (quote yas/org-very-safe-expand)) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(define-key yas/keymap [tab] (quote ya= s/next-field))) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (lambda nil > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(local-set-key "\356" (quote outline-n= ext-visible-heading)) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(local-set-key "\360" > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (quote outline-previous-visible-headi= ng)) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(local-set-key "\227" (quote org-table= -copy-region)) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(local-set-key "\231" (quote org-table= -paste-rectangle)) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(local-set-key "\214" (quote org-table= -sort-lines)) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(local-set-key "\311" (quote org-toggl= e-iimage-in-org)) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(local-set-key " " (quote yank))) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (lambda nil (quote imenu-add-to-menubar) = "Imenu") > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #[nil "\300\301\302\303\304$\207" > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [org-add-hook change-major-mode-hook = org-show-block-all > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0append local] > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 5] > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (lambda nil (flyspell-mode 1))) > =A0org-confirm-elisp-link-function 'yes-or-no-p > =A0org-icalendar-store-UID t > =A0org-occur-hook '(org-first-headline-recenter) > =A0org-icalendar-include-body nil > =A0org-mobile-directory "~/webdisk/org/" > =A0org-export-docbook-xsl-fo-proc-command "c:/apps/fop-0.95/fop %s %s" > =A0org-remember-templates '(("Todo" 116 "* TODO %?\n =A0%i\n =A0%a" > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "~/notes/journal.org"= "Tasks") > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0("Todo" 84 "* TODO %i%= ?\n" "~/notes/journal.org" > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "Tasks") > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0("Journal" 106 "* %U %= ?\n\n =A0%i\n =A0%a" > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "~/notes/journal.org"= ) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0("Idea" 105 "* %^{Titl= e}\n =A0%i\n =A0%a" > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "~/notes/journal.org"= "New Ideas") > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0("Idea" 73 "* %^{Title= }\n %i\n" > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "~/notes/journal.org"= "New Ideas") > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0("Web" 119 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "* %^{Title}\n\n =A0S= ource: %u, %c\n\n =A0%i" > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "~/notes/journal.org"= "Notes") > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0) > =A0org-icalendar-include-todo t > =A0) > > > Zhichao Hong, CSDP > zhichao.hong@computer.org > > > > On Thu, Nov 5, 2009 at 9:39 AM, Carsten Dominik > wrote: >> Hi, >> >> I cannot see your org-mobile setup. =A0Could you please make sure that >> org-mobile is loaded when you produce the bug report? >> >> Thanks. >> >> - Carsten >> >> On Nov 5, 2009, at 4:31 PM, Zhichao Hong wrote: >> >>> I am observing the org-mobile-push hangs forever. =A0It happens when it >>> uploads one org file. =A0Then the emacs runs into to a busy loop. =A0I >>> have to kill it manually. >>> >>> Below is the detailed bug report. >>> >>> -Zhichao >>> >>> From: Zhichao Hong >>> To: emacs-orgmode@gnu.org >>> Subject: Org-mode version 6.32trans; org-mobile-push hangs (only push >>> 1 org file, event for a local folder) >>> --text follows this line-- >>> >>> Remember to cover the basics, that is, what you expected to happen and >>> what in fact did happen. =A0You don't know how to make a good report? = =A0See >>> >>> =A0 =A0http://orgmode.org/manual/Feedback.html#Feedback >>> >>> Your bug report will be posted to the Org-mode mailing list. >>> -----------------------------------------------------------------------= - >>> >>> >>> >>> Emacs =A0: GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) >>> of 2009-07-29 on SOFT-MJASON >>> Package: Org-mode version 6.32trans >>> >>> current state: >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> (setq >>> org-log-done '(done) >>> org-agenda-files '("~/notes/gtd.org" "~/notes/work.org" >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0"~/notes/personal.org" "~/notes/= journal.org") >>> org-after-todo-state-change-hook '(org-clock-out-if-current) >>> org-protocol-project-alist '(("http://localhost/org/" :base-url >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "http://loc= alhost/org/" :working-directory >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "c:/zhong/n= otes/" :online-suffix ".html" >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 :working-su= ffix ".org") >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0) >>> org-export-preprocess-hook '(org-export-blocks-preprocess) >>> org-tab-first-hook '(org-hide-block-toggle-maybe) >>> org-src-mode-hook '(org-src-mode-configure-edit-buffer) >>> org-confirm-shell-link-function 'yes-or-no-p >>> org-todo-keywords '((sequence "TODO(t)" "|" "DONE(d)" "CANCELED(c)") >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (sequence "REPORT(r)" "BUG(b)" = "KNOWNCAUSE(k)" "|" >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0"FIXED(f)") >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (sequence "INPROGRESS(i)" "DEFE= RRED(d)" "|" >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0"CANCELED(c)") >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ) >>> org-agenda-before-write-hook '(org-agenda-add-entry-text) >>> org-default-notes-file "~/notesjournal.org" >>> org-directory "~/notes" >>> org-export-docbook-xslt-proc-command "xsltproc --output %s >>> /usr/share/docbook-xsl/fo/docbook.xsl %s" >>> org-tag-alist '((:startgroup) ("@HOME" . 104) ("@WORK" . 119) (:endgrou= p) >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ("@PHONE" . 102) ("COMPUTER" . 99) ("@E= RRAND" . 101)) >>> org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawer= s >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0org-cycle-show-empty-lines >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0org-optimize-window-after-visibility= -change) >>> org-replace-disputed-keys t >>> org-mode-hook '((lambda nil >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(make-variable-buffer-local (quote y= as/trigger-key)) >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(setq yas/trigger-key [tab]) >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(add-to-list (quote org-tab-first-ho= ok) >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (quote yas/org-very-safe-expand)) >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(define-key yas/keymap [tab] (quote = yas/next-field))) >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (lambda nil >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(local-set-key "\356" (quote >>> outline-next-visible-heading)) >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(local-set-key "\360" >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (quote outline-previous-visible-hea= ding)) >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(local-set-key "\227" (quote org-tab= le-copy-region)) >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(local-set-key "\231" (quote org-tab= le-paste-rectangle)) >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(local-set-key "\214" (quote org-tab= le-sort-lines)) >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(local-set-key "\311" (quote org-tog= gle-iimage-in-org)) >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(local-set-key " " (quote yank))) >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (lambda nil (quote imenu-add-to-menubar= ) "Imenu") >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #[nil "\300\301\302\303\304$\207" >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [org-add-hook change-major-mode-hoo= k org-show-block-all >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0append local] >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 5] >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (lambda nil (flyspell-mode 1))) >>> org-confirm-elisp-link-function 'yes-or-no-p >>> org-icalendar-store-UID t >>> org-occur-hook '(org-first-headline-recenter) >>> org-icalendar-include-body nil >>> org-export-docbook-xsl-fo-proc-command "c:/apps/fop-0.95/fop %s %s" >>> org-remember-templates '(("Todo" 116 "* TODO %?\n =A0%i\n =A0%a" >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "~/notes/journal.or= g" "Tasks") >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0("Todo" 84 "* TODO %= i%?\n" "~/notes/journal.org" >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "Tasks") >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0("Journal" 106 "* %U= %?\n\n =A0%i\n =A0%a" >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "~/notes/journal.or= g") >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0("Idea" 105 "* %^{Ti= tle}\n =A0%i\n =A0%a" >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "~/notes/journal.or= g" "New Ideas") >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0("Idea" 73 "* %^{Tit= le}\n %i\n" >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "~/notes/journal.or= g" "New Ideas") >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0("Web" 119 >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "* %^{Title}\n\n = =A0Source: %u, %c\n\n =A0%i" >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "~/notes/journal.or= g" "Notes") >>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0) >>> org-icalendar-include-todo t >>> ) >>> >>> >>> _______________________________________________ >>> Emacs-orgmode mailing list >>> Remember: use `Reply All' to send replies to the list. >>> Emacs-orgmode@gnu.org >>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >> >> - Carsten >> >> >> >> >