Bug 368190 - "Update Stock and Currency Prices" doesn't work when base currency is South Korean Won(KRW)
Summary: "Update Stock and Currency Prices" doesn't work when base currency is South K...
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.8.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-03 13:33 UTC by Yeohwan Yoon
Modified: 2018-10-13 16:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.2


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.