Bug 368190

Summary: "Update Stock and Currency Prices" doesn't work when base currency is South Korean Won(KRW)
Product: [Applications] kmymoney Reporter: Yeohwan Yoon <yoon0431>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal CC: bilatino, shizuma
Priority: NOR    
Version: 4.8.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 5.0.2

Description Yeohwan Yoon 2016-09-03 13:33:19 UTC
If base currency is not KRW, Update Stock and Currency Prices works fine.
When base currency is KRW, it doesn't work.
Linux Package also doesn't work.

The list shows only 1 line, like this:
>  units in    Yahoo Currency

If I click Update All button, it generates an error:
Failed to retrieve an exchange rate for  >  from Yahoo Currency. It will be skipped this time.

and Status frame shows: 
Fetching URL ...
Malformed URL .
Unable to update price for > (empty quote data)



Reproducible: Always

Steps to Reproduce:
1. Tools > Currencies > Select KRW as base currency.
2. Launch  Update Stock and Currency Prices window in Tools menu.
3. Problem will be reproduced.

Actual Results:  
The list shows nothing and update button generates an error.

Expected Results:  
The list prints price list and get values from source, then update prices.

Using standalone installer in Windows.
Linux package has same bug.
Comment 1 shizuma 2016-11-21 20:46:38 UTC
Exact same issue with the Canadian dollar as default currency.
Comment 2 shizuma 2016-11-22 20:37:12 UTC
Workaround:

I use "yahoo currency" to retrieve the quotes.

Changing the default URL in "configure -> kmymoney -> online quotes -> yahoo currency" from "http://finance.yahoo.com/d/quotes.csv?s=%1%2=X&f=sl1d1" to "http://finance.yahoo.com/d/quotes.csv?s=%1CAD=X&f=sl1d1" fixed the Canadian dollar issue.

I imagine for the south korean won that "http://finance.yahoo.com/d/quotes.csv?s=%1KRW=X&f=sl1d1" would do the trick as well.
Comment 3 Thomas Baumgart 2018-10-13 16:23:19 UTC
That one line showing only a '>' has recently been fixed. Yahoo does not provide the service anymore, so I close this here. If the problem still exists in 5.0 please open a new entry.