[Bug 660613] Re: COMP_WORDS bad array subscript in python completion

Nicolas Krzywinski 660613 at bugs.launchpad.net
Fri Apr 5 17:47:51 UTC 2013


I just encountered this on my server, which is debian with bash
4.1.5(1)-release, python 2.6.6 and kernel 2.6.32-5-amd64

But it works with calling the python cmd only:
python /etc/ba<TAB>sh_completion.d/

Exploit:
/usr/bin/python /etc/ba<TAB>-bash: COMP_WORDS: Falscher Feldbezeichner.
sh

Notice: it does not matter what the path is

Since this is the only bug I found for this (german spelled) error
message, I am posting here, though I encountered it NOT on Ubuntu, but
Debian.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/660613

Title:
  COMP_WORDS bad array subscript in python completion

Status in “bash-completion” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: bash-completion

  Get a source checkout of Python:

  bzr branch lp:python
  cd python
  ./configure && make
  ./python Lib/test[TAB]

  The following error occurs at the TAB

  % ./python Lib/testbash: COMP_WORDS: bad array subscript

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/660613/+subscriptions




More information about the foundations-bugs mailing list