Hi everyone,

I recently switched from ledger 3.1.22-20190205 (in Debian oldstable) to
3.2.1-20200518 (in GNU Guix) and I'm encountering the following issue.
At the top of my ledger file are two include directives:

include strict.db
include prices.db

The two included files are in the same directory as the ledger file.
But after upgrading, when I try to reconcile an account using
ledger-reconcile in Emacs' ledger-mode, I get the following errors:

While parsing file "", line 1:
Error: File to include was not found: "strict.db"
While parsing file "", line 2:
Error: File to include was not found: "prices.db"

I'm not sure exactly what the cause of this is, but I did confirm that
the issue does not occur if I switch back to ledger 3.1.2.
It also goes away if I enter full absolute paths for the files, but not
relative paths like "./prices.db".

I also found this issue about include directives:

https://github.com/ledger/ledger/issues/1659

which resulted in this change:

https://github.com/emin63/ledger/commit/9c1a7b1b1dbad11196571b1114ddaf23ae5345ff

Could this be related to the problem? Is it now required to specify
absolute paths in include directives?

Many thanks for your insights?

-- 
Best,
Richard

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/877dbjxwtz.fsf%40aquinas.i-did-not-set--mail-host-address--so-tickle-me.

Reply via email to