Opened 10 years ago

Closed 8 years ago

#47521 closed defect (invalid)

py27-tz @2015.2_0 activation fails

Reported by: scooter.phd@… Owned by: skymoo (Adam Mercer)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: petrrr, kurthindenburg (Kurt Hindenburg)
Port: py27-tz

Description

py27-tz fails to activate -- builds correctly, installs correctly, activation fails. I could force it to activate, but that would cause later issues.

--->  Computing dependencies for py27-tz
Warning: Your DNS servers incorrectly claim to know the address of nonexistent hosts. This may cause checksum mismatches for some ports. See this page for more information: <https://trac.macports.org/wiki/MisbehavingServers>
--->  Fetching distfiles for py27-tz
--->  Attempting to fetch pytz-2015.2.tar.gz from http://distfiles.macports.org/py-tz
--->  Verifying checksums for py27-tz
--->  Extracting py27-tz
--->  Configuring py27-tz
--->  Building py27-tz
--->  Staging py27-tz into destroot
--->  Installing py27-tz @2015.2_0
--->  Activating py27-tz @2015.2_0
Error: org.macports.activate for port py27-tz returned: Image error: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pytz/__init__.py already exists and does not belong to a registered port.  Unable to activate port py27-tz. Use 'port -f activate py27-tz' to force the activation.
Please see the log file for port py27-tz for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-tz/py27-tz/main.log
Error: Problem while installing py27-tz

Attachments (1)

main.log (596.9 KB) - added by scooter.phd@… 10 years ago.
main.log

Download all attachments as: .zip

Change History (7)

Changed 10 years ago by scooter.phd@…

Attachment: main.log added

main.log

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: py27 tz removed
Owner: changed from macports-tickets@… to ram@…

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

If your /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pytz/__init__.py does not belong to a registered port, how did it get there?

comment:3 Changed 10 years ago by petrrr

Well, might it be that you installed pytz manually at some point? Is __init__.py the only file in the pytz directory?

Last edited 10 years ago by petrrr (previous) (diff)

comment:4 Changed 10 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:5 Changed 8 years ago by platipodium (Carsten Lemmen)

I could reproduce this by doing a "manual" port uninstall -f py27-tz; sudo pip install pytz, which resulted in the /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pytz not managed by macports.

The issue can be resolved by removing /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pytz and then reinstalling py27-tz

comment:6 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Cc: kurthindenburg added
Resolution: invalid
Status: newclosed

closing as invalid - other software can't be installed into /opt/local

Note: See TracTickets for help on using tickets.