Package: youtube-dl
Version: 2013.08.29-1
Severity: normal

Dear Maintainer,

I upgraded and rebooted (I don't reboot very often, so I don't know which 
version broke first) and I could not login anymore: the session seemed 
to be crashing just after I enter my username and password to gdm3.

I looked up at ~/.xsession-errors and found this:

/etc/gdm3/Xsession: Beginning session setup...
/etc/bash_completion.d/youtube-dl.bash-completion: line 12: `__youtube-dl': not 
a valid identifier

So it seems that bash has a problem with __youtube-dl function name, 
in particular the dash (minus) symbol, I had to remove the dash to 
make it work again.

Xsession loads ~/.profile and my .profile loads .bashrc which loads 
the bash completions like this:

if [ -z "$BASH_COMPLETION" ] && [ -f /etc/bash_completion ]; then
        . /etc/bash_completion
fi

So it looks all normal, but it just breaks my login.

Best regards,
Marius

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages youtube-dl depends on:
ii  python  2.7.5-4

Versions of packages youtube-dl recommends:
pn  libav-tools | ffmpeg | ffprobe  <none>
pn  mplayer2 | mplayer              <none>
ii  rtmpdump                        2.4+20121230.gitdf6c518-1

youtube-dl suggests no packages.

-- Configuration Files:
/etc/bash_completion.d/youtube-dl.bash-completion changed:
__youtubedl()
{
    local cur prev opts
    COMPREPLY=()
    cur="${COMP_WORDS[COMP_CWORD]}"
    opts="--help --version --update --ignore-errors --dump-user-agent 
--user-agent --referer --list-extractors --extractor-descriptions --proxy 
--no-check-certificate --playlist-start --playlist-end --match-title 
--reject-title --max-downloads --min-filesize --max-filesize --date 
--datebefore --dateafter --rate-limit --retries --buffer-size 
--no-resize-buffer --test --title --id --literal --auto-number --output 
--autonumber-size --restrict-filenames --batch-file --no-overwrites --continue 
--no-continue --cookies --no-part --no-mtime --write-description 
--write-info-json --write-thumbnail --quiet --simulate --skip-download 
--get-url --get-title --get-id --get-thumbnail --get-description --get-filename 
--get-format --newline --no-progress --console-title --verbose 
--dump-intermediate-pages --format --all-formats --prefer-free-formats 
--max-quality --list-formats --write-sub --write-auto-sub --only-sub --all-subs 
--list-subs --sub-format --sub-lang --username --password --netrc 
 --video-password --extract-audio --audio-format --audio-quality --recode-video 
--keep-video --no-post-overwrites --embed-subs"
    if [[ ${cur} == * ]] ; then
        COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
        return 0
    fi
}
complete -F __youtubedl youtube-dl


-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to