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
> Most recent call last:
> File "C:\Program
> Files\Python\2.5\lib\site-packages\trac-0.11.1-py2.5.egg\trac\wiki\templates\wiki_edit.html",
> line 56, in <Expression u'wiki_to_html(context(page.resource),
> page.text)'>
> File "C:\Program
> Files\Python\2.5\lib\site-packages\trac-0.11.1-py2.5.egg\trac\wiki\formatter.py",
> line 1096, in format_to_html
> File "C:\Program
> Files\Python\2.5\lib\site-packages\trac-0.11.1-py2.5.egg\trac\wiki\formatter.py",
> line 1055, in generate
> File "C:\Program
> Files\Python\2.5\lib\site-packages\trac-0.11.1-py2.5.egg\trac\wiki\formatter.py",
> line 833, in format
> File "C:\Program
> Files\Python\2.5\lib\site-packages\trac-0.11.1-py2.5.egg\trac\wiki\formatter.py",
> line 779, in handle_code_block
> File "C:\Program
> Files\Python\2.5\lib\site-packages\trac-0.11.1-py2.5.egg\trac\wiki\formatter.py",
> line 96, in __init__
> File "build\bdist.win32\egg\graphviz\graphviz.py", line 218, in get_macros
> File "build\bdist.win32\egg\graphviz\graphviz.py", line 497, in _load_config
> File "C:\Program Files\Python\2.5\Lib\ntpath.py", line 255, in exists
> Code fragment:
> # Does a path exist?
>
> def exists(path):
>    """Test whether a path exists"""
>    try:
>        st = os.stat(path)   < ================= HIGHLIGHTED
>    except os.error:
>        return False
>    return True
>
> lexists = exists
> Local variables:Name    Value
> path    None
>
> System Information:
>
> User Agent: Opera/9.63 (X11; Linux i686; U; en) Presto/2.1.1Trac:       0.11.1
> Python: 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)]
> setuptools:     0.6c9
> SQLite: 3.3.4
> pysqlite:       2.3.2
> Genshi: 0.5.1
> mod_python:     3.3.1
> Pygments:       0.11.1
> jQuery: 1.2.6
>
> 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-mas-que-engorda-sigue.html
>



-- 
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-mas-que-engorda-sigue.html

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to