Opened 8 weeks ago
Closed 6 weeks ago
#70837 closed defect (worksforme)
python310: Image error: /Applications/MacPorts/Python 3.10/IDLE.app/Contents/Info.plist already exists and does not belong to a registered port
Reported by: | punkish (punkish) | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | python310 |
Description
$ tail -50 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python310/python310/main.log :debug:install removing file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python310/python310/work/destroot/+CONTENTS :debug:install removing file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python310/python310/work/destroot/+DESC :debug:install removing file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python310/python310/work/destroot/+COMMENT :debug:install dropping privileges: euid changed to 502, egid changed to 501. :debug:activate activate phase started at Fri Sep 20 19:10:16 CEST 2024 :debug:activate elevating privileges for activate: euid changed to 0, egid changed to 0. :debug:activate Executing org.macports.activate (python310) :msg:activate ---> Activating python310 @3.10.15_0+lto+optimizations :error:activate Failed to activate python310: Image error: /Applications/MacPorts/Python 3.10/IDLE.app/Contents/Info.plist already exists and does not belong to a registered port. Unable to activate port python310. Use 'port -f activate python310' to force the activation. :error:activate while executing :error:activate "throw registry::image-error $msg" :error:activate ("foreach" body line 77) :error:activate invoked from within :error:activate "foreach file $imagefiles { :error:activate incr progress_step :error:activate _progress update $progress_step $progress_total_steps :error:activate se..." :error:activate invoked from within :error:activate "registry::write { :error:activate foreach file $imagefiles { :error:activate incr progress_step :error:activate _progress update $progress_step $progress_..." :debug:activate Error code: registry::image-error :debug:activate Backtrace: Image error: /Applications/MacPorts/Python 3.10/IDLE.app/Contents/Info.plist already exists and does not belong to a registered port. Unable to activate port python310. Use 'port -f activate python310' to force the activation. :debug:activate while executing :debug:activate "throw registry::image-error $msg" :debug:activate ("foreach" body line 77) :debug:activate invoked from within :debug:activate "foreach file $imagefiles { :debug:activate incr progress_step :debug:activate _progress update $progress_step $progress_total_steps :debug:activate se..." :debug:activate invoked from within :debug:activate "registry::write { :debug:activate foreach file $imagefiles { :debug:activate incr progress_step :debug:activate _progress update $progress_step $progress_..." :debug:activate while executing :debug:activate "throw [dict get $eOptions -errorcode] [dict get $eOptions -errorinfo]" :debug:activate (procedure "_activate_contents" line 256) :debug:activate invoked from within :debug:activate "_activate_contents $requested $rename_list" :debug:activate (procedure "portimage::activate" line 65) :debug:activate invoked from within :debug:activate "registry_activate $subport $_inregistry_version $_inregistry_revision $_inregistry_variants $reg_options" :debug:activate (procedure "portactivate::activate_main" line 20) :debug:activate invoked from within :debug:activate "$procedure $targetname" :debug:activate dropping privileges: euid changed to 502, egid changed to 501. :error:activate See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python310/python310/main.log for details.
Change History (4)
comment:1 Changed 8 weeks ago by punkish (punkish)
comment:2 Changed 8 weeks ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to jmroot |
---|---|
Status: | new → assigned |
Summary: | python310 failed to install on Mac OS X Sequoia → python310: Image error: /Applications/MacPorts/Python 3.10/IDLE.app/Contents/Info.plist already exists and does not belong to a registered port |
It's a completely different problem from #70834 so let's handle this new issue in this new ticket. Let's keep things to one issue per ticket please.
comment:3 Changed 8 weeks ago by jmroot (Joshua Root)
This is usually the result of an incomplete attempt to uninstall MacPorts or an incomplete migration from another system.
comment:4 Changed 6 weeks ago by jmroot (Joshua Root)
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
I made a mistake opening this as a new ticket. Actually, I got this error when trying once again to install
upx
. I removed and reinstalled the commandlinetools (which led to successfully being able to installhugo
andtippecanoe
, both of which had failed earlier). Then I tried to installupx
. This time it ran further than before but failed with the above error (python310 related). This really should be a part of #70834(https://trac.macports.org/ticket/70834)