Bug 1060302

Summary: [abrt] mate-applets: quotes.py:186:parse_yahoo_csv:IndexError: list index out of range
Product: [Fedora] Fedora Reporter: Cody Ramaker <cramaker.bz>
Component: mate-appletsAssignee: Dan Mashal <dan.mashal>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: dan.mashal, raveit65.sun, rdieter, stefano
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/362e1dfab9279e294c4d3c0159cc47c35dfb80f8
Whiteboard: abrt_hash:bda9fee483a7728c0d1eb030c28451263f34a956
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-06 17:12:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Cody Ramaker 2014-01-31 18:16:42 UTC
Version-Release number of selected component:
mate-applets-1.6.2-1.fc20

Additional info:
reporter:       libreport-2.1.11
cmdline:        python /usr/libexec/mate-applets/invest-applet
executable:     /usr/libexec/mate-applets/invest-applet
kernel:         3.12.8-300.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
quotes.py:186:parse_yahoo_csv:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/mate_invest/quotes.py", line 142, in on_retriever_completed
    self.populate(self.parse_yahoo_csv(csv.reader(retriever.data)))
  File "/usr/lib/python2.7/site-packages/mate_invest/quotes.py", line 186, in parse_yahoo_csv
    result[fields[0]][field] = fields[i]
IndexError: list index out of range

Local variables in innermost frame:
csvreader: <_csv.reader object at 0x7f4b5c03b4b0>
i: 1
fields: ['<HTML>']
self: <QuoteUpdater object at 0x193e460 (mate_invest+quotes+QuoteUpdater at 0x1a46d20)>
field: 'label'
result: {'<HTML>': {'ticker': '<HTML>'}}

Comment 1 Cody Ramaker 2014-01-31 18:16:45 UTC
Created attachment 857944 [details]
File: backtrace

Comment 2 Cody Ramaker 2014-01-31 18:16:47 UTC
Created attachment 857945 [details]
File: environ

Comment 3 Wolfgang Ulbrich 2014-02-23 22:14:33 UTC
Can you describe a little more detailed what happend?
Did this issue occurs frequently ?

Comment 4 Dan Mashal 2014-02-27 19:09:00 UTC
This is from invest applet.. I added the applet with a stock to see if I can reproduce. Maybe this happens when there is an issue connecting to yahoo.

Comment 5 Dan Mashal 2014-02-28 20:14:21 UTC
From the last 24 hours I cannot reproduce any issues. Can you please provide any further details? Otherwise we'll close this bug until someone reopens it with further information.