Opened 12 years ago

Closed 10 years ago

#34845 closed defect (fixed)

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 (Aljaž Srebrnič), mndavidoff (Monte Davidoff), kngspook@…, derekathomas@…, bstalder (Brian Stalder), cjones051073 (Chris Jones), 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 (13)

comment:1 Changed 12 years ago by g5pw (Aljaž Srebrnič)

Cc: g5pw@… added

Cc Me!

comment:2 Changed 12 years ago by mndavidoff (Monte Davidoff)

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:3 Changed 12 years ago by mndavidoff (Monte Davidoff)

Cc: md14-macports@… added

Cc Me!

comment:4 Changed 12 years ago by kngspook@…

Cc: kngspook@… added

Cc Me!

comment:5 Changed 12 years ago by derekathomas@…

Cc: derekathomas@… added

Cc Me!

comment:6 Changed 12 years ago by bstalder (Brian Stalder)

Cc: brian.stalder@… added

Cc Me!

comment:7 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jonesc@… tirath@… ram@… added

Has duplicate #35211.

comment:8 Changed 12 years ago by karl.sackett@…

Cc: karl.sackett@… added

Cc Me!

comment:9 Changed 12 years ago by jesteve72@…

Cc: jesteve72@… added

Cc Me!

comment:10 Changed 12 years 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 12 years ago by mndavidoff (Monte Davidoff)

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

comment:12 Changed 11 years ago by skymoo (Adam Mercer)

Cc: ram@… removed

comment:13 Changed 10 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.