Re: [th-users] Does DiaViewPlugin work with Trac 0.12?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Am 01.01.2012 19:12, schrieb Steffen Hoffmann: > ... this macro is most probably not at all ready for Trac 0.11 and above. > > Should you require a similar functionality, you're certainly welcome to > lead upstream development and take over maintainer-ship. I just opened another ticket against DiaViewPlugin [1] referring to this mailing list thread. Follow it, in case you're interested. Sincerely, Steffen Hoffmann (hasienda) [1] https://trac-hacks.org/ticket/9652 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8AsIYACgkQ31DJeiZFuHdiegCcDP9AxCBB8rskFKCreO3wZBRB nM8AoIiKFu5aSTdFLOHkJtWN7yQYyCf8 =Nt+B -END PGP SIGNATURE- ___ th-users mailing list th-users@lists.trac-hacks.org https://lists.trac-hacks.org/mailman/listinfo/th-users
Re: [th-users] Does DiaViewPlugin work with Trac 0.12?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 01.01.2012 19:12, schrieb Steffen Hoffmann: Since I use GraphvizPlugin [1] with very good results I've been curious enough to give this plugin a shot. After installing Gnome-Dia for creating a test file, I get this on my simple test wiki page with the test file attached: File "/data/trac/sandbox/plugins/DiaView.py", line 110, in render_macro url = attachment.href(req) AttributeError: 'Attachment' object has no attribute 'href' Another pretty basic error, and while I'm sure, that this could be resolved in no-time as well, it seems like you should be prepared for some more hacks to make it finally work. Additionally I had a look at all pending tickets for DiaViewPlugin [2]. The patches and reports are against Trac 0.10 only. Since the 0.10 -> 0.11 transition includes quite substantial changes in Trac, this macro is most probably not at all ready for Trac 0.11 and above. Should you require a similar functionality, you're certainly welcome to lead upstream development and take over maintainer-ship. Any action taken could only improve the current state (no files in SVN, some code spread as wiki page and in ticket attachments, pending issues for very long time - min. 3 1/2 years). The hack adoption procedure [3] is rather short and simple. Anyway, please request assistance as needed. Sincerely, Steffen Hoffmann (hasienda) [1] http://trac-hacks.org/wiki/GraphvizPlugin [2] http://trac-hacks.org/report/9?COMPONENT=DiaViewPlugin [3] http://trac-hacks.org/wiki/AdoptingHacks -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8Aqn8ACgkQ31DJeiZFuHecWACgkRaSD8nCfn1eRXWlQP4mUMlO H/0AoOWWjxFfAzjWI+21CLLVV5Cj5NlB =qW6j -END PGP SIGNATURE- ___ th-users mailing list th-users@lists.trac-hacks.org https://lists.trac-hacks.org/mailman/listinfo/th-users
Re: [th-users] Does DiaViewPlugin work with Trac 0.12?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 01.01.2012 18:33, schrieb W. Martin Borgert: > Hi, > > I'm using the DiaViewPlugin > (http://trac-hacks.org/wiki/DiaViewPlugin) with Trac 0.11. > I just tried it with Trac 0.12 and I can't see it in the > admin plugin page, nor does it work when manually enabled. > Does anybody know whether the macro should work with Trac > 0.12? No previous experience here, but at the very least you should comment out line 5 > from trac.config import default_dir because on a quick test Trac 0.13dev-r10883 returns with Trac[loader] ERROR: Failed to load plugin from /data/trac/sandbox/plugins/DiaView.py: Traceback (most recent call last): File "/data/pyvirtual/20111205_trac-0.13dev-r10880_py2.5/lib/python2.5/site-packages/Trac-0.13dev-py2.5.egg/trac/loader.py", line 90, in _load_py_files module = imp.load_source(plugin_name, plugin_file) File "/data/trac/sandbox/plugins/DiaView.py", line 5, in from trac.config import default_dir ImportError: cannot import name default_dir Afterwards I can see a "DiaView" entry in admin/general/plugin here. Hope this will get you started. Steffen Hoffmann (hasienda) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8AoiEACgkQ31DJeiZFuHfH7ACg5R/BImNt+ajnunaH4AprCFUj Mc0AnjEZw6Wb86zkiC4/nZHqxUNfIPUD =/735 -END PGP SIGNATURE- ___ th-users mailing list th-users@lists.trac-hacks.org https://lists.trac-hacks.org/mailman/listinfo/th-users
[th-users] Does DiaViewPlugin work with Trac 0.12?
Hi, I'm using the DiaViewPlugin (http://trac-hacks.org/wiki/DiaViewPlugin) with Trac 0.11. I just tried it with Trac 0.12 and I can't see it in the admin plugin page, nor does it work when manually enabled. Does anybody know whether the macro should work with Trac 0.12? TIA! ___ th-users mailing list th-users@lists.trac-hacks.org https://lists.trac-hacks.org/mailman/listinfo/th-users