command tab completion prints out Traceback

Bug #1622775 reported by Christopher Lee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Unassigned

Bug Description

Typing: "juju status <tab>" outputs the following:

$ juju status Traceback (most recent call last):
  File "<string>", line 3, in <module>
KeyError: 'services'
Traceback (most recent call last):
  File "<string>", line 5, in <module>
KeyError: 'services'

--color
--format
--no-browser-login
-o
--output
--utc

Changed in juju:
milestone: none → 2.0-rc1
Changed in juju:
status: New → Triaged
importance: Undecided → Medium
Curtis Hovey (sinzui)
tags: added: bash-completion
Changed in juju:
importance: Medium → High
Changed in juju:
milestone: 2.0-rc1 → 2.0-rc2
Revision history for this message
Richard Harding (rharding) wrote :

replicated with rc1, you just need to juju bootstrap testing localhost. We're looking for services somewhere it should be applications.

https://github.com/juju/juju/blob/master/etc/bash_completion.d/juju-2.0

Nothing is looking for the key services there and the cache file is located in /home/rharding/.cache/juju/xxxx (name is generated)

Changed in juju:
milestone: 2.0-rc2 → 2.0.0
assignee: nobody → Richard Harding (rharding)
tags: added: teamb
tags: added: rteam
removed: teamb
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.0-rc3 → 2.0.0
Changed in juju:
milestone: 2.0.0 → 2.0.1
Changed in juju:
status: Triaged → In Progress
assignee: Richard Harding (rharding) → Dimiter Naydenov (dimitern)
Revision history for this message
Dimiter Naydenov (dimitern) wrote :

I couldn't reproduce the issue, but found a couple of other minor things which can be improved with this proposed PR: https://github.com/juju/juju/pull/6499/

Revision history for this message
Dimiter Naydenov (dimitern) wrote :

Setting to Incomplete - unable to reproduce.

Changed in juju:
status: In Progress → Incomplete
assignee: Dimiter Naydenov (dimitern) → nobody
Changed in juju:
milestone: 2.0.1 → none
Changed in juju:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.