[MacPorts] #36638: Failed to initialize MacPorts
MacPorts
noreply at macports.org
Wed Oct 17 04:35:19 PDT 2012
#36638: Failed to initialize MacPorts
-----------------------+--------------------------------
Reporter: carsten@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: High | Milestone:
Component: base | Version: 2.1.2
Keywords: Tcl | Port:
-----------------------+--------------------------------
For no particular reason, the base system stopped working completely.
Entering "port" on the Command line gives the following Tcl error:
{{{
sh-3.2# port
}}}
{{{
invalid command name "::tcl::tm::UnknownHandler"
while executing
"::tcl::tm::UnknownHandler {::tcl::MacOSXPkgUnknown ::tclPkgUnknown}
msgcat 0-"
("package unknown" script)
invoked from within
"package require msgcat"
(file "/opt/local/share/macports/Tcl/registry2.0/registry.tcl" line
40)
invoked from within
"source /opt/local/share/macports/Tcl/registry2.0/registry.tcl"
("package ifneeded registry 1.0" script)
invoked from within
"package require registry 1.0"
(procedure "mportinit" line 485)
invoked from within
"mportinit ui_options global_options global_variations"
Error: /opt/local/bin/port: Failed to initialize MacPorts, invalid command
name "::tcl::tm::UnknownHandler"
sh-3.2# port -vvv
invalid command name "::tcl::tm::UnknownHandler"
while executing
"::tcl::tm::UnknownHandler {::tcl::MacOSXPkgUnknown ::tclPkgUnknown}
msgcat 0-"
("package unknown" script)
invoked from within
"package require msgcat"
(file "/opt/local/share/macports/Tcl/registry2.0/registry.tcl" line
40)
invoked from within
"source /opt/local/share/macports/Tcl/registry2.0/registry.tcl"
("package ifneeded registry 1.0" script)
invoked from within
"package require registry 1.0"
(procedure "mportinit" line 485)
invoked from within
"mportinit ui_options global_options global_variations"
Error: /opt/local/bin/port: Failed to initialize MacPorts, invalid command
name "::tcl::tm::UnknownHandler"
}}}
My system is a MacBook (mid-2009) running MountainLion and XCode with all
current updates.
I have tried to
* reinstall MacPorts from the installer
* reinstall MacPorts from the source
Both installation and compilation of MacPorts works correctly, but the
command "port" keeps failing with the above error.
--
Ticket URL: <https://trac.macports.org/ticket/36638>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list