[Kmymoney-devel] [Bug 305060] New: Online Price Update question and issue

michael papet mpapet at yahoo.com
Mon Aug 13 03:36:10 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=305060

            Bug ID: 305060
          Severity: minor
           Version: 4.6.2
          Priority: NOR
          Assignee: kmymoney-devel at kde.org
           Summary: Online Price Update question and issue
    Classification: Unclassified
                OS: Linux
          Reporter: mpapet at yahoo.com
          Hardware: Other
            Status: UNCONFIRMED
         Component: general
           Product: kmymoney4

The issue is, the yahoo.com online price updater doesn't seem to work anymore. 
It returns an "Fetching URL
http://finance.yahoo.com/d/quotes.csv?s=lsbrx&f=sl1d1...
Timeout on server 82.148.74.154: Socket operation timed out
Unable to update price for lsbrx (empty quote data)"

Checking Yahoo, it appears as though they've changed their site.

So, I wrote a script using the documentation here:
http://kmymoney2.sourceforge.net/online-manual/details.investments.prices.html
I tried to grab the price from yahoo, but I can't get it to work.  The script
returns the following output using symbol example lsbrx, with no quotes.
"|symbol.lsbrx|bucks.14.70|the_date.08:10:2012"

In the "Online Quotes" dialog box, I have the following:
URL: /usr/local/bin/kmymoney-grabber.pl
SYMBOL: ^symbol.([a-z][a-z][a-z][a-z][a-z])\b
PRICE: |bucks.(\d+.\d\d)\b
DATE: |the_date.(\d\d:\d+:201\d)
DATE FORMAT: %m:%d:%y

Finally, an attempt to use URL:  /usr/local/bin/kmymoney-grabber.pl $1 fails
too. 
Any advice on how to fix the regex so it picks the values up?

Reproducible: Always

Steps to Reproduce:
1. change online update source
2.
3.
Actual Results:  
Errors out

Expected Results:  
stock is updated

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list