﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
1516	command-line breaks when a command is a prefix of another command (was: make install: '_Defer' object has no attribute 'function')	Tristan Croll	Greg Couch	"I *think* this has been triggered because I defined a set of commands `clipper xxx ...` for which the existing `clip` command is a prefix. Anyway, when I run `make app-install` I get, at the tail end of the build:

{{{
Executing: toolshed install './dist/ChimeraX_Clipper-0.2.1-cp36-cp36m-linux_x86_64.whl'
unloading module chimerax.clipper
Successfully installed ChimeraX-Clipper-0.2.1
Installed ChimeraX-Clipper (0.2.1)
'_Defer' object has no attribute 'function'

exit
Unknown command: exit
Unknown command: exit
100.00% done: Finished initialization
UCSF ChimeraX version: 0.8 (2018-12-06)
cmd> 
}}}

With no traceback I have no idea where the offending `_Defer.function` call is (I believe it should be replaced with `...proxy`), but adding the following to `commands.cli._Defer` is a successful band-aid:

{{{
    @property
    def function(self):
        return self.proxy
}}} "	defect	closed	major		Command Line		fixed		Conrad Huang				all	ChimeraX
