1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122 | johndoe@jd-ubuntu:~/build/yt-dlp-gui$ . /home/johndoe/programs/yt-dlp/venv/bin/activate
(venv) johndoe@jd-ubuntu:~/build/yt-dlp-gui$ pip install -r requirements.txt
Collecting pyinstaller
Using cached pyinstaller-6.9.0-py3-none-manylinux2014_x86_64.whl (684 kB)
Collecting PySide6==6.7.0
Using cached PySide6-6.7.0-cp39-abi3-manylinux_2_28_x86_64.whl (525 kB)
Collecting requests
Downloading requests-2.32.3-py3-none-any.whl (64 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.9/64.9 KB 343.9 kB/s eta 0:00:00
Collecting tqdm
Using cached tqdm-4.66.4-py3-none-any.whl (78 kB)
Collecting PySide6-Addons==6.7.0
Using cached PySide6_Addons-6.7.0-cp39-abi3-manylinux_2_28_x86_64.whl (137.2 MB)
Collecting PySide6-Essentials==6.7.0
Using cached PySide6_Essentials-6.7.0-cp39-abi3-manylinux_2_28_x86_64.whl (87.2 MB)
Collecting shiboken6==6.7.0
Using cached shiboken6-6.7.0-cp39-abi3-manylinux_2_28_x86_64.whl (183 kB)
Collecting packaging>=22.0
Using cached packaging-24.1-py3-none-any.whl (53 kB)
Collecting altgraph
Using cached altgraph-0.17.4-py2.py3-none-any.whl (21 kB)
Requirement already satisfied: setuptools>=42.0.0 in /home/johndoe/programs/yt-dlp/venv/lib/python3.10/site-packages (from pyinstaller->-r requirements.txt (line 1)) (59.6.0)
Collecting pyinstaller-hooks-contrib>=2024.7
Using cached pyinstaller_hooks_contrib-2024.7-py2.py3-none-any.whl (341 kB)
Collecting urllib3<3,>=1.21.1
Downloading urllib3-2.2.2-py3-none-any.whl (121 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 121.4/121.4 KB 946.0 kB/s eta 0:00:00
Collecting certifi>=2017.4.17
Downloading certifi-2024.7.4-py3-none-any.whl (162 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.0/163.0 KB 1.6 MB/s eta 0:00:00
Collecting charset-normalizer<4,>=2
Downloading charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 142.1/142.1 KB 1.5 MB/s eta 0:00:00
Collecting idna<4,>=2.5
Downloading idna-3.7-py3-none-any.whl (66 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.8/66.8 KB 800.4 kB/s eta 0:00:00
Installing collected packages: altgraph, urllib3, tqdm, shiboken6, packaging, idna, charset-normalizer, certifi, requests, PySide6-Essentials, pyinstaller-hooks-contrib, PySide6-Addons, pyinstaller, PySide6
Successfully installed PySide6-6.7.0 PySide6-Addons-6.7.0 PySide6-Essentials-6.7.0 altgraph-0.17.4 certifi-2024.7.4 charset-normalizer-3.3.2 idna-3.7 packaging-24.1 pyinstaller-6.9.0 pyinstaller-hooks-contrib-2024.7 requests-2.32.3 shiboken6-6.7.0 tqdm-4.66.4 urllib3-2.2.2
(venv) johndoe@jd-ubuntu:~/build/yt-dlp-gui$ cd app
(venv) johndoe@jd-ubuntu:~/build/yt-dlp-gui/app$ pyinstaller --name=yt-dlp-gui --clean -y app.py
295 INFO: PyInstaller: 6.9.0, contrib hooks: 2024.7
295 INFO: Python: 3.10.12
297 INFO: Platform: Linux-6.5.0-44-generic-x86_64-with-glibc2.35
297 INFO: Python environment: /home/johndoe/programs/yt-dlp/venv
311 INFO: wrote /home/johndoe/build/yt-dlp-gui/app/yt-dlp-gui.spec
314 INFO: Removing temporary files and cleaning cache in /home/johndoe/.cache/pyinstaller
1306 INFO: Module search paths (PYTHONPATH):
['/usr/lib/python310.zip',
'/usr/lib/python3.10',
'/usr/lib/python3.10/lib-dynload',
'/home/johndoe/programs/yt-dlp/venv/lib/python3.10/site-packages',
'/home/johndoe/build/yt-dlp-gui/app']
1512 INFO: checking Analysis
1513 INFO: Building Analysis because Analysis-00.toc is non existent
1513 INFO: Running Analysis Analysis-00.toc
1513 INFO: Target bytecode optimization level: 0
1513 INFO: Initializing module dependency graph...
1515 INFO: Caching module graph hooks...
1549 INFO: Analyzing base_library.zip ...
2692 INFO: Loading module hook 'hook-heapq.py' from '/home/johndoe/programs/yt-dlp/venv/lib/python3.10/site-packages/PyInstaller/hooks'...
2829 INFO: Loading module hook 'hook-encodings.py' from '/home/johndoe/programs/yt-dlp/venv/lib/python3.10/site-packages/PyInstaller/hooks'...
5374 INFO: Loading module hook 'hook-pickle.py' from '/home/johndoe/programs/yt-dlp/venv/lib/python3.10/site-packages/PyInstaller/hooks'...
7749 INFO: Caching module dependency graph...
7939 INFO: Looking for Python shared library...
7993 WARNING: Unrecognised line of output 'Кэш сгенерирован: ldconfig (Ubuntu GLIBC 2.35-0ubuntu3.8) stable release version 2.35' from ldconfig
7993 INFO: Using Python shared library: /lib/x86_64-linux-gnu/libpython3.10.so
7993 INFO: Analyzing /home/johndoe/build/yt-dlp-gui/app/app.py
8068 INFO: Loading module hook 'hook-platform.py' from '/home/johndoe/programs/yt-dlp/venv/lib/python3.10/site-packages/PyInstaller/hooks'...
9918 INFO: Loading module hook 'hook-charset_normalizer.py' from '/home/johndoe/programs/yt-dlp/venv/lib/python3.10/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
10107 INFO: Loading module hook 'hook-certifi.py' from '/home/johndoe/programs/yt-dlp/venv/lib/python3.10/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
10269 INFO: Loading module hook 'hook-PySide6.py' from '/home/johndoe/programs/yt-dlp/venv/lib/python3.10/site-packages/PyInstaller/hooks'...
10537 INFO: Loading module hook 'hook-shiboken6.py' from '/home/johndoe/programs/yt-dlp/venv/lib/python3.10/site-packages/PyInstaller/hooks'...
10543 INFO: Loading module hook 'hook-PySide6.QtNetwork.py' from '/home/johndoe/programs/yt-dlp/venv/lib/python3.10/site-packages/PyInstaller/hooks'...
11158 INFO: Loading module hook 'hook-PySide6.QtCore.py' from '/home/johndoe/programs/yt-dlp/venv/lib/python3.10/site-packages/PyInstaller/hooks'...
11403 INFO: Loading module hook 'hook-PySide6.QtWidgets.py' from '/home/johndoe/programs/yt-dlp/venv/lib/python3.10/site-packages/PyInstaller/hooks'...
11946 INFO: Loading module hook 'hook-multiprocessing.util.py' from '/home/johndoe/programs/yt-dlp/venv/lib/python3.10/site-packages/PyInstaller/hooks'...
12071 INFO: Loading module hook 'hook-xml.py' from '/home/johndoe/programs/yt-dlp/venv/lib/python3.10/site-packages/PyInstaller/hooks'...
12656 INFO: Loading module hook 'hook-PySide6.QtGui.py' from '/home/johndoe/programs/yt-dlp/venv/lib/python3.10/site-packages/PyInstaller/hooks'...
14132 INFO: Processing module hooks...
14216 INFO: Loading module hook 'hook-PySide6.QtDBus.py' from '/home/johndoe/programs/yt-dlp/venv/lib/python3.10/site-packages/PyInstaller/hooks'...
14492 INFO: Performing binary vs. data reclassification (146 entries)
15080 INFO: Looking for ctypes DLLs
15091 INFO: Analyzing run-time hooks ...
15097 INFO: Including run-time hook '/home/johndoe/programs/yt-dlp/venv/lib/python3.10/site-packages/PyInstaller/hooks/rthooks/pyi_rth_inspect.py'
15100 INFO: Including run-time hook '/home/johndoe/programs/yt-dlp/venv/lib/python3.10/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pyside6.py'
15103 INFO: Processing pre-find module path hook _pyi_rth_utils from '/home/johndoe/programs/yt-dlp/venv/lib/python3.10/site-packages/PyInstaller/hooks/pre_find_module_path/hook-_pyi_rth_utils.py'.
15105 INFO: Loading module hook 'hook-_pyi_rth_utils.py' from '/home/johndoe/programs/yt-dlp/venv/lib/python3.10/site-packages/PyInstaller/hooks'...
15110 INFO: Including run-time hook '/home/johndoe/programs/yt-dlp/venv/lib/python3.10/site-packages/PyInstaller/hooks/rthooks/pyi_rth_multiprocessing.py'
15115 INFO: Including run-time hook '/home/johndoe/programs/yt-dlp/venv/lib/python3.10/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pkgutil.py'
15139 INFO: Looking for dynamic libraries
18666 INFO: Warnings written to /home/johndoe/build/yt-dlp-gui/app/build/yt-dlp-gui/warn-yt-dlp-gui.txt
18737 INFO: Graph cross-reference written to /home/johndoe/build/yt-dlp-gui/app/build/yt-dlp-gui/xref-yt-dlp-gui.html
18774 INFO: checking PYZ
18774 INFO: Building PYZ because PYZ-00.toc is non existent
18774 INFO: Building PYZ (ZlibArchive) /home/johndoe/build/yt-dlp-gui/app/build/yt-dlp-gui/PYZ-00.pyz
19233 INFO: Building PYZ (ZlibArchive) /home/johndoe/build/yt-dlp-gui/app/build/yt-dlp-gui/PYZ-00.pyz completed successfully.
19270 INFO: checking PKG
19270 INFO: Building PKG because PKG-00.toc is non existent
19270 INFO: Building PKG (CArchive) yt-dlp-gui.pkg
19303 INFO: Building PKG (CArchive) yt-dlp-gui.pkg completed successfully.
19304 INFO: Bootloader /home/johndoe/programs/yt-dlp/venv/lib/python3.10/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run
19305 INFO: checking EXE
19305 INFO: Building EXE because EXE-00.toc is non existent
19305 INFO: Building EXE from EXE-00.toc
19305 INFO: Copying bootloader EXE to /home/johndoe/build/yt-dlp-gui/app/build/yt-dlp-gui/yt-dlp-gui
19305 INFO: Appending PKG archive to custom ELF section in EXE
19325 INFO: Building EXE from EXE-00.toc completed successfully.
19331 INFO: checking COLLECT
19331 INFO: Building COLLECT because COLLECT-00.toc is non existent
19331 INFO: Removing dir /home/johndoe/build/yt-dlp-gui/app/dist/yt-dlp-gui
20239 INFO: Building COLLECT COLLECT-00.toc
21123 INFO: Building COLLECT COLLECT-00.toc completed successfully.
(venv) johndoe@jd-ubuntu:~/build/yt-dlp-gui/app$ ./dist/yt-dlp-gui
bash: ./dist/yt-dlp-gui: Это каталог
(venv) johndoe@jd-ubuntu:~/build/yt-dlp-gui/app$ ./dist/yt-dlp-gui/yt-dlp-gui
23-07-24 21:43:09 urllib3.connectionpool DEBUG Starting new HTTPS connection (1): github.com:443
23-07-24 21:43:10 urllib3.connectionpool DEBUG https://github.com:443 "GET /yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux HTTP/11" 302 0
23-07-24 21:43:10 urllib3.connectionpool DEBUG https://github.com:443 "GET /yt-dlp/yt-dlp/releases/download/2024.07.16/yt-dlp_linux HTTP/11" 302 0
23-07-24 21:43:10 urllib3.connectionpool DEBUG Starting new HTTPS connection (1): objects.githubusercontent.com:443
23-07-24 21:43:10 urllib3.connectionpool DEBUG https://objects.githubusercontent.com:443 "GET /github-production-release-asset-2e65be/307260205/ab3bbcad-d6c4-41b2-8fd5-8726db179be0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240723%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240723T184310Z&X-Amz-Expires=300&X-Amz-Signature=f8fcd22b688c0b89e43436b0f0c754d87d6f7241a3dffb0a9f280d22cfb7b57a&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=307260205&response-content-disposition=attachment%3B%20filename%3Dyt-dlp_linux&response-content-type=application%2Foctet-stream HTTP/11" 200 34466176
23-07-24 21:44:18 __main__ INFO Queued download added: (link=https://www.youtube.com/watch?v=POjNFdFRykY, path=/home/johndoe/Videos, format=mp4, cargs=, filename=%(title)s.%(ext)s, sponsorblock=, metadata=False, thumbnail=False, subtitles=False)
23-07-24 21:44:27 worker ERROR Error relocating /home/johndoe/build/yt-dlp-gui/app/dist/yt-dlp-gui/_internal/libz.so.1: crc32_z: symbol not found
|