On Wed, May 27, 2009 at 4:18 PM, Christian Boos <[email protected]> wrote:
>
> Olemis Lang wrote:
>> On Wed, May 27, 2009 at 2:08 PM, Olemis Lang <[email protected]> wrote:
>>

Thnx both yoheeb and cboos for the reply :)

>>
>> 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
[...]
>>> 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
>>>
[...]
>>> 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
>>>
> minax?

I certainly dont know, I didnt modify trac.ini directly. That's the
config option I found using IniAdmin plugin immediately after
installing it. So I suppose that's the std name and default value, and
hence a mispelled option name in the code. A idea being more evident
to me after seeing this code in graphviz.py

{{{
cache_min_count = IntOption("graphviz", "cache_minax_count", 1500,
      """The maximum number of files that the cache should
      contain. This is the high watermark for
      the direcory entry count.""")
}}}


:-/

>>> cmd_path = C:\Program Files\Graphviz2.20\bin
>>> default_graph_dpi = 96
>>> encoding = utf-8
>>> out_format = png
>>> png_antialias = true
>>>
> true...
>>> processor = dot
>>> rsvg_path =
>>>
> ... but no rsvg_path defined (png_antialias means use rsvg for
> antialiasing - note that you don't need this with recent versions of
> graphviz, in particular on windows).
>

Ooops ... didnt know , let's see

> So the fix is simply to set png_antialias = no (or remove the setting,
> as it's the default).
>

Works ! Thnx once again yoheeb & cboos ... :)

> Looks like a few tickets have piled up for the GraphvizPlugin since the
> last time I looked...
>
> Side note: too bad plugin development is much like the hot potato game,
> the last contributor ends up maintaining the plugin alone - thereby
> anxiously waiting for the next unwary contributor to take over;

I've not participated until now in any plugin dev, but I think that
the model of devs owning plugins and so on could be an straitjacket
for open contributions ... For example, I've recently heard about
Hudson and that's one of the reasons why it's being growing so fast :
it seems they accept any contribution and motivate open collaboration,
it seems they dont have either hierarchies nor merits | owners |
selectiveness ...

Anyway, my only experience in this field is a minor patch to make
PyDoc plugin show docs for mdls in EGGs and other import
hooks-compatible sources. So I have to be mostly dreaming.

> it would
> be much better to be able to build up an (even small) community of
> developers for each plugin. A simple "critical mass" problem, I suppose.
>

... community model ?

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