From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: [babel] "Marker does not point anywhere" error? Date: Fri, 25 Mar 2011 13:56:46 +0100 Message-ID: <4D8C910E.4020007@gmail.com> References: <4D8C8E1D.4060208@gmail.com> <817hbn1i13.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=35974 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q36ZR-0004lR-ON for emacs-orgmode@gnu.org; Fri, 25 Mar 2011 08:56:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q36ZP-0002Db-To for emacs-orgmode@gnu.org; Fri, 25 Mar 2011 08:56:53 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:44977) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q36ZP-0002DW-Lk for emacs-orgmode@gnu.org; Fri, 25 Mar 2011 08:56:51 -0400 Received: by wwb39 with SMTP id 39so564049wwb.30 for ; Fri, 25 Mar 2011 05:56:50 -0700 (PDT) In-Reply-To: <817hbn1i13.fsf@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: Jambunathan K Cc: emacs-orgmode -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 25/03/11 13:50, Jambunathan K wrote: > > Can you do M-x toggle-debug-on-error and copy/paste what comes up in the > backtrace buffer? Here it is: Debugger entered--Lisp error: (error "Marker does not point anywhere") ansi-color-apply-on-region(# #) ansi-color-process-output("") run-hook-with-args(ansi-color-process-output "") comint-send-input(nil t) #[(line) "c\210\301\302\303\"\210\304\305!\207" [line comint-send-input nil t sleep-for 0.25] 3]("RESULTSDIR=$(cat <<'BABEL_TABLE'") mapc(#[(line) "c\210\301\302\303\"\210\304\305!\207" [line comint-send-input nil t sleep-for 0.25] 3] ("RESULTSDIR=$(cat <<'BABEL_TABLE'" "/home/rkrug/sim/results/nsa/LHCube/nsa.63.up-to-date/results/" "BABEL_TABLE" ")" "ANALYSISDIR=$(cat <<'BABEL_TABLE'" "/home/rkrug/sim/results/nsa/LHCube/nsa.63.up-to-date/" "BABEL_TABLE" ")" "echo" "## Copy scripts" "scpa SA.sh SA.sub SA.R Analysis_sensitivity.R generateLatinHypercubeScenarios.R cluster://export/home/rkrug/sim/nsa/SA/" "# scp SA.sub cluster://export/home/rkrug/sim/nsa/SA/" "# scp SA.R cluster://export/home/rkrug/sim/nsa/SA/" "## Copy data" "# scp $ANALYSISDIR/../analysis.db cluster://export/home/rkrug/sim/nsa/SA/" "echo `date`" "echo 'org_babel_sh_eoe'")) org-babel-sh-evaluate(# "RESULTSDIR=$(cat <<'BABEL_TABLE'\n/home/rkrug/sim/results/nsa/LHCube/nsa.63.up-to-date/results/\nBABEL_TABLE\n)\nANALYSISDIR=$(cat <<'BABEL_TABLE'\n/home/rkrug/sim/results/nsa/LHCube/nsa.63.up-to-date/\nBABEL_TABLE\n)\necho\n## Copy scripts\nscpa SA.sh SA.sub SA.R Analysis_sensitivity.R generateLatinHypercubeScenarios.R cluster://export/home/rkrug/sim/nsa/SA/\n# scp SA.sub cluster://export/home/rkrug/sim/nsa/SA/\n# scp SA.R cluster://export/home/rkrug/sim/nsa/SA/\n## Copy data\n# scp $ANALYSISDIR/../analysis.db cluster://export/home/rkrug/sim/nsa/SA/\necho `date`\n" ("output" "replace")) org-babel-execute:sh("echo\n## Copy scripts\nscpa SA.sh SA.sub SA.R Analysis_sensitivity.R generateLatinHypercubeScenarios.R cluster://export/home/rkrug/sim/nsa/SA/\n# scp SA.sub cluster://export/home/rkrug/sim/nsa/SA/\n# scp SA.R cluster://export/home/rkrug/sim/nsa/SA/\n## Copy data\n# scp $ANALYSISDIR/../analysis.db cluster://export/home/rkrug/sim/nsa/SA/\necho `date`\n" ((:var RESULTSDIR . "/home/rkrug/sim/results/nsa/LHCube/nsa.63.up-to-date/results/") (:var ANALYSISDIR . "/home/rkrug/sim/results/nsa/LHCube/nsa.63.up-to-date/") (:colname-names) (:rowname-names) (:result-params "output" "replace") (:result-type . output) (:comments . "") (:shebang . "#!/bin/bash") (:cache . "no") (:padline . "") (:noweb . "no") (:tangle . "no") (:exports . "code") (:results . "output replace") (:session . "sh") (:padnewline . "yes") (:hlines . "no"))) org-babel-execute-src-block(nil ("sh" "echo\n## Copy scripts\nscpa SA.sh SA.sub SA.R Analysis_sensitivity.R generateLatinHypercubeScenarios.R cluster://export/home/rkrug/sim/nsa/SA/\n# scp SA.sub cluster://export/home/rkrug/sim/nsa/SA/\n# scp SA.R cluster://export/home/rkrug/sim/nsa/SA/\n## Copy data\n# scp $ANALYSISDIR/../analysis.db cluster://export/home/rkrug/sim/nsa/SA/\necho `date`\n" ((:var RESULTSDIR . "/home/rkrug/sim/results/nsa/LHCube/nsa.63.up-to-date/results/") (:var ANALYSISDIR . "/home/rkrug/sim/results/nsa/LHCube/nsa.63.up-to-date/") (:colname-names) (:rowname-names) (:result-params "output" "replace") (:result-type . output) (:comments . "") (:shebang . "#!/bin/bash") (:cache . "no") (:padline . "") (:noweb . "no") (:tangle . "no") (:exports . "code") (:results . "output replace") (:session . "sh") (:padnewline . "yes") (:hlines . "no")) "" nil 0)) org-babel-execute-src-block-maybe() org-babel-execute-maybe() org-babel-execute-safely-maybe() run-hook-with-args-until-success(org-babel-execute-safely-maybe) org-ctrl-c-ctrl-c(nil) call-interactively(org-ctrl-c-ctrl-c nil nil) and some more info: current state: ============== (setq org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-export-latex-listings t org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-src-window-setup 'current-window org-src-fontify-natively t org-plantuml-jar-path "/home/rkrug/.emacs.d/org-mode/contrib/scripts/plantuml.jar" org-ctrl-k-protect-subtree "ask" org-hide-leading-stars t org-metaup-hook '(org-babel-load-in-session-maybe) org-after-todo-state-change-hook '(org-clock-out-if-current) org-babel-tangle-lang-exts '(("latex" . "tex") ("emacs-lisp" . "el")) org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup) org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'y-or-n-p org-export-first-hook '(org-beamer-initialize-open-trackers) org-startup-indented t org-agenda-before-write-hook '(org-agenda-add-entry-text) org-export-latex-packages-alist '(("" "color") ("" "listings")) org-directory "~/Documents/orgfiles" org-babel-pre-tangle-hook '(save-buffer) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers) org-mode-hook '((lambda nil (local-set-key "\357" (quote org-mime-org-buffer-htmlize))) #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-occur-hook '(org-first-headline-recenter) org-from-is-user-regexp "\\" org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-confirm-babel-evaluate nil org-ellipsis "? ? ?" org-export-kill-product-buffer-when-displayed t org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc org-beamer-auto-fragile-frames org-beamer-place-default-actions-for-lists) org-metadown-hook '(org-babel-pop-to-session-maybe) org-export-blocks '((src org-babel-exp-src-block nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) ) Rainer > > > > Rainer M Krug writes: > >> Hi >> >> I have the following code block: >> >> #+begin_src sh :session sh >> echo >> ## Copy scripts >> scp SA.sh SA.sub SA.R Analysis_sensitivity.R >> generateLatinHypercubeScenarios.R cluster://export/home/rkrug/sim/nsa/SA/ >> # scp SA.sub cluster://export/home/rkrug/sim/nsa/SA/ >> # scp SA.R cluster://export/home/rkrug/sim/nsa/SA/ >> ## Copy data >> # scp $ANALYSISDIR/../analysis.db cluster://export/home/rkrug/sim/nsa/SA/ >> echo `date` >> #+end_src >> >> When I put my cursor into the block and want to execute it with C-c c I >> get usually at the first attempt a "Marker does not point anywhere" >> error, and when I, without moving the cursor, do C-c c again, the code >> is executed - it is not a serious problem, but a little bit irritating. >> >> Org-mode version 7.5 (release_7.5.113.g9010a) >> GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1) >> >> Cheers, >> >> Rainer > - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Tel: +33 - (0)9 53 10 27 44 Cell: +27 - (0)8 39 47 90 42 Fax (SA): +27 - (0)8 65 16 27 82 Fax (D) : +49 - (0)3 21 21 25 22 44 Fax (FR): +33 - (0)9 58 10 27 44 email: Rainer@krugs.de Skype: RMkrug -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2MkQ4ACgkQoYgNqgF2egoAZwCeKYErINimWmX53BOBgrYVWlOp 8qoAn0FKhmUeHSU89wxBY4a2bs3sbkVs =bHjF -----END PGP SIGNATURE-----