[求助]关于ledger-mode “error: cannot read journal file ”?


#1

windows 10 1803 x86_64

emacs 26.1 x86_64

spacemacs develop 20180612

开启了finance layer

(add-to-list 'org-babel-load-languages '(ledger . t))

在一个org文件中测试如下 :

#+begin_src ledger :cmdline bal :results value
  2010/01/01 * Starting balance
      assets:bank:savings £1300.00
      income:starting balances
  2010/07/22 * Got paid
      assets:bank:chequing £1000.00
      income:salary
  2010/07/23 Rent
      expenses:rent £500.00
      assets:bank:chequing
#+end_src

运行 C-c C-c

关于运行的信息:

Evaluate this ledger code block on your system? (y or n) y
executing Ledger code block...
executing Ledger source code block
ledger -f "c:/Users/Home/AppData/Local/Temp/babel-omDjWw/ledger-elMNpw" bal
Error: Cannot read journal file "/cygdrive/c/Users/Home/c:/Users/Home/AppData/Local/Temp/babel-omDjWw/ledger-elMNpw"
Code block evaluation complete.

看起来像是路径不对了。


#2

貌似解决