Re: [GNC] Fail to build gnucash on MINGW32, gwenhywfar compile error

2024-08-12 Thread Hai Liang Wang
Still no luck, I believe this is related with gcc on MINGW i686 arch. Some mistery about `__attribute__((stdcall))` - https://github.com/msys2/MINGW-packages/issues/6481 Hope more help, thanks. Cheers. Hai Liang W. On Mon, Aug 12, 2024 at 2:27 PM Hai Liang Wang wrote: > > The compiler fails,

Re: [GNC] Get Quotes hung

2024-08-12 Thread Fred Tydeman
The currency problem was my fault. In moving to a newer Linux and Gnucash, I forgot to set the Alphavantage key. That part is working OK now. On Sun, Aug 11, 2024 at 7:47 AM Fred Tydeman wrote: > Fedora Linux 40 > Gnucash 5.8 > > Trying this on another file/book that has no stocks, but does have

Re: [GNC] Move working files

2024-08-12 Thread R Losey
On Sun, Aug 11, 2024 at 7:59 AM Michael or Penny Novack < stepbystepf...@comcast.net> wrote: > On 8/10/2024 10:15 PM, R Losey wrote: > > > > > You misunderstood. I don't want a script to move the working files - I > > was wondering if there were some setting that would put the working > > files (t

Re: [GNC] Fail to build gnucash on MINGW32, gwenhywfar compile error

2024-08-12 Thread John Ralls
The 5.10.2 build problem is the same root cause and is fixed with https://github.com/Gnucash/gnucash-on-windows/blob/master/patches/gwenhywfar-bug-274.patch. That patch is applied in 5.11.2beta but the AQBanking developer made the same mistake when he created the argivve backend plugin, requirin

[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

Re: [GNC] Get Quotes hung

2024-08-12 Thread Fred Tydeman
After reading the wiki, I have tried: gnucash-cli --log gnc.price-quotes=debug --quotes get tybor.gnucash It finished after 6.5 hours! Why so long now? As before, it took about 5 minutes. With this book, it did not crash (the crash I got before was with another book). It did find 5 securities wi

Re: [GNC] Fail to build gnucash on MINGW32, gwenhywfar compile error

2024-08-12 Thread Hai Liang Wang
I have switched to i686 mingw and gwenhywfar 5.11.2beta. Just checked gwenhywfar 5.11.2beta codes, the codes are updated with gwenhywfar-bug-274.patch . I still can not find the sourcecode file with the sec

Re: [GNC] Fail to build gnucash on MINGW32, gwenhywfar compile error

2024-08-12 Thread Hai Liang Wang
I get a workaround, to cast the argument 2 as below. Not sure the future impact, now it is compiled successfully. */c/gcdev64/gnucash/stable/src/gwenhywfar-5.11.2beta* *# git diff* *diff --git a/tools/gcttool/main.c b/tools/gcttool/main.c* *index 970f3f9..ec21ecd 100644* *--- a/tools/gcttool/main.

[GNC] fail to build libchipcard on MINGW32, build for windows installer

2024-08-12 Thread Hai Liang Wang
hi, Folks Come to a problem with run `TARGET=gnucash-stable jhbuild -f jhbuildrc build ` on MINGW32 environment. The error trace is below. *checking if gwenhywfar test desired... yes* *checking for Gwenhywfar version >=4.99.8.0... found 5.11.2.0* *checking whether local installation mode is wante