Improving Python API for Ledger (was: Charts software for ledger?)

2016-04-26 Thread Ben Finney
"Manuel Amador (Rudd-O)" writes: > I would prefer the Python bindings to be better with Ledger. It does > look like Beancount is winning here... and in many other senses. What are the current problems with the Python API? Are they tracked systematically somewhere, such that

Re: Charts software for ledger?

2016-04-26 Thread Manuel Amador (Rudd-O)
On 04/26/2016 02:39 PM, John Wiegley wrote: > > The Python bindings are indeed a weak point within the implementation of > C++Ledger. If anyone wants to take over maintenance of that part of the code, > they would be most welcome. Until then, I don't think that state of affairs > will change

Re: Charts software for ledger?

2016-04-26 Thread Manuel Amador (Rudd-O)
On 04/26/2016 02:42 PM, Martin Blais wrote: > Thanks. I don't want commands running through CSV files. I want an > > interactive tool that has things I can poke at, which will live-update > the graphs, show me legends, and allow me to interact with the graphs. > > > BTW have you seen

Re: Charts software for ledger?

2016-04-26 Thread Martin Blais
On Tue, Apr 26, 2016 at 5:18 AM, Manuel Amador (Rudd-O) wrote: > On 04/22/2016 11:03 AM, Lifepillar wrote: > > > > I don't know whether this might fit what you're looking after, but the > > approach I have been using for a while (and which I am satisfied with) is > > to let

Re: Charts software for ledger?

2016-04-26 Thread John Wiegley
> Manuel Amador (Rudd-O) writes: > And, as you can see from other replies, I'm not the only one who feels badly > about the Python bindings crashing and burning. Who knows how many programs > to support Ledger did /not/ get written because of this quality issue? We > won't

Re: Charts software for ledger?

2016-04-26 Thread Manuel Amador (Rudd-O)
On 04/22/2016 11:03 AM, Lifepillar wrote: > > I don't know whether this might fit what you're looking after, but the > approach I have been using for a while (and which I am satisfied with) is > to let Ledger output the data in tabular format, then feed the output to > some plotting program. With

Re: Charts software for ledger?

2016-04-24 Thread Manuel Amador (Rudd-O)
On 04/22/2016 02:28 PM, Martin Blais wrote: > On Wed, Apr 20, 2016 at 6:55 PM, Manuel Amador (Rudd-O) > > wrote: > > On 04/20/2016 09:00 PM, Craig Earls wrote: > > Since i have never gotten python to work without segfaults i cant answer > >

Re: Charts software for ledger?

2016-04-22 Thread Martin Blais
On Wed, Apr 20, 2016 at 6:55 PM, Manuel Amador (Rudd-O) wrote: > On 04/20/2016 09:00 PM, Craig Earls wrote: > > Since i have never gotten python to work without segfaults i cant answer > > After writing a small app that iterates through Ledger transactions and > plots them, it

Re: Charts software for ledger?

2016-04-22 Thread Jeffrey McBeth
I do something similar with orgmode being the intermediary between ledger and pandas Original message From: Lifepillar <lifepil...@lifepillar.com> Date:04/22/2016 7:03 AM (GMT-05:00) To: ledger-cli@googlegroups.com Subject: Re: Charts software for ledger? On 2016

Re: Charts software for ledger?

2016-04-22 Thread Lifepillar
On 2016-04-20 19:43:44 +, Manuel Amador (Rudd-O) said: Hi! I'm looking for a program that will help me chart my net worth and other such things such as expenses. The few programs I have found have deplorable installation instructions ("run this program, it will download some mystery meat

Re: Python API segmentation faults (was: Charts software for ledger?)

2016-04-20 Thread Metin Akat
This is a bug report that shows how/when/why it crashes: http://bugs.ledger-cli.org/show_bug.cgi?id=1163 The same thing happens (for me) when I access it via Python It only happens with larger files (mine has ~20k transactions). On Thu, Apr 21, 2016 at 3:16 AM, Craig Earls

Re: Python API segmentation faults (was: Charts software for ledger?)

2016-04-20 Thread Craig Earls
I have been using ledger happily for five years now. I just havent put much effort into. On Wednesday, April 20, 2016, Ben Finney wrote: > "Manuel Amador (Rudd-O)" > > writes: > > > On 04/20/2016 09:00 PM, Craig Earls wrote: > > >

Python API segmentation faults (was: Charts software for ledger?)

2016-04-20 Thread Ben Finney
"Manuel Amador (Rudd-O)" writes: > On 04/20/2016 09:00 PM, Craig Earls wrote: > > Since i have never gotten python to work without segfaults i cant > > answer We are talking about the Python API supplied as part of the Ledger distribution? > After writing a small app that

Re: Charts software for ledger?

2016-04-20 Thread Manuel Amador (Rudd-O)
On 04/20/2016 09:00 PM, Craig Earls wrote: > Since i have never gotten python to work without segfaults i cant answer After writing a small app that iterates through Ledger transactions and plots them, it has become exceedingly clear that you were right. Simply going over a query() result causes

Re: Charts software for ledger?

2016-04-20 Thread Manuel Amador (Rudd-O)
On 04/20/2016 09:00 PM, Craig Earls wrote: > Since i have never gotten python to work without segfaults i cant answer My trick is to load a new Journal object after a Query, otherwise it segfaults. -- Rudd-O http://rudd-o.com/ -- --- You received this message because you are

Re: Charts software for ledger?

2016-04-20 Thread Manuel Amador (Rudd-O)
On 04/20/2016 08:47 PM, Martin Blais wrote: > On Wed, Apr 20, 2016 at 3:43 PM, Manuel Amador (Rudd-O) > > wrote: > > > Why isn't there anything like that? > > > You mean like this? >

Re: Charts software for ledger?

2016-04-20 Thread Craig Earls
Since i have never gotten python to work without segfaults i cant answer On Wednesday, April 20, 2016, Manuel Amador (Rudd-O) wrote: > Hi! I'm looking for a program that will help me chart my net worth and > other such things such as expenses. > > The few programs I have

Re: Charts software for ledger?

2016-04-20 Thread Martin Blais
On Wed, Apr 20, 2016 at 3:43 PM, Manuel Amador (Rudd-O) wrote: > Hi! I'm looking for a program that will help me chart my net worth and > other such things such as expenses. > > The few programs I have found have deplorable installation instructions > ("run this program, it

Charts software for ledger?

2016-04-20 Thread Manuel Amador (Rudd-O)
Hi! I'm looking for a program that will help me chart my net worth and other such things such as expenses. The few programs I have found have deplorable installation instructions ("run this program, it will download some mystery meat from the Internets, then put some files here, then create a