Bug 1060302 - [abrt] mate-applets: quotes.py:186:parse_yahoo_csv:IndexError: list index out of range
Summary: [abrt] mate-applets: quotes.py:186:parse_yahoo_csv:IndexError: list index out...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mate-applets
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dan Mashal
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:bda9fee483a7728c0d1eb030c28...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-31 18:16 UTC by Cody Ramaker
Modified: 2014-03-06 17:12 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-03-06 17:12:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (697 bytes, text/plain)
2014-01-31 18:16 UTC, Cody Ramaker
no flags Details
File: environ (894 bytes, text/plain)
2014-01-31 18:16 UTC, Cody Ramaker
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.