From: Rainer M Krug <r.m.krug@gmail.com>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: [babel] "Marker does not point anywhere" error?
Date: Fri, 25 Mar 2011 13:56:46 +0100 [thread overview]
Message-ID: <4D8C910E.4020007@gmail.com> (raw)
In-Reply-To: <817hbn1i13.fsf@gmail.com>
-----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(#<marker in no buffer> #<marker at 34 in sh>)
ansi-color-process-output("")
run-hook-with-args(ansi-color-process-output "")
comint-send-input(nil t)
#[(line) "\bc\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) "\bc\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(#<buffer sh> "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 "\x03\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 "\\<Rainer M Krug\\>"
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 <r.m.krug@gmail.com> 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-----
next prev parent reply other threads:[~2011-03-25 12:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-25 12:44 [babel] "Marker does not point anywhere" error? Rainer M Krug
2011-03-25 12:50 ` Jambunathan K
2011-03-25 12:56 ` Rainer M Krug [this message]
2011-03-25 13:13 ` Thomas Holst
2011-03-25 13:22 ` Sébastien Vauban
2011-03-25 13:38 ` Rainer M Krug
2011-03-28 12:47 ` Rainer M Krug
2011-03-30 4:30 ` Jambunathan K
2011-03-30 6:26 ` Thomas Holst
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D8C910E.4020007@gmail.com \
--to=r.m.krug@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=kjambunathan@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).