[MacPorts] #24656: DEBUG: Backtrace: Is a directory
#24656: DEBUG: Backtrace: Is a directory ---------------------------------------------+------------------------------ Reporter: Andreas.Krueger2@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 1.8.2 Keywords: py25-distribute, is a directory | Port: py25-distribute ---------------------------------------------+------------------------------ I cannot update/install/reinstall py25-distribute bash-3.2# port -d install py25-distribute ends with: DEBUG: Adding file to file_map: /opt/local/lib/python2.5/site- packages/setuptools/tests/test_upload_docs.py for: py25-distribute DEBUG: Adding file to file_map: /opt/local/lib/python2.5/site- packages/setuptools/tests/test_upload_docs.pyc for: py25-distribute DEBUG: Adding file to file_map: /opt/local/lib/python2.5/site- packages/setuptools-0.6c11-py2.5.egg-info for: py25-distribute Error: Target org.macports.activate returned: Is a directory DEBUG: Backtrace: Is a directory while executing "filemap set file_map $file $port" (procedure "receipt_flat::register_file" line 11) invoked from within "${macports::registry.format}::register_file $file $port" (procedure "registry::register_file" line 3) invoked from within "registry::register_file $file $name" (procedure "portimage::activate" line 63) invoked from within "registry_activate $name ${version}_${revision}${portvariants} [array get user_options]" (procedure "portactivate::activate_main" line 3) invoked from within "$procedure $targetname" Warning: the following items did not execute (for py25-distribute): org.macports.activate Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> bash-3.2# -- Ticket URL: <http://trac.macports.org/ticket/24656> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24656: DEBUG: Backtrace: Is a directory ---------------------------------------------+------------------------------ Reporter: Andreas.Krueger2@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 1.8.2 Keywords: py25-distribute, is a directory | Port: py25-distribute ---------------------------------------------+------------------------------ Comment(by Andreas.Krueger2@…): ... but WHAT is a directory? Please add a more verbose error printer there, then I will try again... thanks a lot! Andreas -- Ticket URL: <http://trac.macports.org/ticket/24656#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24656: DEBUG: Backtrace: Is a directory ---------------------------------------------+------------------------------ Reporter: Andreas.Krueger2@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 1.8.2 Keywords: py25-distribute, is a directory | Port: py25-distribute ---------------------------------------------+------------------------------ Comment(by Andreas.Krueger2@…): bash-3.2# port install py25-distribute ---> Computing dependencies for py25-distribute ---> Fetching py25-distribute ---> Verifying checksum(s) for py25-distribute ---> Extracting py25-distribute ---> Configuring py25-distribute ---> Building py25-distribute ---> Staging py25-distribute into destroot ---> Installing py25-distribute @0.6.10_0 ---> Activating py25-distribute @0.6.10_0 Error: Target org.macports.activate returned: Is a directory Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macports.org/ticket/24656#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24656: DEBUG: Backtrace: Is a directory ----------------------------------------+----------------------------------- Reporter: Andreas.Krueger2@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: py25-distribute ----------------------------------------+----------------------------------- Changes (by jmr@…): * priority: High => Normal * cc: Andreas.Krueger2@… (removed) * keywords: py25-distribute, is a directory => Old description:
I cannot update/install/reinstall py25-distribute
bash-3.2# port -d install py25-distribute
ends with:
DEBUG: Adding file to file_map: /opt/local/lib/python2.5/site- packages/setuptools/tests/test_upload_docs.py for: py25-distribute DEBUG: Adding file to file_map: /opt/local/lib/python2.5/site- packages/setuptools/tests/test_upload_docs.pyc for: py25-distribute DEBUG: Adding file to file_map: /opt/local/lib/python2.5/site- packages/setuptools-0.6c11-py2.5.egg-info for: py25-distribute Error: Target org.macports.activate returned: Is a directory DEBUG: Backtrace: Is a directory while executing "filemap set file_map $file $port" (procedure "receipt_flat::register_file" line 11) invoked from within "${macports::registry.format}::register_file $file $port" (procedure "registry::register_file" line 3) invoked from within "registry::register_file $file $name" (procedure "portimage::activate" line 63) invoked from within "registry_activate $name ${version}_${revision}${portvariants} [array get user_options]" (procedure "portactivate::activate_main" line 3) invoked from within "$procedure $targetname" Warning: the following items did not execute (for py25-distribute): org.macports.activate Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> bash-3.2#
New description: I cannot update/install/reinstall py25-distribute {{{ bash-3.2# port -d install py25-distribute }}} ends with: {{{ DEBUG: Adding file to file_map: /opt/local/lib/python2.5/site- packages/setuptools/tests/test_upload_docs.py for: py25-distribute DEBUG: Adding file to file_map: /opt/local/lib/python2.5/site- packages/setuptools/tests/test_upload_docs.pyc for: py25-distribute DEBUG: Adding file to file_map: /opt/local/lib/python2.5/site- packages/setuptools-0.6c11-py2.5.egg-info for: py25-distribute Error: Target org.macports.activate returned: Is a directory DEBUG: Backtrace: Is a directory while executing "filemap set file_map $file $port" (procedure "receipt_flat::register_file" line 11) invoked from within "${macports::registry.format}::register_file $file $port" (procedure "registry::register_file" line 3) invoked from within "registry::register_file $file $name" (procedure "portimage::activate" line 63) invoked from within "registry_activate $name ${version}_${revision}${portvariants} [array get user_options]" (procedure "portactivate::activate_main" line 3) invoked from within "$procedure $targetname" Warning: the following items did not execute (for py25-distribute): org.macports.activate Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> bash-3.2# }}} -- Comment: Please remember to preview and use WikiFormatting. -- Ticket URL: <http://trac.macports.org/ticket/24656#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24656: DEBUG: Backtrace: Is a directory -----------------------------------------+---------------------------------- Reporter: Andreas.Krueger2@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: duplicate | Keywords: Port: py25-distribute | -----------------------------------------+---------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => duplicate Comment: #16334 -- Ticket URL: <http://trac.macports.org/ticket/24656#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24656: DEBUG: Backtrace: Is a directory -----------------------------------------+---------------------------------- Reporter: Andreas.Krueger2@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: | Keywords: Port: py25-distribute | -----------------------------------------+---------------------------------- Changes (by Andreas.Krueger2@…): * status: closed => reopened * resolution: duplicate => Comment:
Please remember to preview Oh, I will. That's good. Did not know that it is possible. Thanks for telling me!
resolution set to duplicate Unfortunately, #16334 does not seem to be resolved, it does not give a solution.
And: I do not see how #16334 and #24656 are duplicates. Moreover, #16334 is there for 15 months? Seems to be impossible to solve? Why did you switch this to "closed", the problem remains. . . . I have just tried again - it still exits with error 1: {{{ bash-3.2# port selfupdate ---> Updating the ports tree ---> Updating MacPorts base sources using rsync MacPorts base version 1.8.2 installed, MacPorts base version 1.8.2 downloaded. ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated bash-3.2# port install py25-distribute ---> Computing dependencies for py25-distribute ---> Fetching py25-distribute ---> Verifying checksum(s) for py25-distribute ---> Extracting py25-distribute ---> Configuring py25-distribute ---> Building py25-distribute ---> Staging py25-distribute into destroot ---> Installing py25-distribute @0.6.10_0 ---> Activating py25-distribute @0.6.10_0 Error: Target org.macports.activate returned: Is a directory Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/24656#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24656: DEBUG: Backtrace: Is a directory -----------------------------------------+---------------------------------- Reporter: Andreas.Krueger2@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: worksforme | Keywords: Port: py25-distribute | -----------------------------------------+---------------------------------- Changes (by jmr@…): * status: reopened => closed * resolution: => worksforme Comment: Remove the conflicting /opt/local/lib/python2.5/site- packages/setuptools-0.6c11-py2.5.egg-info directory then. -- Ticket URL: <http://trac.macports.org/ticket/24656#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24656: DEBUG: Backtrace: Is a directory -----------------------------------------+---------------------------------- Reporter: Andreas.Krueger2@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: worksforme | Keywords: Port: py25-distribute | -----------------------------------------+---------------------------------- Comment(by Andreas.Krueger2@…): I did what you told me. {{{ DEBUG: Adding file to file_map: /opt/local/lib/python2.5/site- packages/setuptools-0.6c11-py2.5.egg-info for: py25-distribute DEBUG: Is a directory while executing "filemap set file_map $file $port" (procedure "receipt_flat::register_file" line 11) invoked from within "${macports::registry.format}::register_file $file $port" (procedure "registry::register_file" line 3) invoked from within "registry::register_file $file $name" (procedure "portimage::activate" line 63) invoked from within "portimage::activate $portname [composite_version $portversion [array get variations]] [array get options]" Error: port activate failed: Is a directory }}} I then manually deleted the "setuptools-0.6c11-py2.5.egg-info" - which by the way was NOT a directory. And then simply started it again: {{{ bash-3.2# port -d activate py25-distribute ---> Activating py25-distribute DEBUG: Image error: py25-distribute @0.6.10_0 is already active. while executing "portimage::activate $portname [composite_version $portversion [array get variations]] [array get options]" Error: port activate failed: Image error: py25-distribute @0.6.10_0 is already active. bash-3.2# }}} BUT: Why is it already active, if the above resulted in an error first? ... How can I trust the current state of my system now? ... What is the recipe to redo the whole thing reliably? -- Ticket URL: <http://trac.macports.org/ticket/24656#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts