Wed, 15 Oct 2014 19:16:58 <CAK21+hOJYjx=jnmzrvpzgwok+u+0kfrfyxzjkhrecva_fq7...@mail.gmail.com>
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.

--
Wm...

--

--- 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.

Reply via email to