Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] youtube-dl and the conf file.
Date: Wed, 28 Oct 2020 19:27:14
Message-Id: 3c2604b5-ec1a-ad1e-548c-4345104b31ac@gmail.com
In Reply to: Re: [gentoo-user] youtube-dl and the conf file. by Dale
1 Dale wrote:
2 > David Haller wrote:
3 >> Hello,
4 >>
5 >> On Tue, 27 Oct 2020, Dale wrote:
6 >>> This is what the conf file looks like now.  I took out the format
7 >>> option.  Add it back later when this current issue is settled. 
8 >>>
9 >>> --format
10 >>> 'bestvideo[ext=webm][width<=?1280]+bestaudio/bestvideo[ext=mp4][width<=?1280]+bestaudio/best'
11 >> Is that one or two lines? It think it should be one! I.e.:
12 >>
13 >> --format foo
14 >>
15 >> Try:
16 >>
17 >> --format 'bestvideo[ext=webm][width<=?1280]+bestaudio/bestvideo[ext=mp4][width<=?1280]+bestaudio/best'
18 >>
19 >> Or, I think it's equivalent:
20 >>
21 >> --format 'bestvideo[ext=webm,ext=mp4][width<=?1280]+bestaudio/best'
22 >>
23 >> HTH,
24 >> -dnh
25 >>
26 >
27 > It doesn't like that either.  The original is one line.  That said, I
28 > read where you can put one option on each line and have multiple lines. 
29 > The top line is what I already had so I tried the second one.  It gave
30 > me this.
31 >
32 >
33 > ERROR: 'ytdl-format=bestvideo[height<=?1280]+bestaudio/best' is not a
34 > valid URL. Set --default-search "ytsearch" (or run  youtube-dl
35 > "ytsearch:ytdl-format=bestvideo[height<=?1280]+bestaudio/best" ) to
36 > search YouTube
37 > [youtube] byTOZIvyXPo: Downloading webpage
38 >
39 >
40 > It seems to see something as a URL instead of a option.  Thing is, when
41 > I google, I find a lot of people using the exact same line.  I'm
42 > beginning to wonder if Arve has a point.  Maybe something else changed
43 > and that changed how youtube-dl works.  To test, I wanted to re-emerge
44 > youtube-dl.  When I tried, I got this little bit of spit up on my
45 > keyboard. 
46 >
47 >
48 > root@fireball / # emerge -a youtube-dl
49 >
50 > These are the packages that would be merged, in order:
51 >
52 > Calculating dependencies... done!
53 > [ebuild   R   *] net-misc/youtube-dl-99999999::gentoo  USE="-test"
54 > PYTHON_TARGETS="python3_7 -python3_6 -python3_8" 0 KiB
55 >
56 > Total: 1 package (1 reinstall), Size of downloads: 0 KiB
57 >
58 > Would you like to merge these packages? [Yes/No] y
59 >>>> Verifying ebuild manifests
60 >>>> Emerging (1 of 1) net-misc/youtube-dl-99999999::gentoo
61 >>>> Failed to emerge net-misc/youtube-dl-99999999, Log file:
62 >>>>   '/var/log/portage/net-misc:youtube-dl-99999999:20201028-012948.log'
63 >>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 2.00,
64 > 1.70, 1.60
65 >  * Package:    net-misc/youtube-dl-99999999
66 >  * Repository: gentoo
67 >  * Maintainer: jer@g.o
68 >  * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux
69 > python_targets_python3_7 userland_GNU
70 >  * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
71 >>>> Unpacking source...
72 >  * Repository id: ytdl-org_youtube-dl.git
73 >  * To override fetched repository properties, use:
74 >  *   EGIT_OVERRIDE_REPO_YTDL_ORG_YOUTUBE_DL
75 >  *   EGIT_OVERRIDE_BRANCH_YTDL_ORG_YOUTUBE_DL
76 >  *   EGIT_OVERRIDE_COMMIT_YTDL_ORG_YOUTUBE_DL
77 >  *   EGIT_OVERRIDE_COMMIT_DATE_YTDL_ORG_YOUTUBE_DL
78 >  *
79 >  * Fetching https://github.com/ytdl-org/youtube-dl/ ...
80 > git fetch https://github.com/ytdl-org/youtube-dl/ +HEAD:refs/git-r3/HEAD
81 > fatal: could not read Username for 'https://github.com': terminal
82 > prompts disabled
83 >  * ERROR: net-misc/youtube-dl-99999999::gentoo failed (unpack phase):
84 >  *   Unable to fetch from any of EGIT_REPO_URI
85 >  *
86 >  * Call stack:
87 >  *     ebuild.sh, line  125:  Called src_unpack
88 >  *   environment, line 3655:  Called git-r3_src_unpack
89 >  *   environment, line 2568:  Called git-r3_src_fetch
90 >  *   environment, line 2562:  Called git-r3_fetch
91 >  *   environment, line 2484:  Called die
92 >  * The specific snippet of code:
93 >  *       [[ -n ${success} ]] || die "Unable to fetch from any of
94 > EGIT_REPO_URI";
95 >  *
96 >  * If you need support, post the output of `emerge --info
97 > '=net-misc/youtube-dl-99999999::gentoo'`,
98 >  * the complete build log and the output of `emerge -pqv
99 > '=net-misc/youtube-dl-99999999::gentoo'`.
100 >  * The complete build log is located at
101 > '/var/log/portage/net-misc:youtube-dl-99999999:20201028-012948.log'.
102 >  * For convenience, a symlink to the build log is located at
103 > '/var/tmp/portage/net-misc/youtube-dl-99999999/temp/build.log'.
104 >  * The ebuild environment file is located at
105 > '/var/tmp/portage/net-misc/youtube-dl-99999999/temp/environment'.
106 >  * Working directory: '/var/tmp/portage/net-misc/youtube-dl-99999999/work'
107 >  * S:
108 > '/var/tmp/portage/net-misc/youtube-dl-99999999/work/youtube-dl-99999999'
109 >  *
110 >  * The following package has failed to build, install, or execute postinst:
111 >  *
112 >  *  (net-misc/youtube-dl-99999999:0/0::gentoo, ebuild scheduled for
113 > merge), Log file:
114 >  *   '/var/log/portage/net-misc:youtube-dl-99999999:20201028-012948.log'
115 >  *
116 > root@fireball / #
117 >
118 >
119 > Is that because RIAA made them remove something or have I found a whole
120 > new problem?  o-O
121 >
122 > Dale
123 >
124 > :-)  :-) 
125 >
126
127
128 Howdy,
129
130 It's been rough since my last message.  My puter made a fairly loud pop
131 sound and then went dark.  Trust me, it went dark in here.  My monitors
132 and everything went black.  That's not something this room sees much. 
133 Anyway, my power supply decided to take a long nap.  The primary
134 capacitor went out.  It's still in tact and all but it is domed up
135 pretty good.  I'm not sure what made the pop sound since the cap is in
136 somewhat good shape.  It's domed enough I'm 99.99% sure it started the
137 mess.  I'm just glad I bought a good one since my mobo and all seems to
138 be fine.  Those protection circuits did a awesome job.  It was a
139 ThermalTake that was several years old.  I got my money's worth and then
140 some. 
141
142 I bought a new power supply.  It's a Evga 650 watt, same wattage as old
143 one.  Sticker says 100-N1-0650-L1.  I had to drive about 70 miles to get
144 to a big computer store.  The repair guy says he uses them a lot and has
145 only had one or two go out under warranty.  He said the protection
146 circuits work good on those and protected the mobo etc.  I'll do more
147 research later on and order a better one if needed. 
148
149 I'm thinking about replacing that cap and seeing if it works.  I've
150 repaired a few monitors that way but my question is, should I trust it
151 after replacing that cap even if it works??  Should it be load tested or
152 something?  Does the protection circuitry only work once? 
153
154 Trying to get things back going here.  Just glad my baby has that
155 annoyingly bright blue LED back on.  ROFL 
156
157 Dale
158
159 :-)  :-) 

Replies

Subject Author
Re: [gentoo-user] youtube-dl and the conf file. Michael <confabulate@××××××××.com>