Re: [GNC] Database backend for gnucash?

2024-10-12 Thread Gere Kiss Zsolt
t; options. > > One could also claim that it is "discrimination" that the Stock Quote > feature works on Linux, but needs additional items on Mac and Windows to > work (specifically, Perl distributions). > > > On Thu, Oct 10, 2024 at 1:52 PM Gere Kiss Zsolt > wro

Re: [GNC] Database backend for gnucash?

2024-10-10 Thread Gere Kiss Zsolt
Dear all, Thank you for your assistance. I have identified the key issue: it is related to the platform package. On Linux, GnuCash is preinstalled on the major distributions. However, the packages provide a binary that supports only the XML file format. As a result, when saving, there is only one

[GNC] Database backend for gnucash?

2024-10-09 Thread Gere Kiss Zsolt
Hi all, I've been using Gnucash for some good years now and noticed that it saves its data in .gnucash files, which are gzip compressed XML data. Recently, wanted to automate some tasks I see that many apps have been written to leverage Gnucash, by using its database back-ends! (for example [Gnuca

[GNC] Python bindings issue

2024-08-16 Thread Gere Kiss Zsolt
Hi Nate, I reported a bug to Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gnucash/+bug/2077184 -- Best regards, Zsolt --- „We have two lives, and the second begins when we realize we only hav

[GNC] (no subject)

2024-08-15 Thread Gere Kiss Zsolt
> > Is that the full list or did you truncate the *.py files? Not the full list. That is: $ ls -l /usr/lib/python3/dist-packages/gnucash total 1532 -rw-r--r-- 1 root root 581 aug1 2021 app_utils.py -rw-r--r-- 1 root root4271 aug1 2021 deprecation.py -rw-r--r-- 1 root root 160

[GNC] Python bindings issue

2024-08-15 Thread Gere Kiss Zsolt
Hi Jim, > The obvious next question: when you installed the `python3-gnucash` > package on your system, where exactly did it install its .py files? On /usr/lib/python3/dist-packages: /usr/lib/python3/dist-packages/gnucash /usr/lib/python3/dist-packages/gnucash/__init__.py /usr/lib/python3/dist-

Re: [GNC] Python bindings issue

2024-08-14 Thread Gere Kiss Zsolt
d with the host). Cool stuff! I also succeeded in doing transactions with Python. So thank you for all your help. I am happy now :) Cheers, Zsolt On Wed, 14 Aug 2024 at 02:16, Jim DeLaHunt wrote: > > On 2024-08-13 15:14, Gere Kiss Zsolt wrote: > > Hi Jim, > > and thanks f

Re: [GNC] Python bindings issue

2024-08-14 Thread Gere Kiss Zsolt
that the bindings work with Python 3.11.2 (I have 3.10). This solved my issue. I'll follow up with another email explaining that. Cheers, Zsolt On Wed, 14 Aug 2024 at 02:12, Nate Bargmann wrote: > * On 2024 13 Aug 12:29 -0500, Gere Kiss Zsolt wrote: > > Python 3.10.1

Re: [GNC] Python bindings issue

2024-08-13 Thread Gere Kiss Zsolt
atible between gnucash and python3-gnucash? Can you do `import gnucash` from a Python REPL? Thanks, Zsolt On Tue, 13 Aug 2024 at 22:05, Jim DeLaHunt wrote: > Hello, Zsolt: > > On 2024-08-13 10:26, Gere Kiss Zsolt wrote: > > Hi all, > > > > I've been usi

[GNC] Python bindings issue

2024-08-13 Thread Gere Kiss Zsolt
Hi all, I've been using GnuCash for several years now and I'd like to try some Python bindings to enter transactions programmatically. I've browsed all the documentation I've seen on the topic. Unfortunately all my attempts fail with an ERROR g_variant_unref: assertion 'value != NULL' failed whe

[GNC] Python bindings ERROR g_variant_unref: assertion 'value != NULL' failed

2024-08-12 Thread Gere Kiss Zsolt
Hi all, I've been using GnuCash for several years now and I'd like to try some Python bindings to enter transactions programmatically. I've browsed all the documentation I've seen on the topic. Unfortunately all my attempts stop with an ERROR g_variant_unref: assertion 'value != NULL' failed whe