[MacPorts] #25122: confusing error message when setrequested used on non-installed port
MacPorts
noreply at macports.org
Thu Jun 3 16:05:11 PDT 2010
#25122: confusing error message when setrequested used on non-installed port
-------------------------------------+--------------------------------------
Reporter: swebster@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 1.9.99
Keywords: | Port:
-------------------------------------+--------------------------------------
This is for 1.9.0-rc2 sorry if I set the version wrong...
If I do:
sudo port setrequested git
(where "git" is any port that is not installed or does not exist)
then the output is as shown below. This is perhaps not the most helpful
type of message to print in this situation.
{{{
[~@swmb]$ sudo port setrequested git
can't read "result": no such variable
while executing
"break_softcontinue "$result" 1 status"
("uplevel" body line 12)
invoked from within
"uplevel 1 $block"
(procedure "foreachport" line 18)
invoked from within
"foreachport $portlist {
set composite_version [composite_version $portversion [array get
variations]]
if {![catch {set ilist [registry..."
(procedure "action_setrequested" line 8)
invoked from within
"$action_proc $action $portlist [array get global_options]"
(procedure "process_cmd" line 87)
invoked from within
"process_cmd $remaining_args"
invoked from within
"if { [llength $remaining_args] > 0 } {
# If there are remaining arguments, process those as a command
set exit_status [process_cmd $remaining..."
(file "/opt/local/bin/port" line 4391)
}}}
--
Ticket URL: <http://trac.macports.org/ticket/25122>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list