Opened 9 years ago

Closed 9 years ago

#49684 closed defect (invalid)

python27: activation fails, IDLE.app already exists and does not belong to a registered port

Reported by: xerix@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: python27

Description

HI, port install python27 failed after a port clean python27.

Attachments (1)

main.log (591.4 KB) - added by xerix@… 9 years ago.
main.log

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by xerix@…

Attachment: main.log added

main.log

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Priority: HighNormal

The Priority field is for use by Macports team members only.

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Port: python27 added
Summary: ElCapitan Python27 Install failedpython27: activation fails, IDLE.app already exists and does not belong to a registered port

The log says:

:debug:activate Backtrace: Image error: /Applications/MacPorts/Python 2.7/IDLE.app/Contents/Info.plist already exists and does not belong to a registered port.  Unable to activate port python27. Use 'port -f activate python27' to force the activation.

Why does this file already exist on your system, if it did not come from MacPorts?

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: invalid
Status: newclosed

If this file already existed on your system and prevented the activation of the python27 port, then it's possible you have other files on your system that will prevent the activation of other ports in the future—or worse, cause build failures or incorrect builds. If you cannot explain how these files got there, it's best to uninstall MacPorts, including deleting the directories mentioned in those instructions, then reinstall MacPorts and the ports you want. That way you can be sure there are no files that shouldn't be there.

Note: See TracTickets for help on using tickets.