On May 27, 2:18 pm, Olemis Lang <[email protected]> wrote:
> On Wed, May 27, 2009 at 2:08 PM, Olemis Lang <[email protected]> wrote:
> > Hello once again !
>
> > Now that I could install GraphViz I've setup TracGraphViz plugin. I
> > was so excited that I wanted to try it right away. I wrote this simple
> > text for a wiki
>
> Sorry ... this is what I wrote :
>
> {{{
> #!graphviz
> digraph G {Hello->World->Graphviz->Rules}
>
>
>
> }}}
> > ... and this is what I get back ...
>
> > {{{
> > Oops…
> > Trac detected an internal error:
> > TypeError: coercing to Unicode: need string or buffer, NoneType found
>
> > [...]
> > Python Traceback
<snip>
>> Plugin details
> > ---------------------
>
> > - Version 0.11-0.7.4
> > - Configs under [graphviz]
>
> > cache_dir = gvcache
> > cache_manager = true
> > cache_max_count = 2000
> > cache_min_size = 5242880
> > cache_minax_count = 1500
> > cmd_path = C:\Program Files\Graphviz2.20\bin
> > default_graph_dpi = 96
> > encoding = utf-8
> > out_format = png
> > png_antialias = true
> > processor = dot
> > rsvg_path =
> > }}}
>
> > D'u know what's wrong and how can I fix it ?
>
> > Thnx in advance ! ;)
>
> > --
> > Regards,
>
> > Olemis.
>
> > Blog ES:http://simelo-es.blogspot.com/
> > Blog EN:http://simelo-en.blogspot.com/
>
> > Featured article:
> > Oracle : por más que engorda sigue subiendo ... -
> >http://feedproxy.google.com/~r/simelo-es/~3/ndKoYi3D-kg/oracle-por-ma...
>
> --
> Regards,
>
> Olemis.
>
> Blog ES:http://simelo-es.blogspot.com/
> Blog EN:http://simelo-en.blogspot.com/
>
> Featured article:
> Oracle : por más que engorda sigue subiendo ...
> -http://feedproxy.google.com/~r/simelo-es/~3/ndKoYi3D-kg/oracle-por-ma...
change: cmd_path = C:\Program Files\Graphviz2.20\bin
to:
dot_path=C:\Program Files\Graphviz2.20\bin
in your trac.ini
no idea how I figured this out, but that was the solution. Or at
least it sounds familiar
you may want to remove the blank entry for rsvg_path and your
cache_minax_count is misspelled.
you also need to make sure your cache_path is available to your
process. I used a subdirectory of my apache htdocs.
Finally, I have no idea where/how I know any of this. It's just
falling out of my brain right now.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---