[MacPorts] #43066: ports "mapm3" meets an unhanded internal error, and macports can't be updated
MacPorts
noreply at macports.org
Mon Mar 24 23:57:50 PDT 2014
#43066: ports "mapm3" meets an unhanded internal error, and macports can't be
updated
--------------------------+--------------------------------
Reporter: 474403670@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: |
--------------------------+--------------------------------
Old description:
> Several months ago, i installed a port "mapm3" through Mac Ports, but now
> when i load data into MAPMAKER/QTL, it always show:
> error: unable to load data from file
> line -200938496:
> data file not loaded
> *** Drats! An unhandled internal error occured. ***
> Error message #24 (bad quant data file) was sent.
>
> i think it must be a internal error, so i want to update the Mac Ports,
> but it alway show:
> ~ Sophia$ port
> MacPorts 2.2.1
> Entering interactive mode... ("help" for help, "quit" to quit)
> [Users/Sophia] > sudo port selfupdate
> Error: Unrecognized action "port sudo"
> [Users/Sophia] >
> [Users/Sophia] > port
> Can't map the URL 'file://.' to a port description file ("Could not find
> Portfile in /Users/Sophia").
> Please verify that the directory and portfile syntax are correct.
> To use the current port, you must be in a port's directory.
> [Users/Sophia] >
>
> what was the matter?
New description:
Several months ago, i installed a port "mapm3" through Mac Ports, but now
when i load data into MAPMAKER/QTL, it always show:
{{{
error: unable to load data from file
line -200938496:
data file not loaded
*** Drats! An unhandled internal error occured. ***
Error message #24 (bad quant data file) was sent.
}}}
i think it must be a internal error, so i want to update the Mac Ports,
but it alway show:
{{{
~ Sophia$ port
MacPorts 2.2.1
Entering interactive mode... ("help" for help, "quit" to quit)
[Users/Sophia] > sudo port selfupdate
Error: Unrecognized action "port sudo"
[Users/Sophia] >
[Users/Sophia] > port
Can't map the URL 'file://.' to a port description file ("Could not find
Portfile in /Users/Sophia").
Please verify that the directory and portfile syntax are correct.
To use the current port, you must be in a port's directory.
[Users/Sophia] >
}}}
what was the matter?
--
Comment (by ryandesign@…):
Please use WikiFormatting when writing in Trac.
The correct way to update MacPorts is to run
{{{
sudo port selfupdate
}}}
at the shell prompt. Do ''not'' run "port" by itself first, because that
puts you into the MacPorts interactive mode, which as you've discovered,
does not know any command named "sudo". To exit the MacPorts interactive
mode, you can type "quit" and press Return.
--
Ticket URL: <https://trac.macports.org/ticket/43066#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list