Bug 1662551 - python interpreter not found
Summary: python interpreter not found
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: pulseaudio-equalizer
Version: 31
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Shawn Starr
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2018-12-29 19:42 UTC by pkoz
Modified: 2019-11-18 15:34 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:

Attachments (Terms of Use)
pulseaudio-equalizer fixes (28.50 KB, patch)
2019-10-29 18:52 UTC, Zoltan Boszormenyi
no flags Details | Diff
pulseaudio-equalizer-gtk script fix (449 bytes, patch)
2019-10-29 18:54 UTC, Zoltan Boszormenyi
no flags Details | Diff

Description pkoz 2018-12-29 19:42:54 UTC
Description of problem:
pulseaudio-equalizer-gtk does not start.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

Actual results:

Expected results:

Additional info:
Fedora 29 has only python2 and python3, python is missing.
When pulseaudio-equalizer-gtk tries to invoke python, it fails.

Comment 1 Bernie Innocenti 2019-10-21 09:41:55 UTC
This bug is still present in Fedora 31, please change the status to CONFIRMED.

Moreover, if you install python-unversioned-command, pulseaudio-equalizer will try to use python3 even though it's not been ported to python3:

  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...")?

Comment 2 Zoltan Boszormenyi 2019-10-29 18:52:44 UTC
Created attachment 1630312 [details]
pulseaudio-equalizer fixes

The patch fixes:
* inconsistent TAB/space usage
* shebang line to execute python2
* print function call syntax

Comment 3 Zoltan Boszormenyi 2019-10-29 18:54:14 UTC
Created attachment 1630313 [details]
pulseaudio-equalizer-gtk script fix

The patch fixes pulseaudio-equalizer-gtk script.

Comment 4 Zoltan Boszormenyi 2019-10-29 18:58:34 UTC
I used these two patches over https://koji.fedoraproject.org/koji/buildinfo?buildID=1121317 to rebuild on Fedora 31.
The equalizer starts and works.

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