emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-babel-dot on windows


From: Bas Bossink
Subject: Re: [O] org-babel-dot on windows
Date: Sat, 3 Sep 2011 01:33:19 +0200

Hi Eric,

I'm using the following version of org-mode and Emacs:

commit cae9f947beb5f529569a7eb33b460e670fb8ff97
Author: Eric Schulte <address@hidden>
Date:   Tue Aug 30 14:50:26 2011 -0600

Emacs: GNU Emacs 23.3.1 (i386-mingw-nt6.1.7601)
 of 2011-03-10 on 3249CTO

The error says: Error: dot: can't open c\:/Users/bas/AppData/Local/Temp/babel-2652SMW/dot-2652b4h

running: 
dot -Tpng \Users\bas\AppData\Local\Temp\babel-2652SMW\dot-2652b4h -o test.png 

in a cmd window works fine and generates the png I would expect.

About my configuration, I don't know if there is anything weird in it. For reference I appended the org-mode part of my .emacs at the bottom of this message.

Do you know anybody who has a Windows box that can reproduce/investigate this problem?

Thanks for your quick response.

Regards,

Bas Bossink



----
(require 'org-install)
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
(define-key global-map "\C-cl" 'org-store-link)
(define-key global-map "\C-ca" 'org-agenda)
(global-set-key (kbd "<f3>") 'org-clock-in)
(global-set-key (kbd "S-<f3>") 'org-clock-out)
(global-set-key (kbd "C-c r") 'remember)    ;; (1)
(add-hook 'remember-mode-hook 'org-remember-apply-template) ;; (2)
(setq org-remember-templates
      '((?n "* %U %?\n\n  %i\n  %a" "~/notes.org")))  ;; (3)
(setq remember-annotation-functions '(org-remember-annotation)) ;; (4)
(setq remember-handler-functions '(org-remember-handler)) ;; (5)
(setq org-log-done t)
(setq org-habit-show-habits-only-for-today t)
(setq org-export-html-inline-images t)
(setq org-ditaa-jar-path "~/programs/dita/ditaa0_9.jar")
(add-hook 'org-babel-after-execute-hook 'org-display-inline-images 'append)

(org-babel-do-load-languages
 (quote org-babel-load-languages)
 (quote ((emacs-lisp . t)
         (dot . t)
         (ditaa . t)
         (R . t)
         (python . t)
         (ruby . t)
         (gnuplot . t)
         (clojure . t)
         (sh . t)
         (ledger . t)
         (org . t)
         (plantuml . t)
         (latex . t))))
---



On Fri, Sep 2, 2011 at 5:19 PM, Eric Schulte <address@hidden> wrote:
Hi Bas,

Unfortunately I don't have access to a windows machine to reproduce this
problem.

Does the temporary file name mentioned in your error report exist, and
does it look to be a valid file name?  Org-mode uses built-in Emacs
functions for creating temporary files, and these functions are supposed
to work across Windows/*nix systems, so I'm not sure what the problem
could be.

Are you using the latest version of Org-mode, and do you have anything
weird in your configuration which could cause this problem?

Sorry I can't be of more help, maybe another windows user on the list
can check that dot works for them.

Best -- Eric

Bas Bossink <address@hidden> writes:

> Hi all,
>
> I'm trying to use org-babel-dot on windows but when I try to generate an
> image with C-c C-c the following errors apear:
>
> Error: dot: can't open
> c\:/Users/bas/AppData/Local/Temp/babel-8036JGY/dot-8036HHn
> Error: dot: can't open Dropbox/backward.png
>
> It seems that the file path is not handled correctly. Have there been any
> error reports about this? Or can this be solved be changing my configuration
> somehow.
>
> - System : Windows 7 64 bit
> - dot executable is in the $PATH
> - org-mode version git commit cae9f947beb5f529569a7eb33b460e670fb8ff97 (this
> behavior also exists in 7.7)
> - Emacs 23.2.1
>
> Any light on this issue would be greatly apreciated.
>
> Regards,
>
> Bas Bossink

--
Eric Schulte
http://cs.unm.edu/~eschulte/


reply via email to

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