[wxPython-dev] 'python build.py etg’ fails on Mac OS X

Katsuyoshi Takahashi <[email protected]>
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
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 <module>

    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? 

-- 
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.