[GNC] 5.11 gnucash-cli.exe This app can't run on your PC

Chris Good goodchris96 at gmail.com
Thu May 22 04:51:22 EDT 2025


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!

 

Regards,

Chris Good

 



More information about the gnucash-user mailing list