Bug 1773000 - pulseaudio-equalizer-gtk crashes immediately on invocation
Summary: pulseaudio-equalizer-gtk crashes immediately on invocation
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: pulseaudio-equalizer
Version: 31
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Shawn Starr
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-15 19:34 UTC by Donald O'Dona
Modified: 2019-11-17 22:58 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-17 22:58:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Donald O'Dona 2019-11-15 19:34:38 UTC
Description of problem:
pulseaudio-equalizer-gtk crashes immediately on invocation

Version-Release number of selected component (if applicable):
PulseAudio Equalizer/LADSPA Processor 2.7 (05/02/2010)


How reproducible:
invoke it

Steps to Reproduce:
1.invoke
2.crashes
3.

Actual results:
$ pulseaudio-equalizer-gtk 
  File "/usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py", line 42
    print "Getting settings..."
                              ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Getting settings...")?


Expected results:
working

Additional info:

Comment 1 Charles Dennett 2019-11-15 23:52:02 UTC
I got the same error.  I tried adding the parenthesis to line 42 in that file.  Upon rerunning it, I get the following error:

[charlie@redwood ~]$ pulseaudio-equalizer-gtk
  File "/usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py", line 79
    print "Match!"
                 ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Match!")?


That's as far as I went as I figured there are a lot more similar errors.

Comment 2 Charles Dennett 2019-11-16 16:30:57 UTC
Found a workaround.  When Fedora was upgraded to 31, /usr/bin/python changed from being a link to /usr/bin/python2 to a link to /usr/bin/python3.  The pulseaudio equalizer works with python2 but not python3.  /usr/bin/pulseaudio-equalizer-gtk is a very simple script.  All it is is:

-----------------------------------------------------------------
#!/bin/bash

# PulseAudio LADSPA Equalizer - wrapper script
# Author: Conn O'Griofa <connogriofa AT gmail DOT com>
# Version: (see '/usr/pulseaudio-equalizer' script)

python /usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py

-----------------------------------------------------------------

All you need to do force it to use python2 by changing that last line to be:

python2 /usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py


Worked for me.

Comment 3 Donald O'Dona 2019-11-16 18:05:46 UTC
works for me too. Thanks a lot!

Nevertheless the RH people have to find a general solution!


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