Package Details: youtube-dl-gui-git 1.7.0.r12.g8dbf054-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: Cross platform front-end GUI of the popular youtube-dl written in wxPython
Upstream URL: https://github.com/oleksis/youtube-dl-gui
Keywords: youtube-dl yt-dlp
Licenses: custom:UNLICENSE
Conflicts: youtube-dl-gui
Provides: youtube-dl-gui
Submitter: willemw
Maintainer: willemw
Last Packager: willemw
Votes: 93
Popularity: 0.108347
First Submitted: 2014-03-25 10:50 (UTC)
Last Updated: 2021-07-03 09:15 (UTC)

Pinned Comments

willemw commented on 2021-07-03 09:24 (UTC)

Switched to oleksis' fork (Python 3).

@Gr3q: Thanks. The app seems to work fine now.

The app is now called yt-dlg. (Could change that back to the old name youtube-dl-gui). Updated the .desktop file to run yt-dlg.

The app also now includes translations (thanks for @jose1711 for pointed that out in his PKGBUILD file).

(In the PKGBUILD file there is second version of the PKGBUILD in comments. That version follows the upstream build and run steps (pip install).)

Latest Comments

willemw commented on 2021-12-13 17:35 (UTC)

Python upgraded from 3.9 to 3.10. Run pacman -Qo /usr/lib/python3.9 to see which packages are out-of-date.

jose1711 commented on 2021-12-13 17:29 (UTC)

@Locutus64 reinstall python-polib cleanly and it'll work

Locutus64 commented on 2021-12-13 17:19 (UTC)

I'm getting the below in Garuda Dragonized Blackarch KDE. Any idea on how to fix it?

Preparing... Cloning youtube-dl-gui-git build files... Generating youtube-dl-gui-git information... Checking youtube-dl-gui-git dependencies... Resolving dependencies... Checking inter-conflicts...

Building youtube-dl-gui-git... ==> Making package: youtube-dl-gui-git 1.8.2.r2.gfe117a8-1 (Mon 13 Dec 2021 09:17:14 AM PST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating youtube-dl-gui-git git repo... Fetching origin From https://github.com/oleksis/youtube-dl-gui fe117a8..f5ef460 master -> master -> Found youtube-dl-gui.desktop ==> Validating source files with sha256sums... 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()... ==> Updated version: youtube-dl-gui-git 1.8.2.r5.gf5ef460-1 ==> Removing existing $pkgdir/ directory... ==> Entering fakeroot environment... ==> Starting package()... /var/tmp/pamac-build-locutus/youtube-dl-gui-git/src/youtube-dl-gui-git/setup.py:46: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils import log running build_trans Traceback (most recent call last): File "/var/tmp/pamac-build-locutus/youtube-dl-gui-git/src/youtube-dl-gui-git/setup.py", line 315, in <module> setup( File "/usr/lib/python3.10/site-packages/setuptools/init.py", line 153, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.10/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib/python3.10/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib/python3.10/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/var/tmp/pamac-build-locutus/youtube-dl-gui-git/src/youtube-dl-gui-git/setup.py", line 132, in run import polib ModuleNotFoundError: No module named 'polib' ==> ERROR: A failure occurred in package(). Aborting...

Tio commented on 2021-07-04 13:32 (UTC)

Worked thanks a bunch!

willemw commented on 2021-07-04 12:54 (UTC)

@Tio: (sudo) rm -rf /var/tmp/pamac-build-tio/youtube-dl-gui-git/

Tio commented on 2021-07-04 12:50 (UTC)

Yes I did...via the pamac gui or sudo pacman -Scc. Still the same issue.

Gr3q commented on 2021-07-04 12:46 (UTC)

@Tio you have to clean your cache (possible from inside pamac)

Tio commented on 2021-07-04 12:44 (UTC)

I get this error:

Building youtube-dl-gui-git...
==> Making package: youtube-dl-gui-git 1.7.0.r12.g8dbf054-1 (dom 04 jul 2021 14:44:14)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> ERROR: /var/tmp/pamac-build-tio/youtube-dl-gui-git/youtube-dl-gui-git is not a clone of https://github.com/oleksis/youtube-dl-gui.git
    Aborting...
Failed to build youtube-dl-gui-git

jose1711 commented on 2021-07-03 21:25 (UTC)

@Gr3q @willemw thank you both, great job!

willemw commented on 2021-07-03 09:24 (UTC)

Switched to oleksis' fork (Python 3).

@Gr3q: Thanks. The app seems to work fine now.

The app is now called yt-dlg. (Could change that back to the old name youtube-dl-gui). Updated the .desktop file to run yt-dlg.

The app also now includes translations (thanks for @jose1711 for pointed that out in his PKGBUILD file).

(In the PKGBUILD file there is second version of the PKGBUILD in comments. That version follows the upstream build and run steps (pip install).)

Gr3q commented on 2021-07-03 09:06 (UTC) (edited on 2021-07-03 09:19 (UTC) by Gr3q)

I created a package for oleksis's fork after submitting a few PRs for him fixing a couple of issues on linux, including a workaround for https://bugs.archlinux.org/task/70908.

It should be safe to switch to his fork now, but he renamed the app in his fork to yt-dlg so idk how does it come out to keep using the old name.

Edit: nevermind, I see you switched already

jose1711 commented on 2021-07-02 12:14 (UTC)

heh.. i had the same and was thinking that there's something wrong with my system. thanks for sharing.

willemw commented on 2021-07-02 11:58 (UTC)

@jose1711: the problems I was seeing (having to click sometimes twice on buttons) is because python-wxpython has been reverted to a very old version (https://bugs.archlinux.org/task/70908). Newer versions should not have this bug.

To switch now to oleksis' fork without this bug means building python-wxpython on your machine, which can take up to several hours. I suggest to wait until python-wxpython has been updated to the current upstream release.

willemw commented on 2021-07-01 15:49 (UTC)

@jose1711: Going to switch to oleksis' fork. Will upload it tomorrow. It will install all the correct dependency versions.

I tried a PKGBUILD file similar to yours and had several version compatibility problems between dependencies (crashes reported on the command line).

jose1711 commented on 2021-06-30 23:03 (UTC) (edited on 2021-07-01 08:56 (UTC) by jose1711)

Could you please consider switching to oleksis's fork at https://github.com/oleksis/youtube-dl-gui? The current one seems abandoned. Cheers.

The diff could look like this:

 pkgname=youtube-dl-gui-git
-pkgver=0.4.r81.gc5c18e5
-pkgrel=2
+pkgver=v1.7.0.r0.gedc9750
+pkgrel=1
 pkgdesc="Cross platform front-end GUI of the popular youtube-dl written in wxPython"
 arch=('any')
-url="https://github.com/MrS0m30n3/youtube-dl-gui"
+url="https://github.com/oleksis/youtube-dl-gui"
 license=('custom:UNLICENSE')
-#depends=('python2-twodict' 'python2-wxpython3')
-depends=('python2-twodict-git' 'python2-wxpython3')
+depends=('python-wxpython' 'python-pypubsub')
 optdepends=('ffmpeg: convert video files to audio-only files'
             'youtube-dl: alternative to the youtube-dl program downloaded by youtube-dl-gui')
 makedepends=('git')
@@ -24,11 +23,16 @@
   git -C $pkgname describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
 }

+build() {
+  cd $pkgname
+  python setup.py build_trans
+}
+
 package() {
   install -Dm644 youtube-dl-gui.desktop -t "$pkgdir/usr/share/applications"

   cd $pkgname
   install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
-  python2 setup.py install --root="$pkgdir" --optimize=1
+  python setup.py install --root="$pkgdir" --optimize=1
 }

.desktop would need to be updated as well

willemw commented on 2021-02-06 20:58 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

@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 (UTC)

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 (UTC)

@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 (UTC)

@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 (UTC)

@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 (UTC) (edited on 2021-02-06 18:30 (UTC) by willemw)

@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 (UTC)

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

spsf64 commented on 2021-02-06 17:53 (UTC)

@vS0uz4: no problems for me here, works fine. Try to use makepkg instead of yay... @willemw: thanks for maintaining this package!

vS0uz4 commented on 2021-02-06 17:45 (UTC)

@Willemw But I did just that!

I use "yay" as a package manager, and when installing "youtube-dl-gui-git" I just informed you to clear the entire cache before generating the package.

willemw commented on 2021-02-06 06:13 (UTC)

@vS0uz4: Cannot reproduce in a clean chroot build environment. Maybe try removing some of your cached build folders and cached package files.

vS0uz4 commented on 2021-02-05 21:09 (UTC)

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

Cryen commented on 2021-01-28 00:08 (UTC) (edited on 2021-01-28 00:14 (UTC) by Cryen)

I'm having an issue recently, after hitting start and pre-processing it throws an error. Running it in the terminal shows this and I can't really find a fix for it.

/usr/lib/python2.7/site-packages/wx-3.0-gtk3/wx/_core.py:16629: UserWarning: wxPython/wxWidgets release number mismatch warnings.warn("wxPython/wxWidgets release number mismatch") And log shows ERROR: mVkEDduVQJA: YouTube said: Unable to extract video data Child process exited with non-zero code: 1

willemw commented on 2020-03-25 07:08 (UTC)

@davidhu0: cannot reproduce. Downloading works just fine. Try running youtube-dlg or the youtube-dl it is using from the command line to get more information.

davidhu0 commented on 2020-03-25 00:57 (UTC)

Cannot download any videos from Youtube Logged error:Child process exited with non-zero code: 2 Network is normal. youtube-dl is the newest

mikeymckay commented on 2019-09-13 06:24 (UTC)

@willemw: thanks that did it. I'm new to arch - still learning!

willemw commented on 2019-09-13 05:53 (UTC)

@mikeymckay: looks like you have an issue with your mirrorlist. Try updating and synchronizing (pacman -Syy) your mirrorlist.

mikeymckay commented on 2019-09-13 05:17 (UTC)

Seems like one of the dependencies needs to be updated: failed retrieving file 'python2-wxpython3-3.0.2.0-1-x86_64.pkg.tar.xz' from mirror.tuchola-dc.pl : The requested URL returned error: 404

Oczkins92 commented on 2019-06-28 16:05 (UTC)

@willemw : now works withou problem.Sorry for late reply!

willemw commented on 2019-04-28 05:49 (UTC) (edited on 2019-04-28 05:50 (UTC) by willemw)

@servimo: this is an issue with youtube-dl, not youtube-dl-gui. youtube-dl is out-of-date. Try updating the youtube-dl package. Otherwise, use the latest one from the youtube-dl website for now. Can be downloaded from youtube-dl-gui (Menu button --> Update) to ~/.config/youtube-dlg/youtube-dl.

servimo commented on 2019-04-28 01:06 (UTC)

It's not working: Log: [Sat Apr 27 16:45:19 2019] ERROR: uVM806yNloQ: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. [Sat Apr 27 16:45:19 2019] Child process exited with non-zero code: 1 Console: $ youtube-dl-gui 16:38:41: Warning: Mismatch between the program and library build versions detected. The library used 3.0 (wchar_t,compiler with C++ ABI 1013,wx containers,compatible with 2.8), and wxPython used 3.0 (wchar_t,compiler with C++ ABI 1011,wx containers,compatible with 2.8). /usr/lib/python2.7/site-packages/wx-3.0-gtk3/wx/_core.py:16629: UserWarning: wxPython/wxWidgets release number mismatch warnings.warn("wxPython/wxWidgets release number mismatch")

commented on 2018-12-26 23:58 (UTC)

Works great; thank you!

willemw commented on 2017-12-14 16:25 (UTC) (edited on 2019-03-17 17:17 (UTC) by willemw)

@Oczkins92: You can try replacing "git" with "git+https" in the PKGBUILD "source=" line. Next time please leave your comment on the "python2-twodict-git" page.

Oczkins92 commented on 2017-12-14 14:45 (UTC)

I have problem with some packages: Klonowanie python2-twodict-git repozytorium git... Cloning into bare repository '/tmp/pamac-build-mariusz/python2-twodict-git/python2-twodict-git'... fatal: unable to connect to github.com: github.com[0: 192.30.253.112]: errno=Przekroczony czas oczekiwania na połączenie github.com[1: 192.30.253.113]: errno=Przekroczony czas oczekiwania na połączenie

willemw commented on 2017-08-13 21:11 (UTC)

The version number is not out-of-date. This is a VCS package: reinstall to update the package.

willemw commented on 2017-06-23 06:00 (UTC) (edited on 2017-06-23 06:06 (UTC) by willemw)

@Samuel_SH: Thanks. Updated.

Samuel_SH commented on 2017-06-23 03:50 (UTC)

Ln: failed to create symbolic link 'youtube-dl-gui.png': File exists ==> ERROR: A failure occurred in prepare(). Aborting... ==> ERROR: Makepkg was unable to build youtube-dl-gui-git. ==> Restart building youtube-dl-gui-git ? [y/N]

willemw commented on 2017-06-18 21:31 (UTC)

The mismatch warning is an Arch Linux "packages build and distribution" problem. Youtube-dl-gui now requires twodict. I have added python2-twodict-git to the AUR. Install it, for example, by running: $ pacaur -S --asdeps python2-twodict-git

Oczkins92 commented on 2017-06-18 19:19 (UTC)

When i try package i get error: 21:18:33: Warning: Mismatch between the program and library build versions detected. The library used 3.0 (wchar_t,compiler with C++ ABI 1010,wx containers,compatible with 2.8), and wxPython used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8). No module named twodict

gamezelda commented on 2017-05-15 21:03 (UTC)

@willemw: Sorry, you're right, it was my fault. I accidentally set the --global core.autocrlf setting of git to true, so the download was introducing like breaks.

willemw commented on 2017-04-07 15:08 (UTC)

@gamezelda: /usr/bin/youtube-dl-gui has no DOS/Windows line feeds. You could try a clean reinstall of the package.

gamezelda commented on 2017-04-06 20:56 (UTC)

Seems like the repo has been commited using Windows line feeds: [zealcharm@PC ~]$ youtube-dl-gui /usr/bin/env: ‘python2\r’: No such file or directory As a fix, use dos2unix to fix the script. Only required once: [zealcharm@PC ~]# sudo dos2unix /usr/bin/youtube-dl-gui dos2unix: converting file /usr/bin/youtube-dl-gui to Unix format...

B4SH-B00STER commented on 2017-01-02 16:10 (UTC)

@willemw PKGBUILD can be named anything This patch will only patch it for archlinux systems till it is fixed upstream :)

willemw commented on 2017-01-02 15:14 (UTC)

@B4SH-B00STER: Thanks. Note: your PKGBUILD has another package name. I can include the "license install" part the PKGBUILD file. I'm not sure I should include the "youtube-dl-gui.patch" file. This should be "fixed" upstream, I think, so it will work on any Linux distro and maybe on other operating systems.

B4SH-B00STER commented on 2017-01-02 14:08 (UTC) (edited on 2017-01-02 14:08 (UTC) by B4SH-B00STER)

re-done PKGBUILD and patched the source to use youtube-dl from Community repo https://github.com/B4SHB00ST3R/PKGBUILD/tree/master/stable/youtube-dl-gui

willemw commented on 2016-04-08 19:44 (UTC)

@swyter: Should be fixed now.

swyter commented on 2016-04-08 13:22 (UTC) (edited on 2016-04-08 14:12 (UTC) by swyter)

Can you use `Icon=youtube-dl-gui` as the icon so that it picks the better variant? The 48px version for everything makes it look needlessly ugly in things like Gnome. Here's a patch against the current PKGBUILD: https://gist.github.com/Swyter/7cf9efdea62f84e38312018880f9bf9f

willemw commented on 2014-07-22 07:51 (UTC)

@parafa45: Fixed (added a fallback application icon as a more stable patch). Created an upstream issue https://github.com/MrS0m30n3/youtube-dl-gui/issues/14

parafa45 commented on 2014-07-22 06:30 (UTC)

==> Starting prepare()... sed: can't read youtube_dl_gui/YoutubeDLGUI.py: No such file or directory ==> ERROR: A failure occurred in prepare(). Aborting... ==> ERROR: Makepkg was unable to build youtube-dl-gui-git. ==> Restart building youtube-dl-gui-git ? [y/N]

willemw commented on 2014-05-07 07:22 (UTC)

@DaveCode: youtube-dl is now an optional dependency.

DaveCode commented on 2014-05-07 04:11 (UTC)

Posted issues #10 and #11 at upstream github.

DaveCode commented on 2014-05-07 03:59 (UTC)

OK. Double-check me but is youtube-dl really a dep? This app keeps its own copy in ~/.youtube-dl-gui (which folder should live in $XDG_CONFIG_HOME not $HOME btw).

willemw commented on 2014-05-01 06:51 (UTC)

@DaveCode: Updated. Fixed.

DaveCode commented on 2014-05-01 03:43 (UTC)

Tried, now get # pacaur -Sa --asroot youtube-dl-gui-git ... install: cannot stat ‘icons/ytube.png’: No such file or directory ==> ERROR: A failure occurred in package(). Aborting...

willemw commented on 2014-04-06 08:01 (UTC)

@DaveCode: Thanks. Try again. It should be fixed now.

DaveCode commented on 2014-04-06 06:13 (UTC)

Get same icon error as PhotonX on two PCs with latest git. Code says it wants icon in a Python subfolder, but package puts it in an Arch sys folder. Symlink? But no Py2.7 icons subfolder even exists. Pkg must create it? Program launch error dialog report: can't open file '/usr/lib/python2.7/site-packages/icons/ytube.png' (error 2: No such file or directory) $ ls /usr/lib/python2.7/site-packages/icons ls: cannot access /usr/lib/python2.7/site-packages/icons: No such file or directory $ ls /usr/share/pixmaps/y* /usr/share/pixmaps/youtube-dl-gui.png /usr/share/pixmaps/youtube.png /usr/share/pixmaps/youtube-zenity.svg

PhotonX commented on 2014-04-03 11:06 (UTC)

Thanks for the quick fix, the error is gone now.

willemw commented on 2014-04-03 09:11 (UTC)

@PhotonX: Thanks. Updated the package.

PhotonX commented on 2014-04-03 07:38 (UTC)

I don't know if it is a problem with the package or with youtube-dl-gui itself, but an icon is missing, youtube-dl-gui reports: 09:33:58: can't open file '/usr/lib/python2.7/site-packages/icons/ytube.png' (error 2: No such file or directory) 09:33:58: Failed to load image from file "/usr/lib/python2.7/site-packages/icons/ytube.png".

willemw commented on 2014-03-28 17:16 (UTC)

@lw4z: The URLs are correct. Try https://github.com/MrS0m30n3/youtube-dl-gui.git instead of git://github.com/MrS0m30n3/$_gitname.git in the PKGBUILD file.

lw4z commented on 2014-03-26 13:32 (UTC)

fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.