|Reported by:||Owned by:||Daren Thomas|
your macro is a really goot idea. I have scripted a new version with an image cache. So the yuml images are loaded faster from the local cache instead from yuml.me.
The cache is the directory "cache/yuml/" in "<yourtracpath>/htdocs". Trac need the permissions to write in this directories. There is also a cache table in the database (yumlcache), that remermbers which yuml content belongs to which image id. Thus, after installing the plugin you must upgrade your trac environment (type in your shell: trac-admin <yourtracpath> upgrade).
If there is an error in your yuml content, yuml.me won't give you an image. In this case the plugin shows an error-image.
I have tested the plugin with trac 0.11 and python 2.4. I hope you enjoy this enhancement and all works fine for you (it is my first python script).