-
-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Hi! Thanks for developing fava-envelope, I've been searching for a solution to envelope budgeting in beancount.
I had trouble downloading fava-envelope from pip, since I'm on a Mac using Homebrew; I downloaded the entire repo as-is and compiled from source using pip install -e . in a virtual environment.
For any other Mac users unable to install, my issue turned out to be outdated bison. The install worked, but threw errors in Fava. Only compiling the latest dev version worked.
Fava is able to recognise and use the envelope budgeting, and the file has been set up appropriately as below:
2000-01-01 custom "fava-extension" "fava_envelope" "{}"
2020-01-01 custom "envelope" "start date" "2026-01"
2020-01-01 custom "envelope" "months ahead" "2"
2020-01-01 custom "envelope" "budget account" "Assets:Checking:Bank"
2020-01-01 custom "envelope" "mapping" "Expenses:Food:*" "Expenses:Food"
2020-01-01 custom "envelope" "mapping" "Expenses:Social:*" "Expenses:Social"
2020-01-01 custom "envelope" "mapping" "Expenses:Family:*" "Expenses:Family"
2026-01-02 custom "envelope" "allocate" "Expenses:Social" 40.00 USD
2026-01-02 custom "envelope" "allocate" "Expenses:Family" 25.00 USD
2026-01-02 custom "envelope" "allocate" "Expenses:Art" 26.00 USD
2026-01-02 custom "envelope" "allocate" "Expenses:Entertainment" 15.00 USD
Running fava results in this error:
Loading /beancount/extension/EnvelopeBudget/ failed with error:
HTTP 500 - invalid dashboard ID: 0, maybe no budgets defined<script type="application/json" id="page-title">"Error"</script><script type="application/json" id="ledger-mtime">1767927731286374485</script>
My operating currency is USD, though I have the occasional transaction in my journal in another currency that isn't declared as operating.
Version information:
- Python: 3.14.2
- bison: 2.3
- Fava: 1.30.9
- Beancount: 3.2.0
- fava-envelope: Latest commit on this repo
Any help on this would be greatly appreciated – thank you!