Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614594 - dev-python/networkx-1.10-r1[doc] fail with NameError: global name 'dot_parser' is not defined
Summary: dev-python/networkx-1.10-r1[doc] fail with NameError: global name 'dot_parser...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
Depends on:
Reported: 2017-04-04 03:47 UTC by Alessandro Barbieri
Modified: 2017-07-21 00:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2017-04-04 03:47:10 UTC
I have:

[I] media-gfx/pydot
     Available versions:  1.0.28-r2 {PYTHON_TARGETS="python2_7"}
     Installed versions:  1.0.28-r2(03:32:21 30/03/2017)(PYTHON_TARGETS="python2_7")
     Description:         Python interface to Graphviz's Dot language

[I] dev-python/pygraphviz
     Available versions:  1.2 1.3.1 {examples test PYTHON_TARGETS="python2_7 python3_4 python3_5"}
     Installed versions:  1.3.1(14:28:25 01/04/2017)(examples -test PYTHON_TARGETS="python2_7 python3_4 -python3_5")
     Description:         Python wrapper for the Graphviz Agraph data structure

[I] media-gfx/graphviz
     Available versions:  2.38.0-r1^t {X +cairo devil doc examples gdk-pixbuf gtk gts guile java lasi nls pdf perl postscript python qt4 ruby static-libs svg tcl ELIBC="FreeBSD" PYTHON_TARGETS="python2_7"}
     Installed versions:  2.38.0-r1^t(07:30:15 26/03/2017)(X cairo doc examples guile java nls pdf perl postscript python ruby svg tcl -devil -gdk-pixbuf -gtk -gts -lasi -qt4 -static-libs ELIBC="-FreeBSD" PYTHON_TARGETS="python2_7")
     Description:         Open Source Graph Visualization Software

 * python2_7: running distutils-r1_run_phase python_compile_all
make -j5 -l5 -C doc html
make: Entering directory '/var/tmp/portage/dev-python/networkx-1.10-r1/work/networkx-1.10/doc'
mkdir -p build
/usr/lib64/python2.7/site-packages/matplotlib/ UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.') Traceback (most recent call last):
  File "", line 62, in <module>
  File "", line 73, in <module>
  File "/var/tmp/portage/dev-python/networkx-1.10-r1/work/networkx-1.10-python2_7/lib/networkx/drawing/", line 257, in graphviz_layout
    return pydot_layout(G=G,prog=prog,root=root,**kwds)
  File "/var/tmp/portage/dev-python/networkx-1.10-r1/work/networkx-1.10-python2_7/lib/networkx/drawing/", line 288, in pydot_layout
  File "/usr/lib64/python2.7/site-packages/", line 220, in graph_from_dot_data
    return dot_parser.parse_dot_data(data)
NameError: global name 'dot_parser' is not defined
make: *** [Makefile:38: build/generate-stamp] Error 1
make: Leaving directory '/var/tmp/portage/dev-python/networkx-1.10-r1/work/networkx-1.10/doc'
 * ERROR: dev-python/networkx-1.10-r1::gentoo failed (compile phase):
 *   emake failed
Comment 1 deference 2017-07-21 00:51:43 UTC
I'm also experiencing this.
If you need any additional info just yell.