Error in line 58 of audio.py: passing float as list index
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport-symptoms (Ubuntu) |
Fix Released
|
High
|
Martin Pitt |
Bug Description
1)
Description: Ubuntu 12.04 LTS
Release: 12.04
2)
apport-symptoms:
Installed: 0.16
Candidate: 0.16
Version table:
*** 0.16 0
500 http://
100 /var/lib/
3)
Trying to report bug with 'ubuntu-bug audio'
4)
Step to reproduce:
'ubuntu-bug audio'
choose '2'
-------
As a workaround I edited line 58 to
return (None, cards[int(nr/2)], nr % 2 == 0, None)
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: apport-symptoms 0.16
ProcVersionSign
Uname: Linux 3.2.0-26-generic x86_64
ApportVersion: 2.0.1-0ubuntu11
Architecture: amd64
Date: Mon Jul 9 16:29:30 2012
Dependencies:
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
PackageArchitec
ProcEnviron:
SHELL=/bin/bash
TERM=xterm
PATH=(custom, user)
LANG=en_US.UTF-8
SourcePackage: apport-symptoms
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | added: quantal |
description: | updated |
I really don't understand which the problem could be.
nr is taken from input as integer, for some reason in some configurations python gets a float and returns a casting error.
I cannot reproduce in my personal pc, so this should be something related to beagleboard or english usb keyboard