Discussion:
[kmymoney] [Bug 399378] New: Unable to Update Prices
Robert Blackwell
2018-10-04 14:51:15 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=399378

Bug ID: 399378
Summary: Unable to Update Prices
Product: kmymoney
Version: 5.0.1
Platform: MS Windows
OS: MS Windows
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: kmymoney-***@kde.org
Reporter: ***@gmail.com
Target Milestone: ---

SUMMARY

I upgraded KMyMoney 4.8 to Version 5.0.80-b775f19e on a Windows 10 Pro PC this
morning. Prior to the upgrade I uninstalled the previous version. Following the
upgrade I was unable to update funds or currency. My attempt at doing so
results in the following errors;

Fetching URL https://fx-rate.net/CAD/EUR...
The file or folder https://fx-rate.net/CAD/EUR does not exist.
Unable to update price for CAD > EUR (empty quote data)
Fetching URL https://fx-rate.net/CAD/USD...
The file or folder https://fx-rate.net/CAD/USD does not exist.
Unable to update price for CAD > USD (empty quote data)
Fetching URL https://fx-rate.net/CAD/XCD...
The file or folder https://fx-rate.net/CAD/XCD does not exist.
Unable to update price for CAD > XCD (empty quote data)
Fetching URL https://fx-rate.net/EUR/CAD...
The file or folder https://fx-rate.net/EUR/CAD does not exist.
Unable to update price for EUR > CAD (empty quote data)
Fetching URL http://web.tmxmoney.com/funds-ca-quote. ... =TDB2582...
The file or folder http://web.tmxmoney.com/funds-ca-quote. ... ol=TDB2582 does
not exist.
Unable to update price for TDB2582 (empty quote data)
Fetching URL http://web.tmxmoney.com/funds-ca-quote. ... l=TDB331...
The file or folder http://web.tmxmoney.com/funds-ca-quote. ... bol=TDB331 does
not exist.
Unable to update price for TDB331 (empty quote data)
Fetching URL https://fx-rate.net/USD/CAD...
The file or folder https://fx-rate.net/USD/CAD does not exist.
Unable to update price for USD > CAD (empty quote data)
Fetching URL https://fx-rate.net/USD/XCD...
The file or folder https://fx-rate.net/USD/XCD does not exist.
Unable to update price for USD > XCD (empty quote data)
Fetching URL https://fx-rate.net/XCD/CAD...
The file or folder https://fx-rate.net/XCD/CAD does not exist.
Unable to update price for XCD > CAD (empty quote data)

Using either of the URL's identified in the error message
(https://web.tmxmoney.com/funds-ca-quote.php?qm_symbol=TDB2582 or
https://web.tmxmoney.com/funds-ca-quote.php?qm_symbol=TDB331) I'm able to load
the respective page for each fund in a browser. I can also load the currency
exchange page using the respective URL (ie: https://fx-rate.net/USD/CAD). All
values in the price update settings match those from version 4.8; albeit there
are a few new fields in 5.x

I don't understand why these errors are occurring as the same on-line services
used in 4.8 is being used in 5.0. I've no knowledge in this area of KMyMoney
however I'm wondering, based on the error, if KMyMoney finds the correct page
but is unable to write a temp file to Windows. Is this possible? If not, what
could the issue be?

STEPS TO REPRODUCE
1. Launch Update Stock and Currency Prices
2. Select Update all
3.


EXPECTED RESULT

Update of Stock and Currency Prices


SOFTWARE VERSIONS
KDE Frameworks 5.50.0
Qt 5.11.2 (built against 5.11.2)
The windows windowing system

ADDITIONAL INFORMATION

Funds are setup to download data from TMX Money
Currency uses default settings of KMyMoney
--
You are receiving this mail because:
You are watching all bug changes.
Thomas Baumgart
2018-10-05 15:02:01 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=399378

Thomas Baumgart <***@net-bembel.de> changed:

What |Removed |Added
----------------------------------------------------------------------------
Latest Commit| |https://commits.kde.org/kmy
| |money/15c9f3ac39c8719095ee9
| |aaa66097d1bd191380b
Status|REPORTED |RESOLVED
Resolution|--- |FIXED

--- Comment #1 from Thomas Baumgart <***@net-bembel.de> ---
Git commit 15c9f3ac39c8719095ee9aaa66097d1bd191380b by Thomas Baumgart.
Committed on 05/10/2018 at 15:02.
Pushed by tbaumgart into branch '5.0'.

Fix problem with leading slash in filenames under ms-windows

A URL of the form file:///C:/abc.xyz is returned as /C:/abc.xyz when the
path() method is used. This causes the QFile::open() method to fail. The
QUrl::toLocalFile() method does return C:/abc.xyz in this case.
Related: bug 395980

M +2 -3 kmymoney/kmymoney.cpp
M +2 -2
kmymoney/plugins/ofx/import/dialogs/konlinebankingsetupwizard.cpp
M +3 -2 kmymoney/plugins/ofx/import/ofximporter.cpp
M +14 -8 kmymoney/plugins/ofx/import/ofxpartner.cpp
M +1 -1 kmymoney/plugins/xml/xmlstorage.cpp

https://commits.kde.org/kmymoney/15c9f3ac39c8719095ee9aaa66097d1bd191380b
--
You are receiving this mail because:
You are watching all bug changes.
Thomas Baumgart
2018-10-06 12:07:45 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=399378

Thomas Baumgart <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Version Fixed In| |5.0.2
--
You are receiving this mail because:
You are watching all bug changes.
Robert Blackwell
2018-10-07 16:26:46 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=399378

Robert Blackwell <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
Ever confirmed|0 |1

--- Comment #2 from Robert Blackwell <***@gmail.com> ---
Running version 5.0.2-85cc72af; the error still occurs. The output of the
update price window is listed below. It's the same as previously reported.

I noticed a couple of other issues; 1) The "Backup" feature fails to save the
file reporting an "Error copying file to device", and 2) QFX updates D/Led from
my bank fail reporting an error
"C:/Users/rcbla/Downloads/C:/Users/rcbla/Downloads/accountactivity (65).qfx is
either an invalid filename or the file does not exist. You can open another
file or create a new one.". Please note the double entry of the file path in
the file name.

Let me know if the latter errors are not related, I will open bug reports for
them.

Fetching URL https://fx-rate.net/CAD/EUR...
The file or folder https://fx-rate.net/CAD/EUR does not exist.
Unable to update price for CAD > EUR (empty quote data)
Fetching URL https://fx-rate.net/CAD/USD...
The file or folder https://fx-rate.net/CAD/USD does not exist.
Unable to update price for CAD > USD (empty quote data)
Fetching URL https://fx-rate.net/CAD/XCD...
The file or folder https://fx-rate.net/CAD/XCD does not exist.
Unable to update price for CAD > XCD (empty quote data)
Fetching URL https://fx-rate.net/EUR/CAD...
The file or folder https://fx-rate.net/EUR/CAD does not exist.
Unable to update price for EUR > CAD (empty quote data)
Fetching URL http://web.tmxmoney.com/funds-ca-quote.php?qm_symbol=TDB2582...
The file or folder http://web.tmxmoney.com/funds-ca-quote.php?qm_symbol=TDB2582
does not exist.
Unable to update price for TDB2582 (empty quote data)
Fetching URL http://web.tmxmoney.com/funds-ca-quote.php?qm_symbol=TDB331...
The file or folder http://web.tmxmoney.com/funds-ca-quote.php?qm_symbol=TDB331
does not exist.
Unable to update price for TDB331 (empty quote data)
Fetching URL https://fx-rate.net/USD/CAD...
The file or folder https://fx-rate.net/USD/CAD does not exist.
Unable to update price for USD > CAD (empty quote data)
Fetching URL https://fx-rate.net/USD/XCD...
The file or folder https://fx-rate.net/USD/XCD does not exist.
Unable to update price for USD > XCD (empty quote data)
Fetching URL https://fx-rate.net/XCD/CAD...
The file or folder https://fx-rate.net/XCD/CAD does not exist.
Unable to update price for XCD > CAD (empty quote data)
--
You are receiving this mail because:
You are watching all bug changes.
Thomas Baumgart
2018-10-13 14:21:37 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=399378

--- Comment #3 from Thomas Baumgart <***@kde.org> ---
Created attachment 115625
--> https://bugs.kde.org/attachment.cgi?id=115625&action=edit
Price update dialog

This is with KMyMoney Version 5.0.2-eec473d3 on a Windows system. It could be
that I fixed this problem with a recent commit. Can you double-check? This can
be found on the 5.0 branch.
--
You are receiving this mail because:
You are watching all bug changes.
Robert Blackwell
2018-10-13 14:40:22 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=399378

--- Comment #4 from Robert Blackwell <***@gmail.com> ---
I'm unable to find the information provided earlier in regards to links for
these D/L's. Would you mind posting them here so I can D'L the correct file.

Thank you
--
You are receiving this mail because:
You are watching all bug changes.
Robert Blackwell
2018-10-13 17:29:32 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=399378

--- Comment #5 from Robert Blackwell <***@gmail.com> ---
Wait, found the page with the links you identified before
https://kmymoney.org/build.php

This is where I DLed the version I last reported on. Based on your last
comments, this isn't the correct place to download the update from. Please
advise.

Thank you
--
You are receiving this mail because:
You are watching all bug changes.
Robert Blackwell
2018-10-16 13:51:15 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=399378

Robert Blackwell <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |FIXED

--- Comment #6 from Robert Blackwell <***@gmail.com> ---
With the help of Thomas I've narrowed my issue down to the Windows PC upon
which KMyMoney is installed. Installation on another Windows PC showed the
application was working fine. While troubleshooting the PC having issues
running KMyMoney I've re-installed the application, manually cleared entries
from the registry and deleted files from the hard drive. I've been successful
at resolving a couple of issues however Price Update remains a problem. I will
post a solution here if I find one.
--
You are receiving this mail because:
You are watching all bug changes.
Fortsæt læsning på narkive:
Loading...