[GNC] gnu-fq-check missing

john jralls at ceridwen.us
Tue Mar 14 12:02:05 EDT 2023


Neither the quick fix nor a more involved attempt worked. Boost::process is a bit opaque but what it's telling us is that somewhere it wants codecvt to convert some string from char to wchar_t. I'm having difficulty figuring out where.

Regards,
John Ralls

> On Mar 13, 2023, at 2:58 PM, John Ralls <jralls at ceridwen.us> wrote:
> 
> Urk, looks like a problem with converting a string to wchar_t for Windows, we didn't set up codecvt in gnc-quotes.cpp. I can reproduce it here, trying a quick fix.
> 
> Regards,
> John Ralls
> 
>> On Mar 13, 2023, at 2:12 PM, rolf.hoefner at gmail.com wrote:
>> 
>> wow.. never expected such a quick and personalized answer.. Thx!
>>  I'm using now the unstable release 4.902. 
>> I followed your instructions, but after trying gnucash-cli -Q info, I get the following error:
>> "Failed to initialize Finance::Quote: boost::process codecvt to wchar_t: error"
>> Within Gnucash app, still not able to use it..
>> Thanks again, John!
>> BR,
>> Rolf
>> 
>> On Mon, Mar 13, 2023 at 12:15 PM john <jralls at ceridwen.us> wrote:
>> 
>> 
>>> On Mar 12, 2023, at 5:37 PM, rolf.hoefner at gmail.com wrote:
>>> 
>>> Hi, I've been trying hard to be able to run "Install Online Price
>>> Retrieval", and I almost made it.. but I got this.. and it's right..
>>> there's no gnu-fq-check program in bin.. how can I get it? I think I'm
>>> almost there..
>> 
>> That depends on the version of GnuCash. If it's a 4.90x beta gnc-fq-check, gnc-fq-helper, and gnc-fq-dump have been replaced with finance-quote-wrapper and their function is now in gnucash-cli. We neglected to modify the Install Online Price Retrieval tool to reflect that. The two calls to gnc-fq-check and gnc-fq-helper in install-fq-mods.cmd are final checks to make sure everything succeeded, so you probably are done. You can run c:\Program Files (x86)\gnucash\bin\gnucash-cli -Q info and …\gnucash-cli -Q dump alphavantage AMZN to test it.
>> 
>> OTOH if you're using a production release of GnuCash then gnc-fq-check should be in C:\Program Files (x86)\gnucash\bin and since install-fq-mods.cmd is in that directory too it should have found it.
>> 
>> Regards,
>> John Ralls
>> 
>> 
> 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at 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.



More information about the gnucash-user mailing list