error: can't read "result": no such variable

Craig Treleaven ctreleaven at macports.org
Fri Dec 1 22:12:28 UTC 2017


> On Dec 1, 2017, at 4:44 PM, Gideon Simpson <gideon.simpson at gmail.com> wrote:
> 
> I just started having the problem:
> 
> gideon at mymachine:~$ port list outdated
> can't read "result": no such variable
>     while executing
> "ui_debug "sw_vers exists but running it failed: $result""
>     invoked from within
> "try -pass_signal {
>             set macosx_version [exec /usr/bin/sw_vers -productVersion | cut -f1,2 -d.]
>         } catch {*} {
>             ui_debug "..."
>     (procedure "mportinit" line 56)
>     invoked from within
> "mportinit ui_options global_options global_variations"
> Error: /opt/local/bin/port: Failed to initialize MacPorts, can't read "result": no such variable
> 

Hmm, works for me.  However, is there some reason you want to use the ‘list’ verb?  Try using just ‘port outdated’.

Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20171201/ae2da935/attachment.html>


More information about the macports-users mailing list