Opened 14 years ago
Closed 14 years ago
#25122 closed defect (fixed)
confusing error message when setrequested used on non-installed port
Reported by: | swebster@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 1.8.99 |
Keywords: | Cc: | ||
Port: |
Description
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)
Change History (1)
comment:1 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Version: | 1.9.99 → 1.8.99 |
Note: See
TracTickets for help on using
tickets.
Thanks for the report, fixed in r68463.