command help for ginit and gtags not working

Bug #512701 reported by Alexander Röhnsch on 2010-01-26
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar GTK+ Frontends
Medium
Andrew Starr-Bochicchio

Bug Description

A 'bzr help ginit' or 'bzr help gtags' does not show the command help, but throws an error like this:

$ bzr help ginit
bzr: ERROR: exceptions.NotImplementedError: sorry, no detailed help yet for 'ginit'

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    attaching the crash file
        /home/atom/.cache/crash/bzr-20100126085918-10671.crash
    and including a description of the problem.

    The crash file is plain text and you can inspect or edit it to remove
    private information.

Is there really no detailed help for ginit and gtags? Then maybe a simple message output saying so would be more fitting than a crash report. Or is this a malfunction?

Crash file is attached.

Bazaar version used:

Bazaar (bzr) 2.0.4
  Python interpreter: /usr/bin/python 2.5.2
  Python standard library: /usr/lib/python2.5
  Platform: Linux-2.6.27-16-generic-x86_64-with-debian-lenny-sid
  bzrlib: /usr/lib/python2.5/site-packages/bzrlib
  Bazaar configuration: /home/atom/.bazaar
  Bazaar log file: /home/atom/.bzr.log

PythonVersion: 2.5.2
Traceback:
 Traceback (most recent call last):
   File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 842, in exception_to_return_code
     return the_callable(*args, **kwargs)
   File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 1037, in run_bzr
     ret = run(*run_argv)
   File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 654, in run_argv_aliases
     return self.run(**all_cmd_args)
   File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 1052, in ignore_pipe
     result = func(*args, **kwargs)
   File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 4094, in run
     bzrlib.help.help(topic)
   File "/usr/lib/python2.5/site-packages/bzrlib/help.py", line 52, in help
     outfile.write(source.get_help_text(shadowed_terms))
   File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 434, in get_help_text
     raise NotImplementedError("sorry, no detailed help yet for %r" % self.name())
 NotImplementedError: sorry, no detailed help yet for 'ginit'

Related branches

Alexander Röhnsch (roehnsch) wrote :
Martin Pool (mbp) wrote :

possibly core bazaar should not treat this as a crash, though I think the main thing is that there should be help

affects: bzr → bzr-gtk
description: updated
Martin Pool (mbp) wrote :

it's true there are no help strings on these commands

Thanks very much for the patch. Can you please put it up as a merge
proposal instead though?

--
Martin <http://launchpad.net/~mbp/>

Martin Pool (mbp) wrote :
Changed in bzr-gtk:
status: New → In Progress
importance: Undecided → Medium
Vincent Ladeuil (vila) on 2010-02-24
Changed in bzr-gtk:
milestone: none → 0.98.0
status: In Progress → Fix Released
Jelmer Vernooij (jelmer) on 2011-03-02
Changed in bzr-gtk:
assignee: nobody → Andrew Starr-Bochicchio (andrewsomething)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Patches