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

Gideon Simpson gideon.simpson at gmail.com
Fri Dec 1 22:14:16 UTC 2017


It worked for me too until I did a self update sometime today.  Is there a way to fix this or should I just blow away the installation?

-gideon

> On Dec 1, 2017, at 5:12 PM, Craig Treleaven <ctreleaven at macports.org> wrote:
> 
>> On Dec 1, 2017, at 4:44 PM, Gideon Simpson <gideon.simpson at gmail.com <mailto: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/4bf078ae/attachment.html>


More information about the macports-users mailing list