Bug 683499 - [abrt] pulsecaster-0.1.7-2.fc14: ui.py:177:on_record:IndexError: list index out of range
Summary: [abrt] pulsecaster-0.1.7-2.fc14: ui.py:177:on_record:IndexError: list index o...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: pulsecaster
Version: 14
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Paul W. Frields
QA Contact: Fedora Extras Quality Assurance
URL: https://fedorahosted.org/pulsecaster/...
Whiteboard: abrt_hash:82cf2366
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-09 15:14 UTC by Tamas Vincze
Modified: 2011-08-26 20:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-26 20:06:19 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (427 bytes, text/plain)
2011-03-09 15:14 UTC, Tamas Vincze
no flags Details

Description Tamas Vincze 2011-03-09 15:14:45 UTC
abrt version: 1.1.17
architecture: i686
cmdline: /usr/bin/python /usr/bin/pulsecaster
comment: "Your voice" is empty
component: pulsecaster
executable: /usr/bin/pulsecaster
kernel: 2.6.35.11-83.fc14.i686
package: pulsecaster-0.1.7-2.fc14
reason: ui.py:177:on_record:IndexError: list index out of range
release: Fedora release 14 (Laughlin)
time: 1299683412
uid: 500

backtrace
-----
ui.py:177:on_record:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pulsecaster/ui.py", line 177, in on_record
    self.uservoxes[self.user_vox.get_active()][0])
IndexError: list index out of range

Local variables in innermost frame:
self: <pulsecaster.ui.PulseCasterUI instance at 0xb740cf8c>
args: (<gtk.Button object at 0xa0a84b4 (GtkButton at 0xa280910)>,)

How to reproduce
-----
1. in Sound Preferences select the "Analog Stereo Output" profile
2. start playing something
3. hit Record in PulseCaster

Comment 1 Tamas Vincze 2011-03-09 15:14:47 UTC
Created attachment 483237 [details]
File: backtrace

Comment 2 Paul W. Frields 2011-03-10 01:33:58 UTC
Thanks for this report.

I'm betting you have only one audio device available?  If so, then choosing a profile with only outputs and no input means this list will be empty.  That's a case PulseCaster should handle more gracefully.

Comment 3 Tamas Vincze 2011-03-10 16:41:54 UTC
I wanted to record a radio report without adding ambient noise from my mic.
So I changed the audio profile from duplex to "Analog Stereo Output".
Then started PulseCaster.
In it the "Your voice" list is disabled (as expected) and the Subject's voice
shows "Monitor of internal audio analog stereo".
I hit Record and it immediately crashes.
I haven't changed the profile while PulseCaster was running.
I believe it should be easy to reproduce by anyone.
My Fedora 14 is up to date.
It's not a big deal as Sound Recorder worked fine, just thought it may be an
easy fix.

Comment 4 Paul W. Frields 2011-03-11 21:57:52 UTC
It's partly an easy fix, partly... not so much. :-)  See the upstream bug tracker for more info (URL above).

I'd have expected most people to mute the mic, rather than searching out profiles and changing them -- but as I said, this should be handled more gracefully than crashing. :-)


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