GraphViz seems to be required for numerous plugins. Has anyone been 
successful installing GraphViz by compiling to an .egg? I can't get it. 

I use a conda <http://conda.pydata.org/docs/intro.html> environment with 
python2.7 for compiling my .eggs. This has been working to compile plugin 
code successfully for numerous Trac plugins. I'm on Win10 running a Bitnami 
Trac Stac <https://bitnami.com/stack/trac>. But I don't think that matters 
since I'm having a compiling issue.

The current stable and developer version of GraphVis and documentation are 
here. 
https://trac-hacks.org/wiki/GraphvizPlugin

Running $ python setup.py bdist_egg
on Graphviz 0.11-0.7.5-15693
gets nowhere with an error

    error: invalid truth value ''
I have no idea what to do with that, so I try the less stable, latest 
development release. 

Running $ python setup.py bdist_egg
on Graphviz trunk-15693 produced errors:

    Traceback (most recent call last):
      File "setup.py", line 9, in <module>
        import graphviz
      File 
"C:\Users\Gabe\Downloads\PM\Trac\Graphviztrunk-15693\trunk\graphviz\__init__.py",
 
line 1, in <module>
        from graphviz import __version__
      File 
"C:\Users\Gabe\Downloads\PM\Trac\Graphviztrunk-15693\trunk\graphviz\graphviz.py",
 
line 44, in <module>
        from genshi.builder import Element, tag
    ImportError: No module named genshi.builder

So I successfully installed genshi for python2.7 from here 
https://anaconda.org/IOOS/genshi 

Then Running $ python setup.py bdist_egg
on Graphviz trunk-15693 produced errors:

    Traceback (most recent call last):
      File "setup.py", line 9, in <module>
        import graphviz
      File 
"C:\Users\Gabe\Downloads\PM\Trac\Graphviztrunk-15693\trunk\graphviz\__init__.py",
 
line 1, in <module>
        from graphviz import __version__
      File 
"C:\Users\Gabe\Downloads\PM\Trac\Graphviztrunk-15693\trunk\graphviz\graphviz.py",
 
line 48, in <module>
        from trac.config import BoolOption, IntOption, Option
    ImportError: No module named trac.config

At this point the GraphVis source code just seems like it's just garbage. 
But all these (and probably more) plugins require it to be installed: 
TracWorkflowAdminPlugin:
RevtreePlugin:
ProjectPlanPlugin:
MasterTicketsPlugin:

So it must not be total garbage. How can I get it compiled?

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to