Bug 305060

Summary: Online Price Update question and issue
Product: [Applications] kmymoney Reporter: michael papet <mpapet>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED UNMAINTAINED    
Severity: minor CC: onet.cristian
Priority: NOR    
Version: 4.6.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: attachment-18160-0.html

Description michael papet 2012-08-13 03:36:10 UTC
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
Comment 1 michael papet 2012-08-13 03:37:50 UTC
Sorry, I got my script output wrong.

"symbol.lsbrx|bucks.14.70|the_date.08:10:2012"
Comment 2 Cristian Oneț 2014-07-29 10:35:30 UTC
Is this still relevant? There were a couple of discussions regarding online updates on the forum https://forum.kde.org/viewforum.php?f=69
Comment 3 michael papet 2014-07-31 00:32:01 UTC
Created attachment 88043 [details]
attachment-18160-0.html

No.  Go ahead and close it.



On Tuesday, July 29, 2014 3:35 AM, Cristian Oneț <onet.cristian@gmail.com> wrote:
 


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

Cristian Oneț <onet.cristian@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WAITINGFORINFO
                 CC|                            |onet.cristian@gmail.com
             Status|UNCONFIRMED                 |NEEDSINFO

--- Comment #2 from Cristian Oneț <onet.cristian@gmail.com> ---
Is this still relevant? There were a couple of discussions regarding online
updates on the forum https://forum.kde.org/viewforum.php?f=69