Bug 29474

Summary: youtube-dl-gui for Python3. NEW PKG REQUEST. Final rpm for youtube-dl-gui fail for version 1.7.1
Product: Mageia Reporter: katnatek <j.alberto.vc>
Component: New RPM package requestAssignee: David GEIGER <geiger.david68210>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal Keywords: UPSTREAM
Version: 8   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: https://github.com/oleksis/youtube-dl-gui/issues/50
Whiteboard:
Source RPM: CVE:
Status comment:
Attachments: spec file used to build the application

Description katnatek 2021-09-18 21:39:55 CEST
Description of problem:

I make a rpm for the python3 fork (https://github.com/oleksis/youtube-dl-gui) the previous 1.7.0 version works well but for the 1.7.1 version, once installed the rpm the application fail to start with

yt-dlg 
Traceback (most recent call last):
  File "/usr/bin/yt-dlg", line 33, in <module>
    sys.exit(load_entry_point('yt-dlg==1.7.1', 'console_scripts', 'yt-dlg')())
  File "/usr/bin/yt-dlg", line 25, in importlib_load_entry_point
    return next(matches).load()
StopIteration

But if you build on system and uncomment the test in the spec file the application start.
Comment 1 katnatek 2021-09-18 21:51:18 CEST
Created attachment 12928 [details]
spec file used to build the application

Except for the changes of upstream (including a desktop file that previously have to  create) is the same used for 1.7.0 version

This https://ftp.blogdrake.net/RPMS/yt-dlg-1.7.1-1bdk_mga8.src.rpm is my src.rpm
Comment 2 katnatek 2021-09-18 21:52:48 CEST
I also reported this upstream,  but i hope some one can bring light to this

Keywords: (none) => UPSTREAM
Summary: Final rpm for youtube-dl-gui fail for version 1.7-1 => Final rpm for youtube-dl-gui fail for version 1.7.1

Comment 3 Lewis Smith 2021-09-20 20:25:07 CEST
Thank you for your work on this.
It looks like a new (revived) pkg request, so adjusting it accordingly. We do not seem to have youtube-dl-gui on M8, but did have it on M7. I guess dropped for Python version.

Assigning to DavidG because you nurse youtube-dl, and did also youtube-dl-gui.

Component: RPM Packages => New RPM package request
Summary: Final rpm for youtube-dl-gui fail for version 1.7.1 => youtube-dl-gui for Python3. NEW PKG REQUEST. Final rpm for youtube-dl-gui fail for version 1.7.1
Assignee: bugsquad => geiger.david68210

Comment 4 katnatek 2021-09-25 03:09:01 CEST
Recent commit https://github.com/oleksis/youtube-dl-gui/commit/72702e190ac7b760bc05530938f25dce266d526a works, don't know but may be something in the sources of 1.7.1 version made fail the final package ? :S
Comment 5 katnatek 2021-11-20 23:27:31 CET
Finally i found the possible cause, the old packages don't clean the python site-packages folder and that cause the issue, i fix that on the new release

Resolution: (none) => INVALID
Status: NEW => RESOLVED