I fixing the build-scripts to create the doc files with Python3
(currently this doesn't work).
I have a problem with the graph-creating part of it. It uses the
command "dot" from the Graphviz-package (it is installed).
"dot" doesn't generated the requested files and the build script stop
because of that. Nothing is generated in the specified folder.
I put in some debug-print-calls in the code. The
arguments list looks ok for me. I only wonder about the missing space
(' ') between the '-o' and the filename. But a space doesn't solve the
problem.
This is the output. Please keep in mind this runs on Python3. Log for
the "dot_args". Ok, or not?
[bash]
Build using: "/usr/bin/python3"
3.4.0 (default, Apr 11 2014, 13:05:18)
[GCC 4.8.2]
Python's architecture is 32bit
cfg.VERSION: 3.0.3
USING VERSION: 3.0.3.dev1660+b7b9635
Running command: wx.lib
ReST-ifying lib...
- lib.agw (package)
- lib.agw.aui (package)
- lib.agw.aui.aui_constants (module)
- lib.agw.aui.aui_switcherdialog (module)
== code ==
digraph dummy {
ratio=auto;
size="";
rankdir=TB;
fontsize=9;
"Window" [align=center,style="setlinewidth(0.5)",height=0.3,fontsize=10,shape=box,fontcolor=grey45,labelloc=c,fontname=Vera
Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans];
"WindowBase" ->
"Window" [arrowsize=0.5,arrowtail=open,style="setlinewidth(0.5)",dir=back,color="#23238E"];
"Trackable" [align=center,style="setlinewidth(0.5)",height=0.3,fontsize=10,shape=box,fontcolor=grey45,labelloc=c,fontname=Vera
Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans];
"WindowBase" [align=center,style="setlinewidth(0.5)",height=0.3,fontsize=10,shape=box,fontcolor=grey45,labelloc=c,fontname=Vera
Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans];
"EvtHandler" ->
"WindowBase" [arrowsize=0.5,arrowtail=open,style="setlinewidth(0.5)",dir=back,color="#23238E"];
"EvtHandler" [align=center,style="setlinewidth(0.5)",height=0.3,fontsize=10,shape=box,fontcolor=grey45,labelloc=c,fontname=Vera
Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans];
"Object" ->
"EvtHandler" [arrowsize=0.5,arrowtail=open,style="setlinewidth(0.5)",dir=back,color="#23238E"];
"Trackable" ->
"EvtHandler" [arrowsize=0.5,arrowtail=open,style="setlinewidth(0.5)",dir=back,color="#23238E"];
"Object" [align=center,style="setlinewidth(0.5)",height=0.3,fontsize=10,shape=box,fontcolor=grey45,labelloc=c,fontname=Vera
Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans];
"aui_switcherdialog.MultiColumnListCtrl" [align=center,style=bold,color=blue,height=0.3,fontsize=10,URL="lib.agw.aui.aui_switcherdialog.MultiColumnListCtrl.html",shape=box,fontcolor=black,labelloc=c,fontname=Vera
Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans];
"Control" ->
"aui_switcherdialog.MultiColumnListCtrl" [arrowsize=0.5,arrowtail=open,style="setlinewidth(0.5)",dir=back,color=red];
"Control" [align=center,style="setlinewidth(0.5)",height=0.3,fontsize=10,shape=box,fontcolor=grey45,labelloc=c,fontname=Vera
Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans];
"Window" ->
"Control" [arrowsize=0.5,arrowtail=open,style="setlinewidth(0.5)",dir=back,color="#23238E"]; }
============ DOT ===============
== dot_args ==
['dot', '-Tpng',
'-o/home/user/share/work/Phoenix/docs/sphinx/_static/images/inheritance/lib.agw.aui.aui_switcherdialog.MultiColumnListCtrl_inheritance.png',
'-Tcmapx',
'-o/home/user/share/work/Phoenix/docs/sphinx/_static/images/inheritance/lib.agw.aui.aui_switcherdialog.MultiColumnListCtrl_inheritance.png.map']
Traceback (most recent call last): File "./build.py", line 1616, in
<module> main(sys.argv[1:]) File "./build.py", line 169, in main
function(options, args) File "./build.py", line 828, in cmd_wxlib
ModuleHunter(init_name, import_name, version)
File "/home/user/share/work/Phoenix/sphinxtools/modulehunter.py",
line 606, in ModuleHunter ToRest(import_name)
File "/home/user/share/work/Phoenix/sphinxtools/modulehunter.py",
line 597, in ToRest library_class.Walk(library_class, class_summary)
File
"/home/user/share/work/Phoenix/sphinxtools/librarydescription.py", line
442, in Walk self.Walk(child, class_summary) File
"/home/user/share/work/Phoenix/sphinxtools/librarydescription.py", line
442, in Walk self.Walk(child, class_summary) File
"/home/user/share/work/Phoenix/sphinxtools/librarydescription.py", line
442, in Walk self.Walk(child, class_summary) File
"/home/user/share/work/Phoenix/sphinxtools/librarydescription.py", line
439, in Walk child.ToRest(class_summary) File
"/home/user/share/work/Phoenix/sphinxtools/librarydescription.py", line
733, in ToRest png, map =
self.inheritance_diagram.MakeInheritanceDiagram(class_summary) File
"/home/user/share/work/Phoenix/sphinxtools/inheritance.py", line 301,
in MakeInheritanceDiagram fid = open(mapfile, 'rt') FileNotFoundError:
[Errno 2] No such file or directory:
'/home/user/share/work/Phoenix/docs/sphinx/_static/images/inheritance/lib.agw.aui.aui_switcherdialog.MultiColumnListCtrl_inheritance.png.map'
Finished command: wx.lib (0m1.859s)
[/bash]
I can not see a dot-error-output here. And I don't know how to catch it
if there would be some.