Bug 892865

Summary: [abrt] pulseaudio-equalizer-2.7-10.fc18: pulseaudio-equalizer.py:46:GetSettings:IOError: [Errno 2] No such file or directory: '/home/sirdeiu/.pulse/equalizerrc'
Product: [Fedora] Fedora Reporter: Andrei Amuraritei <sirdeiu>
Component: pulseaudio-equalizerAssignee: Jaromír Cápík <jcapik>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: urgent    
Version: 20CC: aaron, aguzmansimon, alexander.janssen, beland, corcodel.marian, cristian.ciupitu, danofsatx, dgunchev, gedweb, gustavokrm, hicham.haouari, ilya.gradina, kvolny, lvrabec, ovasik, rdieter, vrutkovs
Target Milestone: ---Keywords: Patch, Triaged
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:243b4572af15981d338e94c873586a57a424ebfc
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-30 15:31:10 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: core_backtrace
none
File: environ
none
Thi patch closes the bug
none
new package
none
last modification
none
Patch to fix paths none

Description Andrei Amuraritei 2013-01-08 05:11:44 UTC
Description of problem:
After the move of ~/pulse to ~/.config/pulse, while trying to start pulseaudio-equalizer-gtk I get the following:                                                                                 
IOError: [Errno 2] No such file or directory: '/home/sirdeiu/.pulse/equalizerrc'


Version-Release number of selected component:
pulseaudio-equalizer-2.7-10.fc18

Additional info:
cmdline:        python /usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py
executable:     /usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py
kernel:         3.6.10-4.fc18.x86_64
uid:            1000

Truncated backtrace:
pulseaudio-equalizer.py:46:GetSettings:IOError: [Errno 2] No such file or directory: '/home/sirdeiu/.pulse/equalizerrc'

Traceback (most recent call last):
  File "/usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py", line 535, in <module>
    Equalizer()
  File "/usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py", line 357, in __init__
    GetSettings()
  File "/usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py", line 46, in GetSettings
    f = open(eqconfig, "r")
IOError: [Errno 2] No such file or directory: '/home/sirdeiu/.pulse/equalizerrc'

Local variables in innermost frame:

Comment 1 Andrei Amuraritei 2013-01-08 05:11:47 UTC
Created attachment 674499 [details]
File: backtrace

Comment 2 Andrei Amuraritei 2013-01-08 05:11:50 UTC
Created attachment 674500 [details]
File: core_backtrace

Comment 3 Andrei Amuraritei 2013-01-08 05:11:56 UTC
Created attachment 674501 [details]
File: environ

Comment 4 Marian 2013-06-08 15:00:25 UTC
mkdir .pulse on home directory.

Comment 5 Marian 2013-06-09 17:49:45 UTC
Created attachment 758879 [details]
Thi patch closes the bug

Comment 6 Marian 2013-06-09 18:31:50 UTC
Created attachment 758895 [details]
new package

Comment 7 Marian 2013-06-09 18:51:46 UTC
Created attachment 758899 [details]
last modification

Comment 8 Doncho Gunchev 2013-12-11 03:00:39 UTC
Same on Fedora 20

Comment 9 Doncho Gunchev 2013-12-11 21:57:39 UTC
Making the directory (mkdir ~/.pulse) and touch-ing the file (touch ~/.pulse/equalizerrc) "fixes" the problem.

Comment 10 Gustavo Rodrigues 2014-01-19 00:53:49 UTC
I am having a problem with the latest version: it won't work at all. I applied the patches.
output:

Getting settings...
/usr/bin/pulseaudio-equalizer: line 68: [: 0: esperado operador unário
/usr/bin/pulseaudio-equalizer: line 78: 10+: syntax error: operand expected (error token is "+")
(standard_in) 1: syntax error
Traceback (most recent call last):
  File "/usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py", line 535, in <module>
    Equalizer()
  File "/usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py", line 357, in __init__
    GetSettings()
  File "/usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py", line 64, in GetSettings
    num_ladspa_controls = int(rawdata[9])
ValueError: invalid literal for int() with base 10: ''

Comment 11 Andrey 2014-01-28 06:44:12 UTC
Creating ~/.pulse/equalizerrc partially resolve problem. Application can start.
But, after accepting equalizer settings - volume reset by zero

Comment 12 Gustavo Rodrigues 2014-01-28 15:22:00 UTC
Well, I created all the folders and even copied the presets to my .pulse folder. Still, I get an error and the application won't start. It's the same output as my last post.. =/
Maybe I should open another bug for this...

Comment 13 Marian 2014-02-07 11:25:13 UTC
(In reply to Andrey from comment #11)
> Creating ~/.pulse/equalizerrc partially resolve problem. Application can
> start.
> But, after accepting equalizer settings - volume reset by zero

This is another bug.

Comment 14 Vadim Rutkovsky 2014-03-28 11:14:08 UTC
*** Bug 1081971 has been marked as a duplicate of this bug. ***

Comment 15 Dan Mossor [danofsatx] 2014-05-18 03:25:40 UTC
Created attachment 896737 [details]
Patch to fix paths

This bug is shamefully still present in F20 in pulseaudio-equalizer-2.7-12.fc20.noarch. The attached patch file needs to be pulled into the pulseaudio-equalizer package ASAP. The application is unusable by users in it's current state and will turn off many casual users.

Comment 16 Cristian Ciupitu 2014-05-19 18:50:37 UTC
pulseaudio-equalizer-2.7-12.fc20.noarch doesn't start at all

Comment 17 Fedora Admin XMLRPC Client 2014-07-08 11:23:30 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 18 Fedora Admin XMLRPC Client 2014-08-14 11:41:39 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 19 Christopher Beland 2014-11-05 16:06:40 UTC
Bug 1107589 also has a patch attached.

Comment 20 Christopher Beland 2014-11-05 16:07:19 UTC
*** Bug 1107589 has been marked as a duplicate of this bug. ***

Comment 21 Lukas Vrabec 2014-11-10 13:24:13 UTC
Same issue here.

Comment 22 Alexander W. Janssen 2014-12-25 14:07:06 UTC
Also exists in FC21. Could someone commit the patch, please?

Affects pulseaudio-equalizer-2.7-13.fc21.noarch

Alex.

Comment 23 Jaromír Cápík 2015-01-30 15:31:10 UTC

*** This bug has been marked as a duplicate of bug 1185103 ***