Re: Renamed beancount-web to fava

2016-12-24 Thread Oon-Ee Ng
I'm trying to get this working with the dev version of fava, but can't run `make build-js` with this error:- for ( var item of map.entries() ) { ^^ SyntaxError: Unexpected identifier at Module._compile (module.js:439:25) at Object.Module._extensions..js (mo

Re: Gnucash "close books" functionality, remove transactions when import to beancount?

2016-12-24 Thread Oon-Ee Ng
Thanks Martin, that sort of confirms my thoughts on the matter. Most likely because my own background is engineering and computer science rather than accounting, though. Regarding performance, perhaps there can be a convention regarding splitting input files by year. So I'd have one per year, and

Re: Gnucash "close books" functionality, remove transactions when import to beancount?

2016-12-24 Thread Martin Blais
On Sat, Dec 24, 2016 at 4:24 PM, Oon-Ee Ng wrote: > Thanks Martin, that sort of confirms my thoughts on the matter. Most > likely because my own background is engineering and computer science > rather than accounting, though. > > Regarding performance, perhaps there can be a convention regarding

Re: Gnucash "close books" functionality, remove transactions when import to beancount?

2016-12-24 Thread Oon-Ee Ng
Sounds very much like using your 'pad' command on 31st December every year for each account? On Sun, Dec 25, 2016 at 5:33 AM, Martin Blais wrote: > On Sat, Dec 24, 2016 at 4:24 PM, Oon-Ee Ng wrote: >> >> Thanks Martin, that sort of confirms my thoughts on the matter. Most >> likely because my ow

Re: Renamed beancount-web to fava

2016-12-24 Thread Oon-Ee Ng
Got past that error by using advice from https://help.pythonanywhere.com/pages/Node/ (used nvm to update node/npm and added an alias nodejs='node' in .bashrc) Now my webapp fails with this error, though the same beancount file works fine on my own machine. Any ideas? 2016-12-24 21:03:58,195 :[201

Re: Gnucash "close books" functionality, remove transactions when import to beancount?

2016-12-24 Thread Martin Blais
Sort of; it would be generating one big transaction to remove everything from all accounts, and one corresponding big transaction to add everything to all accounts. Ideally, if you used both files, they cancel each other out, and really, they should be removed automatically somehow. On Sat, Dec 2