Opened 11 years ago
Closed 11 years ago
#40652 closed defect (fixed)
py-pyqt4: can't read "portinfo(version)": no such element in array
Reported by: | feliks.kluzniak@… | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | High | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | Cc: | mndavidoff (Monte Davidoff) | |
Port: | py-pyqt4 |
Description
After today's "selfupdate" the basic "port" file has not changed, but apparently something got corrupted. Everything else seems to work well, but the command "list" gives an error, as show below. (Repeating selfupdate went without a hitch, but the problem persists.)
If this is only on my machine, I'd appreciate a hint: How can I recover without reinstalling everything?
> port list .... py25-pyprotocols @1.0a0dev-r2302 python/py-pyprotocols py26-pyprotocols @1.0a0dev-r2302 python/py-pyprotocols can't read "portinfo(version)": no such element in array while executing "format "%-30s @%-14s %s" $portinfo(name) $portinfo(version) $outdir" ("foreach" body line 8) invoked from within "foreach {name array} $res { array unset portinfo array set portinfo $array set outdir "" if {[info exi..." ("uplevel" body line 17) invoked from within "uplevel 1 $block" (procedure "foreachport" line 20) invoked from within "foreachport $portlist { if {$portname == "-all-"} { if {[catch {set res [mportlistall]} result]} { global errorInfo..." (procedure "action_list" line 10) invoked from within "$action_proc $action $portlist [array get global_options]" (procedure "process_cmd" line 93) 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 4857) > ll /opt/local/bin/port -r-xr-xr-x 1 root admin 167450 23 Jul 03:33 /opt/local/bin/port
Change History (5)
comment:1 follow-up: 2 Changed 11 years ago by mndavidoff (Monte Davidoff)
Cc: | md14-macports@… added |
---|
comment:2 Changed 11 years ago by dazuelos (dan)
Same problem on a /opt/local
installation dir created today.
comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Component: | base → ports |
---|---|
Owner: | changed from macports-tickets@… to michaelld@… |
Port: | py-pyqt4 added |
Priority: | Normal → High |
Summary: | After selfupdate the list command fails → py-pyqt4: can't read "portinfo(version)": no such element in array |
It seems that after r111812, the py-pyqt4 stub port no longer declares version
, which is a required variable without which MacPorts blows up.
comment:5 Changed 11 years ago by michaelld (Michael Dickens)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Cc Me!