This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Unknown Securities Added - How to remove

Tags: None
(comma "," separated)
ravisghosh
Registered Member
Posts
5
Karma
0
While updating the price of securities, I get the below error. It appears that somehow these unknown securities were added by KMyMoney (e.g., "INR > E000001", "INR > E000002", "INR > E000003"). Certainly, these are dummy securities and no price is available. Hence, I keep getting error while trying to update prices.

However, I am unable to find these invalid securities anywhere in order to delete them. Can someone help me find these securities in KMyMoney?

Price Update Failed - KMyMoney

Failed to retrieve an exchange rate for INR > E000001 from KMyMoney Currency. It will be skipped this time.
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS
Check this topic on the forum. I think it discusses the same problem which has been fixed in the meantime. The bug entry may contain more information on how to resolve the problem.


ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.4 64bit, KF5
ravisghosh
Registered Member
Posts
5
Karma
0
Thank you @ipwizard for the directions. The post talked about deleting the entry from database file which appeared little risky in case it messes up the entire KMM db. The bug entry talked about closing the Security account itself. This is not possible if you have security in the account. However, I found another solution to this problem.

Tools > Update Stock and Currency Prices > Sort by ID >

Find the entries that are causing errors. In the price column of the entry, you would find the name of the security. Note it down.

Go to Tools > Prices > Click "Show all stored prices" > Sort by Source > Scroll down to "KMyMoney Currency"

You'll find many entries of the previously noted down securities with price of 0. Delete these entries. Also, delete the price entries created by "User" even though it might have price > 0.

Tools > Update Stock and Currency Prices > Update All > Voila! No error :)

If it didn't work, go to Prices and sort by "Commodity". Go to the security ou had noted previously and look for the prices from source "KMMoney Currency" or "User". Delete these. Sometimes, sorting by Source doesn't show all entries and you will keep getting the error.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]