On Fri, Oct 17, 2014 at 5:14 PM, Wm... <[email protected]> wrote:
> Wed, 15 Oct 2014 19:16:58 <CAK21+hOJYjx=jNMzrvPZGwoK+U+ > [email protected]> > Martin Blais <[email protected]> wrote... > > > On Wed, Oct 15, 2014 at 12:15 PM, Gour <[email protected]> wrote: >> On Wed, 15 Oct 2014 11:26:15 -0400 >> Martin Blais <[email protected]> wrote: >> >> > If you want to help expedite this, you can create a GNUcash ledger >> > that has at least one of every kind of transaction (especially >> with >> > units held at cost, investments, etc.) that you use and share it >> with >> > the list, either I or someone will surely pick it up and make a >> > little conversion script that you can then try it on your real >> > GNUcash ledger (note that this will take iterations, we might not >> get >> > it right the first time and without access to your own file it >> would >> > take cooperation and debug support to iron out all the issues that >> > come up converting your file). >> >> I do not use all these stuff, but have you seen: >> >> https://github.com/MatzeB/pygnucash which converts from Gnucash's >> SQLite3 db? >> >> Considering your recent SQL-related work, it might be easier than to >> convert from XML? >> >> 6 and a half-dozen of the other, same to me. >> This looks like there's much of the information needed to do this. >> But no tests. >> >> You could adapt this to spit out a Beancount file if you needed to, >> with relatively minor changes. >> > > I did that just the other day. Not the prettiest code / conversion but > the balance sheets agree afterwards not counting cosmetic presentational > differences. That's great. Can you fork the project and submit your Beancount converter somewhere? Also, if you can identify the distinct of transactions you're using that would also help me create a unit test. Thanks, -- --- 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]. For more options, visit https://groups.google.com/d/optout.
