I figured out the problem with boost::process's codecvt: It doesn't like empty strings and if there's no alphavantage key set we were trying to set the ALPHAVANTAGE_API_KEY environment variable with an empty string. I've fixed that, it will be in 4.904 which I'll proceed to release; if nothing goes wrong that will be later today (well, today if you're in America. I might not make it for Eurpeans and it's already tomorrow in the far east.)
Regards, John Ralls > On Mar 14, 2023, at 9:02 AM, john <jra...@ceridwen.us> wrote: > > 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 <jra...@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.hoef...@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 <jra...@ceridwen.us> wrote: >>> >>> >>>> On Mar 12, 2023, at 5:37 PM, rolf.hoef...@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@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. > > _______________________________________________ > 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. _______________________________________________ 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.