Bug 635400 - [abrt] pulseaudio-equalizer-2.7-1.fc13: pulseaudio-equalizer.py:62:GetSettings:ValueError: invalid literal for int() with base 10: ''
Summary: [abrt] pulseaudio-equalizer-2.7-1.fc13: pulseaudio-equalizer.py:62:GetSetting...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pulseaudio-equalizer
Version: 13
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Hicham HAOUARI
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:5f5a3362
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-19 12:48 UTC by Nicolas GIF
Modified: 2010-09-30 10:31 UTC (History)
1 user (show)

Fixed In Version: pulseaudio-equalizer-2.7-3.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-30 06:09:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (647 bytes, text/plain)
2010-09-19 12:48 UTC, Nicolas GIF
no flags Details

Description Nicolas GIF 2010-09-19 12:48:49 UTC
abrt version: 1.1.13
architecture: x86_64
cmdline: python /usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py
component: pulseaudio-equalizer
executable: /usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py
kernel: 2.6.34.6-54.fc13.x86_64
package: pulseaudio-equalizer-2.7-1.fc13
reason: pulseaudio-equalizer.py:62:GetSettings:ValueError: invalid literal for int() with base 10: ''
release: Fedora release 13 (Goddard)
time: 1284900480
uid: 500

backtrace
-----
pulseaudio-equalizer.py:62:GetSettings:ValueError: invalid literal for int() with base 10: ''

Traceback (most recent call last):
  File "/usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py", line 519, in <module>
    Equalizer()
  File "/usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py", line 354, in __init__
    GetSettings()
  File "/usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py", line 62, in GetSettings
    persistence = int(rawdata[6])
ValueError: invalid literal for int() with base 10: ''

Local variables in innermost frame:
f: <closed file '/home/nicolas/.pulse/equalizerrc.availablepresets', mode 'r' at 0xe5ca48>

How to reproduce
-----
1. Just lauch Pulseaudio Equalizer. It crashes immediately.

Comment 1 Nicolas GIF 2010-09-19 12:48:52 UTC
Created attachment 448287 [details]
File: backtrace

Comment 2 Hicham HAOUARI 2010-09-19 13:02:05 UTC
please try clearing ~/.pulse directory

Comment 3 Nicolas GIF 2010-09-19 19:45:46 UTC
I already tried.

The files equalizerrc and equalizerrc.availablepresets and the directory presets are automatically created by the application if removed. Then it still crash.

Do you want me to upload these ?

Comment 4 Hicham HAOUARI 2010-09-20 11:28:32 UTC
Yes, please upload these

Comment 5 Nicolas GIF 2010-09-20 18:24:29 UTC
$ cat equalizerrc
mbeq_1197
mbeq
Multiband EQ
1.0

0

-30
30
15
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
50
100
156
220
311
440
622
880
1250
1750
2500
3500
5000
10000
20000

$ cat equalizerrc.availablepresets 
Classical
Club
Dance
Flat
Full Bass
Full Bass & Treble
Full Treble
Headphones
Laptop
Large Hall
Live
Party
Pop
Reggae
Rock
Ska
Soft
Soft Rock
Techno

Comment 6 Hicham HAOUARI 2010-09-20 18:28:38 UTC
That explains the crash, thanks. I will look more into it.

Comment 7 Nicolas GIF 2010-09-20 18:34:31 UTC
I have new elements. I played with "pulseaudio-equalizer" (CLI).

I did:

$ pulseaudio-equalizer enable-config
Current operation: saving configuration (enable-config)
-------------------------------------
Found '/home/nicolas/.pulse/default.pa', making a copy...
Found '/home/nicolas/.pulse/default.pa.noeq'...
Using configuration file '/home/nicolas/.pulse/default.pa.noeq' as source...
Equalizer setting saved (enable-config).
-------------------------------------

Then "pulseaudio-equalize-gtk" don't crash anymore. So I did :

$ pulseaudio-equalizer disable-config
Current operation: saving configuration (disable-config)
-------------------------------------
Found '/home/nicolas/.pulse/default.pa.noeq', moving...
Equalizer setting saved (disable-config).
-------------------------------------

default.pa is well restaured but "pulseaudio-equalize-gtk" keeps working. I noticed that "pulseaudio-equalizer enable-config" changed the file "equalizerrc" :

$ cat equalizerrc
mbeq_1197
mbeq
Multiband EQ
1.0

0
1
-30
30
15
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
50
100
156
220
311
440
622
880
1250
1750
2500
3500
5000
10000
20000

So I deleted this file, then "pulseaudio-equalize-gtk" restard to crash.

I guess that "pulseaudio-equalize-gtk" is not able to create a good default "equalizerrc" file.

Comment 8 Hicham HAOUARI 2010-09-20 18:55:10 UTC
That is just weird, I can't reproduce the behavior you are describing : equalizerrc file is always restored correctly.

Did you install ladspa and ladspa-swh-plugins from fedora repos ?

Comment 9 Hicham HAOUARI 2010-09-20 19:20:01 UTC
I don't a $HOME/.pulse/default.pa by the way.

can you move $HOME/.pulse/default.pa to somewhere else and retry ?

Comment 10 Hicham HAOUARI 2010-09-20 19:22:11 UTC
in the meantime i will try to build a new version which will (hopefully) fix this crash.

Comment 11 Fedora Update System 2010-09-20 19:49:41 UTC
pulseaudio-equalizer-2.7-3.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/pulseaudio-equalizer-2.7-3.fc13

Comment 12 Fedora Update System 2010-09-20 19:50:11 UTC
pulseaudio-equalizer-2.7-3.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/pulseaudio-equalizer-2.7-3.fc14

Comment 13 Fedora Update System 2010-09-20 19:50:16 UTC
pulseaudio-equalizer-2.7-3.fc12 has been submitted as an update for Fedora 12.
https://admin.fedoraproject.org/updates/pulseaudio-equalizer-2.7-3.fc12

Comment 14 Nicolas GIF 2010-09-20 20:52:17 UTC
Yes ladspa and ladspa-swh-plugins are installed.

I tried moving $HOME/.pulse/default.pa elsewhere then pulseaudio-equalize-gtk don't crash anymore, even if I remove the $HOME/.pulse/equalizerrc* files.

I overload /etc/pulse/default.pa by the one in my home to load the module loopback. I wanted to load this module just for me.

I checked that this module was not in cause by replacing my $HOME/.pulse/default.pa in /etc/pulse.

Comment 16 Fedora Update System 2010-09-21 01:28:12 UTC
pulseaudio-equalizer-2.7-3.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update pulseaudio-equalizer'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/pulseaudio-equalizer-2.7-3.fc12

Comment 17 Nicolas GIF 2010-09-21 05:31:30 UTC
(In reply to comment #15)
> please test : 
> 
> http://kojipkgs.fedoraproject.org/packages/pulseaudio-equalizer/2.7/3.fc13/noarch/pulseaudio-equalizer-2.7-3.fc13.noarch.rpm
> 
> and report feedback on :
> 
> https://admin.fedoraproject.org/updates/pulseaudio-equalizer-2.7-3.fc13

It seems OK, I can't reproduce the bug.

Thank you.

Comment 18 Fedora Update System 2010-09-30 06:09:36 UTC
pulseaudio-equalizer-2.7-3.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 19 Fedora Update System 2010-09-30 10:23:01 UTC
pulseaudio-equalizer-2.7-3.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 20 Fedora Update System 2010-09-30 10:31:40 UTC
pulseaudio-equalizer-2.7-3.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


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