Opened 10 years ago
Last modified 10 years ago
#11504 closed defect
AttributeError: 'NoneType' object has no attribute 'get_similar_commands' — at Initial Version
Reported by: | Ryan J Ollos | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 0.12.6 |
Component: | admin/console | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
When running the command:
trac-admin $env help $cmd
the following output results for the case that $env
is not a valid environment and $cmd
is not a valid command:
$ trac-admin noenv help nocmd No documentation found for 'nocmd'. Use 'help' to see the list of commands. AttributeError: 'NoneType' object has no attribute 'get_similar_commands'
Prior to [12277], a different error would result:
$ trac-admin noenv help nocmd No documentation found for 'nocmd'. Use 'help' to see the list of commands. UnboundLocalError: local variable 'cmd_mgr' referenced before assignment
Thanks to Olemis Lang for initial investigating of the issue, which was reported in bloodhound:#762.
Note:
See TracTickets
for help on using tickets.