Package Details: youtube-dl-gui-git 0.4.r81.gc5c18e5-1

Git Clone URL: https://aur.archlinux.org/youtube-dl-gui-git.git (read-only, click to copy)
Package Base: youtube-dl-gui-git
Description: A cross platform front-end GUI of the popular youtube-dl written in wxPython
Upstream URL: https://github.com/MrS0m30n3/youtube-dl-gui
Licenses: custom:UNLICENSE
Conflicts: youtube-dl-gui
Provides: youtube-dl-gui
Submitter: willemw
Maintainer: willemw
Last Packager: willemw
Votes: 91
Popularity: 0.154870
First Submitted: 2014-03-25 10:50
Last Updated: 2019-08-26 06:30

Latest Comments

1 2 3 4 5 6 Next › Last »

willemw commented on 2021-02-06 20:58

This package depends on the latest "python2-wxpython3 (wxpython)" package from the official repositories. "python2-wxpython4" is not (yet) in the official repositories.

Maybe later when "python2-wxpython4 (wxpython)" becomes official, it will be easy to install both this package and ddrescue-gui, etc.

vS0uz4 commented on 2021-02-06 20:44

Sorry, I made a mess. Solved the problem.

The dependency belonged to the ddrescue-gui package, after removing it, the problem was solved and the installation continued.

Well it is a tip, whoever installed ddrescue-gui, will have this problem there in the installation. Thank you all very much for your patience and support in solving the problem.

vS0uz4 commented on 2021-02-06 20:30

It was probably installed as a dependency on some other package. I honestly don't know which one installed this dependency.

Is there any way to resolve without having to uninstall? Or can I just remove, install and then reinstall the python2-wxpython4 package again?

And @spsf64 even makepkg doesn't work ...

╰─ makepkg -Ccsr 
==> Making package: youtube-dl-gui-git 0.4.r81.gc5c18e5-1 (sáb 06 fev 2021 17:26:30)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating youtube-dl-gui-git git repo...
Fetching origin
  -> Found youtube-dl-gui.desktop
==> Validating source files with md5sums...
    youtube-dl-gui-git ... Skipped
    youtube-dl-gui.desktop ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of youtube-dl-gui-git git repo...
Cloning into 'youtube-dl-gui-git'...
done.
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Starting package()...
Traceback (most recent call last):
  File "setup.py", line 73, in <module>
    from youtube_dl_gui import (
  File "/home/vs0uz4/Code/aur_repos/youtube-dl-gui-git/src/youtube-dl-gui-git/youtube_dl_gui/__init__.py", line 79, in <module>
    from .mainframe import MainFrame
  File "/home/vs0uz4/Code/aur_repos/youtube-dl-gui-git/src/youtube-dl-gui-git/youtube_dl_gui/mainframe.py", line 12, in <module>
    from wx.lib.pubsub import setuparg1 #NOTE Should remove deprecated
  File "/usr/lib/python2.7/site-packages/wx/lib/pubsub/__init__.py", line 41, in <module>
    raise ImportError(msg)
ImportError: Stand-alone pubsub not found. Use `pip install PyPubSub`
==> ERROR: A failure occurred in package().
    Aborting...

willemw commented on 2021-02-06 20:25

@vS0uz4: Yes. I think that python2-wxpython4 package interferes with building this package somehow.

Do you need the python2-wxpython4 package? Can you maybe delete that package?

vS0uz4 commented on 2021-02-06 20:11

This?

/usr/lib/python2.7/site-packages/wx/lib/pubsub/__init__.py is owned by python2-wxpython4 4.0.3-4

willemw commented on 2021-02-06 20:08

@vS0uz4: again, what does pacman -Qo /usr/lib/python2.7/site-packages/wx/lib/pubsub/__init__.py print, the file that raises the ImportError in the traceback?

vS0uz4 commented on 2021-02-06 20:02

@willemw forcibly removed the caches

rm -rf ~/.cache/yay/youtube-dl-gui-git 

executed as mentioned in the command

pacman -Qo /usr/lib/python2.7/site-packages/wx/lib/pubsub/__init__.py

And finally I requested the installation with yay passing the parameter informing to clear the caches in the creation of the package as below:

yay -S youtube-dl-gui-git --answerclean A --nodiffmenu --noeditmenu 

the compilation error remains as you can see in the log below:

==> Extracting sources...
  -> Creating working copy of youtube-dl-gui-git git repo...
Cloning into 'youtube-dl-gui-git'...
done.
==> Starting pkgver()...
==> Sources are ready.
==> Making package: youtube-dl-gui-git 0.4.r81.gc5c18e5-1 (sáb 06 fev 2021 16:58:06)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Entering fakeroot environment...
==> Starting package()...
Traceback (most recent call last):
  File "setup.py", line 73, in <module>
    from youtube_dl_gui import (
  File "/home/vs0uz4/.cache/yay/youtube-dl-gui-git/src/youtube-dl-gui-git/youtube_dl_gui/__init__.py", line 79, in <module>
    from .mainframe import MainFrame
  File "/home/vs0uz4/.cache/yay/youtube-dl-gui-git/src/youtube-dl-gui-git/youtube_dl_gui/mainframe.py", line 12, in <module>
    from wx.lib.pubsub import setuparg1 #NOTE Should remove deprecated
  File "/usr/lib/python2.7/site-packages/wx/lib/pubsub/__init__.py", line 41, in <module>
    raise ImportError(msg)
ImportError: Stand-alone pubsub not found. Use `pip install PyPubSub`
==> ERROR: A failure occurred in package().
    Aborting...
error making: youtube-dl-gui-git

vS0uz4 commented on 2021-02-06 19:49

@willemw

In my /usr/lib/python2.7/site-packages/wx/lib/pubsub/__init__.py

# Name:          __init__.py
# Package:      wx.lib.pubsub
#
# Purpose:      Pubsub package initialization
#
# Author:       Oliver Schoenborn
# Copyright:    Oliver Schoenborn
# Licence:      BSD, see LICENSE_BSD_Simple.txt for details

# History:      Created 2000/2006
#
# Tags:         phoenix-port, documented
#
#----------------------------------------------------------------------------

"""
**pubsub** is a Python package which provides a publish/subscribe API to facilitate event-based
programming and decoupling of components of an application via the Observer design pattern.

Using the Observer pattern in your application can dramatically simplify its design and improve
testability. Basically you just have some part(s) of your program subscribe to a particular topic
and have some other part(s) of your program publish messages with that topic. All the plumbing
is taken care of by pubsub.

It originated in wxPython around the year 2000 but has been standalone, available on PyPI, since
2006 under the name **PyPubSub** although the code has also been kept in wxPython as wx.lib.pubsub.

To remove the duplication of the pubsub code in both PyPubSub and wx.lib but to maintain backward
compatibility, wxPython 4 simply imports the standalone package into wx.lib.pubsub. Installing
or updating wxPython should now also install PyPubSub but it can be explicitly installed using
``pip install PyPubSub``

The documentation for pubsub is available at https://pypubsub.readthedocs.io/en/v4.0.0/ and the
source code is hosted at https://github.com/schollii/pypubsub
"""

try:
    from pubsub import *
except ImportError:
    msg = "Stand-alone pubsub not found. Use `pip install PyPubSub`"
    raise ImportError(msg)

In ".../wx/" exists any files and folders

adv.py
core.py
gizmos.py
grid.pyi
html.pyi      
media.pyi     
_propgrid.so  
richtext.pyi  
__version__.py   
_xml.so
adv.pyc  
core.pyc      
gizmos.pyc    
_grid.so   
_html.so      
_media.so     
py            
_richtext.so  
__version__.pyc  
xrc.py
adv.pyi  
core.pyi      
glcanvas.py   
html2.py   
__init__.py   
msw.py        
ribbon.py     
siplib.so     
webkit.py        
xrc.pyc
_adv.so  
_core.so      
glcanvas.pyc  
html2.pyc  
__init__.pyc  
msw.pyc       
ribbon.pyc    
stc.py        
webkit.pyc       
xrc.pyi
aui.py   
dataview.py   
glcanvas.pyi  
html2.pyi  lib           
msw.pyi       
ribbon.pyi    
stc.pyc       
webkit.pyi       
_xrc.so
aui.pyc  
dataview.pyc  
_glcanvas.so  
_html2.so  
locale        
propgrid.py   
_ribbon.so    
stc.pyi       
xml.py
aui.pyi  
dataview.pyi  
grid.py       
html.py    
media.py      
propgrid.pyc  
richtext.py   
_stc.so       
xml.pyc
_aui.so  
_dataview.so  
grid.pyc      
html.pyc   
media.pyc     
propgrid.pyi  
richtext.pyc  
tools         
xml.pyi

In "/usr/lib/python2.7/site-packages/wx-3.0-gtk3" exist others files and folders

wx  
wxPython-3.0.2.0-py2.7.egg-info

willemw commented on 2021-02-06 18:27

@vS0uz4: which packages owns file /usr/lib/python2.7/site-packages/wx/lib/pubsub/__init__.py? Run pacman -Qo /usr/lib/python2.7/site-packages/wx/lib/pubsub/__init__.py.

I don't have any files in ".../wx/", only in "/usr/lib/python2.7/site-packages/wx-3.0-gtk3", owned by python2-wxpython3.

vS0uz4 commented on 2021-02-06 18:02

@spsf64 Yes, thanks for the feedback. I will try using makepkg, to see if the problem is in yay