Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#53614 - [python2-eyed3] Change python to python2 in /usr/bin/eyed3

Attached to Project: Community Packages
Opened by Daniel (bibabu) - Saturday, 08 April 2017, 11:38 GMT
Last edited by Eli Schwartz (eschwartz) - Wednesday, 07 February 2018, 18:37 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jelle van der Waa (jelly)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The bash script installed to /usr/bin/eyed3 calls:

python -m eyed3.main "$@"

However as arch linux is using python3 as a default this doesn't work.

It should be changed to

python -m eyed3.main "$@"

W/o this change the eyed3 isn't usable when called from other scripts like abcde

To reproduce manually:
$ python (starts python 3)
$ python
Python 3.6.0 (default, Jan 16 2017, 12:12:55)
[GCC 6.3.1 20170109] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import eyed3
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'eyed3'

With python2:
$ python2
Python 2.7.13 (default, Dec 21 2016, 07:16:46)
[GCC 6.2.1 20160830] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import eyed3
(no error occurs)

Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Wednesday, 07 February 2018, 18:37 GMT
Reason for closing:  Fixed
Additional comments about closing:  python2-eyed3 0.8-1 switched upstream to a setuptools entry_points which does not have this problem.
Comment by Daniel (bibabu) - Saturday, 08 April 2017, 11:42 GMT
Sorry, I can't find the edit button, therefore correction via comment

/usr/bin/eyed3 should be changed to:

python2 -m eyed3.main "$@"

The bug occured with the recent update to version: 0.7.11-1

Loading...