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
Opened by Daniel (bibabu) - Saturday, 08 April 2017, 11:38 GMT
Last edited by Eli Schwartz (eschwartz) - Wednesday, 07 February 2018, 18:37 GMT
|
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.
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.
/usr/bin/eyed3 should be changed to:
python2 -m eyed3.main "$@"
The bug occured with the recent update to version: 0.7.11-1