Re: bean-bake fails (urllib or bottle error?)

2017-08-19 Thread Martin Blais
On Sun, Aug 20, 2017 at 1:37 AM, Ken Mankoff wrote: > An MWE: > > 2007-01-01 open Assets:Cash:DKKDKK > 2007-01-01 open Expenses:Food:Restaurants DKK,USD > 2017-08-10 pad Assets:Cash:DKK Expenses:Food:Restaurants > 2017-08-11 balance Assets:Cash:DKK

Re: bean-bake fails (urllib or bottle error?)

2017-08-19 Thread Ken Mankoff
An MWE: 2007-01-01 open Assets:Cash:DKKDKK 2007-01-01 open Expenses:Food:Restaurants DKK,USD 2017-08-10 pad Assets:Cash:DKK Expenses:Food:Restaurants 2017-08-11 balance Assets:Cash:DKK1130 DKK Seems to be the "DKK,USD". I know you advise to keep each account as its

Re: bean-bake fails (urllib or bottle error?)

2017-08-19 Thread Ken Mankoff
On 2017-08-19 at 21:54, Martin Blais wrote: > It looks like you're hitting a TypeError on sorting. This should not > happen. (I suspect something to do with renaming your 5 account types, > yet this should never happen.) After bisecting the file I discovered that this is

Re: bean-bake fails (urllib or bottle error?)

2017-08-19 Thread Martin Blais
On Sat, Aug 19, 2017 at 6:12 AM, wrote: > I'm trying to bake some beans and getting the following error. Can anyone > help diagnose this? > > $bean-bake ./beancount.org foo > 127.0.0.1 - - [19/Aug/2017 12:10:53] "GET /context/ > 019bb9def5e08b60b60649539dbcc03e HTTP/1.1" 200

Re: can one reduce FIFO lots purchased in one currency and sold in another?

2017-08-19 Thread Martin Blais
On Sat, Aug 19, 2017 at 7:54 AM, wrote: > One clarification: over lunch I was thinking about this, and realized that > beancount does FIFO booking reductions correctly for securities like stocks > under the usually valid assumption a security is sold/ reduced in the same >

bean-bake fails (urllib or bottle error?)

2017-08-19 Thread mankoff
I'm trying to bake some beans and getting the following error. Can anyone help diagnose this? $bean-bake ./beancount.org foo 127.0.0.1 - - [19/Aug/2017 12:10:53] "GET /context/019bb9def5e08b60b60649539dbcc03e HTTP/1.1" 200 2923 127.0.0.1 - - [19/Aug/2017 12:10:53] "GET

Re: can one reduce FIFO lots purchased in one currency and sold in another?

2017-08-19 Thread jkepler
Thanks for your response. >> 2. If I explicitly put "USD" in all my empty {}, how does will FIFO >> booking option handle the occasional cases where I've purchased bitcoin >> with euros? >> > > I don't understand the question. If you try to reduce and provide USD in > the description, it