Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Youtube-dl broken
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
LuxJux
Guru
Guru


Joined: 01 Mar 2016
Posts: 497
Location: Germany/Berlin

PostPosted: Sun Jun 03, 2018 2:15 pm    Post subject: [solved] Youtube-dl broken Reply with quote

It is just a sample. All other downloads have the same problem.
Did I miss something ?


Code:
guest@plasma ~ $ youtube-dl https://youtu.be/K0GhI_YYQ_0?list=PLGWGc5dfbzn9d6zpCrz_OlFGlySwBxaQH
[youtube:playlist] Downloading playlist PLGWGc5dfbzn9d6zpCrz_OlFGlySwBxaQH - add --no-playlist to just download video K0GhI_YYQ_0
[youtube:playlist] PLGWGc5dfbzn9d6zpCrz_OlFGlySwBxaQH: Downloading webpage
[download] Downloading playlist: Grand Theft Auto V
[youtube:playlist] PLGWGc5dfbzn9d6zpCrz_OlFGlySwBxaQH: Downloading page #1
[youtube:playlist] playlist Grand Theft Auto V: Downloading 107 videos
[download] Downloading video 1 of 107
[youtube] jl2xNWeujZs: Downloading webpage
[youtube] jl2xNWeujZs: Downloading video info webpage
[youtube] jl2xNWeujZs: Extracting video information
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.5/youtube-dl", line 11, in <module>
    load_entry_point('youtube-dl==2017.11.15', 'console_scripts', 'youtube-dl')()
  File "/usr/lib64/python3.5/site-packages/youtube_dl/__init__.py", line 465, in main
    _real_main(argv)
  File "/usr/lib64/python3.5/site-packages/youtube_dl/__init__.py", line 455, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/lib64/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 1986, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/lib64/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 795, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/lib64/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 992, in process_ie_result
    extra_info=extra)
  File "/usr/lib64/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 856, in process_ie_result
    extra_info=extra_info)
  File "/usr/lib64/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 795, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/lib64/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 849, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/lib64/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 1620, in process_video_result
    self.process_info(new_info)
  File "/usr/lib64/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 1873, in process_info
    if os.path.exists(encodeFilename(filename)):
  File "/usr/lib64/python3.5/genericpath.py", line 19, in exists
    os.stat(path)
  File "/usr/lib64/python3.5/encodings/iso8859_15.py", line 12, in encode
    return codecs.charmap_encode(input,errors,encoding_table)
UnicodeEncodeError: 'charmap' codec can't encode character '\u2605' in position 49: character maps to <undefined>
guest@plasma ~ $


Last edited by LuxJux on Mon Jun 04, 2018 10:00 am; edited 1 time in total
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Sun Jun 03, 2018 3:43 pm    Post subject: Re: Youtube-dl broken Reply with quote

LuxJux wrote:
File "/usr/lib64/python3.5/encodings/iso8859_15.py", line 12, in encode
return codecs.charmap_encode(input,errors,encoding_table)
UnicodeEncodeError: 'charmap' codec can't encode character '\u2605' in position 49: character maps to <undefined>[/code]

LuxJux ... looks like a locale issue, can you provide the output of the following:

Code:
$ locale
$ locale -a

... also 'emerge --info' might be of some help here.

best ... khay
Back to top
View user's profile Send private message
LuxJux
Guru
Guru


Joined: 01 Mar 2016
Posts: 497
Location: Germany/Berlin

PostPosted: Sun Jun 03, 2018 4:15 pm    Post subject: Reply with quote

Try this https://www.youtube.com/watch?v=mgAcA19cYHY&index=9&list=PLGWGc5dfbzn-ITqeHy24ajZlNSfdfVl1B
Does Youtube has locales ?

Never mind. Here you get

Code:

guest@plasma ~ $ emerge --info
Portage 2.3.40 (python 3.5.5-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-6.4.0, glibc-2.26-r7, 4.16.13-gentoo x86_64)
=================================================================
System uname: Linux-4.16.13-gentoo-x86_64-Intel-R-_Core-TM-_i5-4590_CPU_@_3.30GHz-with-gentoo-2.4.1
KiB Mem:     8129888 total,   4902088 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 03 Jun 2018 09:30:01 +0000
Head commit of repository gentoo: 6c0f0bcc965b457103ee716fe7ee20df9fce0805
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p2) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r2::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* google-chrome -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.modulix.net/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de de_DE"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa alsa-plugin amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif glamor gpm gtk iconv icu ipv6 jpeg kde kipi kwallet lcms ldap libnotify libtirpc mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt3support qt5 readline sdl seccomp semantic-desktop spell ssl staging startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="de de_DE" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="radeonsi fbdev amdgpu" XFCE_PLUGINS="brightness clock trash" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

guest@plasma ~ $


Code:

guest@plasma ~ $ locale
LANG=de_DE.iso885915@euro
LC_CTYPE="de_DE.iso885915@euro"
LC_NUMERIC="de_DE.iso885915@euro"
LC_TIME="de_DE.iso885915@euro"
LC_COLLATE="de_DE.iso885915@euro"
LC_MONETARY="de_DE.iso885915@euro"
LC_MESSAGES="de_DE.iso885915@euro"
LC_PAPER="de_DE.iso885915@euro"
LC_NAME="de_DE.iso885915@euro"
LC_ADDRESS="de_DE.iso885915@euro"
LC_TELEPHONE="de_DE.iso885915@euro"
LC_MEASUREMENT="de_DE.iso885915@euro"
LC_IDENTIFICATION="de_DE.iso885915@euro"
LC_ALL=


Code:

guest@plasma ~ $ locale -a
C
de_DE
de_DE@euro
de_DE.iso88591
de_DE.iso885915@euro
de_DE.utf8
POSIX
guest@plasma ~ $
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30909
Location: here

PostPosted: Sun Jun 03, 2018 6:07 pm    Post subject: Reply with quote

Setting de_DE.utf8 resolve problem
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
LuxJux
Guru
Guru


Joined: 01 Mar 2016
Posts: 497
Location: Germany/Berlin

PostPosted: Sun Jun 03, 2018 6:18 pm    Post subject: Reply with quote

Can you please tell what to do ?
My locales where setting up correct


Last edited by LuxJux on Sun Jun 03, 2018 6:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sun Jun 03, 2018 6:22 pm    Post subject: Reply with quote

LuxJux wrote:
Can you please tell what to do ?


Use your favorite search engine, you will end up here: https://wiki.gentoo.org/wiki/UTF-8#Setting_up_UTF-8_in_Gentoo
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30909
Location: here

PostPosted: Sun Jun 03, 2018 6:31 pm    Post subject: Reply with quote

I used eselect method to reproduce the problem, with 8859 I've the same problem with utf8 no
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
LuxJux
Guru
Guru


Joined: 01 Mar 2016
Posts: 497
Location: Germany/Berlin

PostPosted: Sun Jun 03, 2018 6:32 pm    Post subject: Reply with quote

because it was overcrossed
LuxJux wrote:
My locales where setting up correct


And why I do have a C within my locale -a ?
Back to top
View user's profile Send private message
LuxJux
Guru
Guru


Joined: 01 Mar 2016
Posts: 497
Location: Germany/Berlin

PostPosted: Sun Jun 03, 2018 7:24 pm    Post subject: Reply with quote

I cannot fix it. Seems to be a must have.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30909
Location: here

PostPosted: Sun Jun 03, 2018 7:38 pm    Post subject: Reply with quote

Sorry I'm lost, what return locale command now? You selected utf8 with eselect locale set de_DE.utf8?
_________________
Questions are guaranteed in life; Answers aren't.


Last edited by fedeliallalinea on Mon Jun 04, 2018 10:59 am; edited 1 time in total
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Sun Jun 03, 2018 7:50 pm    Post subject: Reply with quote

LuxJux wrote:
because it was overcrossed

LuxJux ... not sure what you mean by that ...

LuxJux wrote:
My locales where setting up correct

Yes, if you want a non-UTF-8 locale, but you most likely don't (as you can run into issues like this). As fedeliallalinea pointed out, you should really be using 'de_DE.utf8'.

LuxJux wrote:
And why I do have a C within my locale -a ?

This is a POSIX standard locale, it comes gratis with glibc. In fact you should add the following to make.conf so that 'C' is used for builds/merges.

/etc/portage/make.conf:
LANG="C"

LixJux wrote:
I cannot fix it. Seems to be a must have.

Well, in such cases you really need provide us with details of what you've done to try and fix it, "doesn't work" doesn't help us understand why it doesn't work. The following should get you a UTF-8 locale:

You have generated a 'de_DE.utf8' locate (via /etc/locale-gen), so run eselect and select it ...

Code:
# eselect locale list
# eselect locale set {n}

... where '{n}' is the number of the 'de_DE.utf8' locale provided by 'list'. You then restart the shell, or X session, for changes to come into effect.

Code:
$ exec /bin/bash --login
$ locale

That should be enough to resolve your current issue.

best ... khay
Back to top
View user's profile Send private message
LuxJux
Guru
Guru


Joined: 01 Mar 2016
Posts: 497
Location: Germany/Berlin

PostPosted: Mon Jun 04, 2018 10:00 am    Post subject: Reply with quote

Thank you very much for the help.
Back to top
View user's profile Send private message
LuxJux
Guru
Guru


Joined: 01 Mar 2016
Posts: 497
Location: Germany/Berlin

PostPosted: Mon Jun 04, 2018 6:42 pm    Post subject: Reply with quote

Oh, the help fix

Code:
 eselect locale list
eselect locale set 6
. /etc/profile

----------------------------------------
khayyam wrote:

LuxJux wrote:
And why I do have a C within my locale -a ?

This is a POSIX standard locale, it comes gratis with glibc. In fact you should add the following to make.conf so that 'C' is used for builds/merges.

/etc/portage/make.conf:
LANG="C"



make.conf1 updated

Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.

CHOST="x86_64-pc-linux-gnu"
USERLAND="GNU"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
ACCEPT_LICENSE="* google-chrome -@EULA"
# These are the USE and USE_EXPAND flags that were used for
# buidling in addition to what is provided by the profile.
# USE="bindist"
USE="-bindist icu X staging -libprocy dvd alsa alsa-plugin cdr gdbm pulseaudio"
# USE="bindist staging -libproxy -qt4 3dnow 3dnowext X a52 aac acl acpi aes alsa amd64 amr audiofile avi avx berkdb bittorrent box bzip2 cairo caps cdda cddb cdparanoia cdr cgroups chm cli consolekit cpudetection cracklib crypt css cue cups cxx dbus dftk djvu dri dv dvd dvdr dvdread ebook encode exif faac fexif ffmpeg flac flash fma3 fma4 foomaticdb fortran ftp gadu gd gdbm gif gphoto2 gpm gstreamer gtk hunspell iconv id3tag idn ieee1394 imagemagick imap introspection ios ipod ipv6 irc jabber jpeg jpeg2k konsole libnotify libwww lm_sensors logrotate lzo mad matroska mikmod mimap mmx mmxext modules mp3 mpeg mplayer multilib musepack ncurses networkmanager nfs nls nptl nsplugin ogg oggvorbis openal opencore-amr openexr opengl openmp opus oscar padlock pcre pdf pgo png policykit popcnt ppp pulseaudio quicktime raw rdesktop readline real samba sasl scanner sdl seccomp semantic-desktop session smp smtp speex spell srt sse sse2 sse3 sse4_1 sse4_2 sse4a ssl ssse3 svg taglib tcpd tga theora threads tiff truetype udev udisks unicode upnp upower usb userlocales v4l v4l2 vaapi vcd vdpau vhosts vorbis vpx wavpack webkit webp wimax win32codecs wmf wxwindows x264 x265 xanim xattr xcomposite xinerama xmp xop xv xvid xvmc zlib"
XFCE_PLUGINS="brightness clock trash"

VIDEO_CARDS="radeonsi fbdev amdgpu"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
CAMERAS="*"
INPUT_DEVICES="libinput keyboard mouse"
LANG="C"
LANG="de_DE.utf8"
L10N="de de_DE"
LINGUAS="en de de_DE"
LIRC_DEVICES="devinput"

MAKEOPTS="-j5"
# CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"

#CPU_FLAGS_X86="mmx sse sse2"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"

GENTOO_MIRRORS="http://gentoo.modulix.net/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"


Make.conf2
Should it better looks like this ?
Quote:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.

CHOST="x86_64-pc-linux-gnu"
USERLAND="GNU"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
ACCEPT_LICENSE="* google-chrome -@EULA"
# These are the USE and USE_EXPAND flags that were used for
# buidling in addition to what is provided by the profile.
# USE="bindist"
USE="-bindist icu X staging -libprocy dvd alsa alsa-plugin cdr gdbm pulseaudio"
# USE="bindist staging -libproxy -qt4 3dnow 3dnowext X a52 aac acl acpi aes alsa amd64 amr audiofile avi avx berkdb bittorrent box bzip2 cairo caps cdda cddb cdparanoia cdr cgroups chm cli consolekit cpudetection cracklib crypt css cue cups cxx dbus dftk djvu dri dv dvd dvdr dvdread ebook encode exif faac fexif ffmpeg flac flash fma3 fma4 foomaticdb fortran ftp gadu gd gdbm gif gphoto2 gpm gstreamer gtk hunspell iconv id3tag idn ieee1394 imagemagick imap introspection ios ipod ipv6 irc jabber jpeg jpeg2k konsole libnotify libwww lm_sensors logrotate lzo mad matroska mikmod mimap mmx mmxext modules mp3 mpeg mplayer multilib musepack ncurses networkmanager nfs nls nptl nsplugin ogg oggvorbis openal opencore-amr openexr opengl openmp opus oscar padlock pcre pdf pgo png policykit popcnt ppp pulseaudio quicktime raw rdesktop readline real samba sasl scanner sdl seccomp semantic-desktop session smp smtp speex spell srt sse sse2 sse3 sse4_1 sse4_2 sse4a ssl ssse3 svg taglib tcpd tga theora threads tiff truetype udev udisks unicode upnp upower usb userlocales v4l v4l2 vaapi vcd vdpau vhosts vorbis vpx wavpack webkit webp wimax win32codecs wmf wxwindows x264 x265 xanim xattr xcomposite xinerama xmp xop xv xvid xvmc zlib"
XFCE_PLUGINS="brightness clock trash"

VIDEO_CARDS="radeonsi fbdev amdgpu"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
CAMERAS="*"
INPUT_DEVICES="libinput keyboard mouse"
LANG="C"
#LANG="de_DE.utf8"
#L10N="de de_DE"
#LINGUAS="en de de_DE"

LIRC_DEVICES="devinput"

MAKEOPTS="-j5"
# CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"

#CPU_FLAGS_X86="mmx sse sse2"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"

GENTOO_MIRRORS="http://gentoo.modulix.net/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"

Don't know why. My locales where set to
[5] de_DE.iso885915@euro

This is different from make.conf settings
LANG="de_DE.utf8"

emerge conflict error ?
Why I have to setup a flag, when it ist not recognized
--------------

Edit: updated a "not"


Last edited by LuxJux on Mon Jun 04, 2018 7:38 pm; edited 4 times in total
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Mon Jun 04, 2018 7:29 pm    Post subject: Reply with quote

LuxJux wrote:
make.conf:
LANG="C"
LANG="de_DE.utf8"
L10N="de de_DE"
LINGUAS="en de de_DE"

LuxJux ... if you definite it twice then the later will be the one used, so you only want LANG="C". As for LINGUAS and L10N I think only the later is used these days.

LuxJux wrote:
Don't know why. My locales where set to
[5] de_DE.iso885915@euro
This is different from the make.conf settings
LANG="de_DE.utf8"

Well, they serve different purposes, the former is what 'locale' is set to, and the later the locale used during configure/build (so for emerge internally).

best ... khay
Back to top
View user's profile Send private message
hkmaly
n00b
n00b


Joined: 13 Jul 2006
Posts: 45

PostPosted: Thu May 27, 2021 10:59 pm    Post subject: Reply with quote

If you don't want to change your global settings (either because it's correct or because you don't have time), the correct way to run youtube-dl is
Code:
LC_ALL=something.utf8 youtube-dl ...

for example
Code:
LC_ALL=en_US.utf8 youtube-dl ...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum