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