I tried install Phoenix in my PC, with Mac OS X Yosemite.
‘python build.py dox’ command was fine, but next I did ‘python build.py etg’ command, it failed with follow message:
ERROR: Graphviz command dot
cannot be run (needed for Graphviz output), check your PATH
setting
Traceback (most recent call last):
File “etg/_core.py”, line 469, in
run()
File “etg/_core.py”, line 462, in run
tools.runGenerators(module)
File “/Users/katsukichi/Documents/workspace/Phoenix/etgtools/tweaker_tools.py”, line 577, in runGenerators
g.generate(module)
File “/Users/katsukichi/Documents/workspace/Phoenix/etgtools/sphinx_generator.py”, line 2902, in generate
self.generateModule(module)
File “/Users/katsukichi/Documents/workspace/Phoenix/etgtools/sphinx_generator.py”, line 2970, in generateModule
function(item)
File “/Users/katsukichi/Documents/workspace/Phoenix/etgtools/sphinx_generator.py”, line 3066, in generatePyClass
docstring.Dump()
File “/Users/katsukichi/Documents/workspace/Phoenix/etgtools/sphinx_generator.py”, line 2324, in Dump
return function(write)
File “/Users/katsukichi/Documents/workspace/Phoenix/etgtools/sphinx_generator.py”, line 2359, in DumpClass
png, map = inheritance_diagram.MakeInheritanceDiagram()
File “/Users/katsukichi/Documents/workspace/Phoenix/sphinxtools/inheritance.py”, line 286, in MakeInheritanceDiagram
stdout, stderr = p.communicate(code)
UnboundLocalError: local variable ‘p’ referenced before assignment
Command ‘"/Library/Frameworks/Python.framework/Versions/3.4/bin/python3.4" etg/_core.py --sip’ failed with exit code 1.
I used spotlight to find ‘dot’ command, I found many ‘*.dot’ files, but they are ”Microsoft Word templete” files.
I think that is caused by ‘Pages’ application in my PC(view info, 'open with Pages’ is default), so command ‘dot’ will not work fine…
What can I Do to avoid ‘open with Pages’ *.dot files, work as xml tag?