> On May 22, 2025, at 01:51, Chris Good <goodchri...@gmail.com> wrote: > > Hi All, > > > > FYI > > > > Windows 11 Home 24H2 OS build 26100.4061 > > GnuCash 5.9 > > > > I had a problem with GnuCash 5.9 (Finance::Quote 1.57) hanging a few days > ago getting market prices from source asx. > > I think the ASX now must have been down that Sunday. > > I was trying to use gnucash-cli.exe to test the next day and it kept on > failing > > e.g. > > In a command prompt with current directory C:\Program Files > (x86)\gnucash\bin> > > gnucash-cli.exe -V --quotes dump asx CBA > > CBA Finance::Quote returned no data and set no error. > > > > However GnuCash WAS able to get quotes (Monday). > > Also > > C:\Strawberry\cpan\build\Finance-Quote-1.57-0\Examples\stockdump.pl asx CBA > > worked, so the problem seemed to be gnucash-cli.exe. > > > > I updated to GnuCash 5.11, > > and the first time I ran the above gnucash-cli.exe command, it worked (so I > assume there must have been a problem with GnuCash-cli.exe 5.9. > > However the next time, it got a dialog box saying > > This app can't run on your PC > > To find a version for your PC, check with the software publisher. > > and cmd window shows: Access is denied. > > File Explorer now shows gnucash-cli.exe size = 0. > > > > I reinstalled GnuCash 5.11 and set the properties for gnucash-cli.exe to run > in Windows 8 Compatibility mode. > > I.e. > > In File Explorer, navigate to C:\ Program Files (x86)\gnucash\bin > > Right click on gnucash-cli.exe, Properties, Compatibility tab, select > "Windows 8" > > under "Run this program in compatability mode for:") > > > > And it now seems to be working fine multiple times. > > > > Can a developer please advise if I should raise a bug? > > This error does not seem to affect gnucash.exe itself. > > > > Thank very much all who contribute to GnuCash!
Chris, Something happened that caused gnucash-cli.exe’s directory entry to get pointed at an empty node. I can’t think of a way for GnuCash to do that to itself. Windows 8 compatibility mode is unlikely to affect GnuCash: It’s for programs built for earlier than Win8 (ie. XP, Vista, and Win7) to run on Win8. GnuCash is presently built on Win10 and has almost no calls directly to Windows API; those are done through intermediate frameworks like Gtk and MinGW64, both of which are actively maintained to current Windows standards. Most of the incompatibilities that compatibility mode shims out have to do with graphics and that’s obviously not relevant to gnucash-cli. Regards, John Ralls _______________________________________________ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.