Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 276075

Summary: dev-python/networkx[examples] has missing dependencies and documentation
Product: Gentoo Linux Reporter: Sebastian Luther (few) <SebastianLuther>
Component: [OLD] DevelopmentAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sebastian Luther (few) 2009-07-01 14:47:29 UTC
$/usr/share/doc/networkx-0.99/examples/graph $ python atlas2.py 
Traceback (most recent call last):
  File "atlas2.py", line 20, in <module>
    from pygraphviz import *
ImportError: No module named pygraphviz
Comment 1 Sebastian Luther (few) 2009-07-01 15:25:36 UTC
The following dependencies are missing:
dev-python/pygraphviz
dev-python/matplotlib
dev-python/pyparsing
dev-python/numpy
missing module pylab?
No Ubigraph server found? What does it want?

$ python atlas.py 
graph has 779 nodes with 1073 edges
137 connected components
Traceback (most recent call last):
  File "atlas.py", line 71, in <module>
    import matplotlib.pyplot as plt
ImportError: No module named matplotlib.pyplot

football.py:23: DeprecationWarning: raising a string exception is deprecated
  raise "pyparsing not found: install http://pyparsing.wikispaces.com/"
Traceback (most recent call last):
  File "football.py", line 23, in <module>
    raise "pyparsing not found: install http://pyparsing.wikispaces.com/"
pyparsing not found: install http://pyparsing.wikispaces.com/

Traceback (most recent call last):
  File "eigenvalues.py", line 24, in <module>
    raise ImportError,"numpy can not be imported."
ImportError: numpy can not be imported.

Traceback (most recent call last):
  File "heavy_metal_umlaut.py", line 23, in <module>
    import pylab as P
ImportError: No module named pylab

Traceback (most recent call last):
  File "simple_graphs.py", line 9, in <module>
    G=UbiGraph(pappus_graph())
  File "//usr/lib64/python2.5/site-packages/networkx/ubigraph.py", line 77, in __init__
    raise IOError("No Ubigraph server found")
IOError: No Ubigraph server found
Comment 2 Sebastian Luther (few) 2009-07-01 15:43:59 UTC
And it doesn't build the documentation.
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2009-08-19 05:12:12 UTC
Fixed the examples dependencies. The documentation building system is buggy, probably a sphinx version related problem not worth spending my time on since it is available online. Will see on the soon to be released next version.
Thanks.