Ticket #34845 (new defect)
Can't view man pages for py27-ipython
| Reported by: | singingwolfboy@… | Owned by: | akitada@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.1.1 |
| Keywords: | Cc: | g5pw@…, md14-macports@…, kngspook@…, derekathomas@…, brian.stalder@…, jonesc@…, tirath@…, karl.sackett@…, jesteve72@… | |
| Port: | py27-ipython |
Description
I can't run "man ipython" or "man ipython-2.7.1", even after running "sudo port select ipython ipython27". (That command fails with "Selecting 'ipython27' for 'ipython' failed: could not create new link "/opt/local/share/man/man1/ipcluster.1.gz": target "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/man/man1/ipcluster.1.gz" doesn't exist")
It looks like the issue is with man page symlinks pointing to locations without files.
Change History
comment:2 Changed 11 months ago by md14-macports@…
Trying to select ipython32 also fails:
$ port installed 'name:^py.*-ipython' The following ports are currently installed: py27-ipython @0.12.1_0+notebook+parallel+scientific (active) py32-ipython @0.12.1_0 (active) $ port select --list ipython Available versions for ipython: ipython27 ipython32 none (active) $ sudo port select --set ipython ipython27 Selecting 'ipython27' for 'ipython' failed: could not create new link "/opt/local/share/man/man1/ipcluster.1.gz": target "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/man/man1/ipcluster.1.gz" doesn't exist $ sudo port select --set ipython ipython32 Selecting 'ipython32' for 'ipython' failed: could not create new link "/opt/local/share/man/man1/ipcluster.1.gz": target "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/share/man/man1/ipcluster.1.gz" doesn't exist
comment:7 Changed 9 months ago by ryandesign@…
- Cc jonesc@…, tirath@…, ram@… added
Has duplicate #35211.
comment:10 Changed 9 months ago by robitaille@…
I have fixed this in r97277. Try upgrading the ipython port:
sudo port selfupdate sudo port upgrade py27-ipython
or
sudo port selfupdate sudo port upgrade py32-ipython
and try the select command again. If that doesn't work, try uninstalling the ports, e.g.
sudo port uninstall py27-ipython sudo port clean -f --all py27-ipython
then install it again. Can anyone try this to let me know if the issue can be marked as resolved?
Note that for some reason, there are no man pages for ipython when using Python 3. This is a separate issue that I'm tracking with the ipython developers - but for now, using the select command should not cause any errors.
comment:11 Changed 9 months ago by md14-macports@…
r97277 works for me to resolve this issue. Thanks!
$ sudo port select --set ipython none Selecting 'none' for 'ipython' succeeded. 'none' is now active. $ port select --list ipython Available versions for ipython: ipython27 ipython32 none (active) $ man -M /opt/local/man ipython No manual entry for ipython $ sudo port select --set ipython ipython27 Selecting 'ipython27' for 'ipython' succeeded. 'ipython27' is now active. $ man -M /opt/local/man ipython <<works>> $ sudo port select --set ipython ipython32 Selecting 'ipython32' for 'ipython' succeeded. 'ipython32' is now active. $ man -M /opt/local/man ipython No manual entry for ipython


Cc Me!