TracGantt Plugin 0.3.2a from www/trac-gantt don't work with Trac 0.11 and maintainer don't support it now (see http://willbarton.com - "I haven't had much time to maintain it lately.") Problems: 1) plugin doesn't load into trac environment after install - fix in setup.py.patch in attach; 2) after loading into trac environment (after fix setup.py) plugin doesn't work with error "Ticket ID: a float is required" (see also http://trac.edgewall.org/ticket/6598) - fix in gantt.py.patch in attach. Fix: apply patches from attach Patch attached with submission follows:
Responsible Changed From-To: freebsd-bugs->freebsd-ports-bugs reassign to proper group
Responsible Changed From-To: freebsd-ports-bugs->glarkin I'll take it.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello Anton, I have been reviewing your PR, and I have put together a patch for you to look at before I commit it to CVS. You can find it here: http://people.freebsd.org/~glarkin/diffs/trac-gantt.diff I made the following changes to the port files: - - Makefile stylistic fixes & use macros from bsd.python.mk - - Add pkg-message file with configuration details - - Break PR patch file into files/patch-* files I tested the plugin after installing it with the new port, and it seems to mostly work, but it generates the same internal error on reports 6, 7, and 8: Trac detected an internal error: ProgrammingError: Incorrect number of bindings supplied. The current statement uses 1, and there are 0 supplied. I believe this is caused by code in TracGantt that doesn't supply the $USER parameter for each of those queries, at least when running under tracd (standalone mode). I didn't test it under Apache+mod_python. Someone else reported the same problem here with no resolution: http://trac.edgewall.org/ticket/5578 It's possible that those reports worked in trac 0.9, but they broke in 0.10 and 0.11. Do you have the Python programming skills to fix that problem? Conceptually, it seems like an easy fix, but it's a bit beyond my current Python knowledge. Best regards, Greg - -- Greg Larkin http://www.sourcehosting.net/ http://www.FreeBSD.org/ - The Power To Serve -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIouf60sRouByUApARAn+QAJ4soy6nHuNhgfuMr7WUvqKj1MxulwCfZQH1 Hc3JGlmoOGKA1bGavR/MdDA= =7gKU -----END PGP SIGNATURE-----
glarkin 2008-08-14 23:05:40 UTC FreeBSD ports repository Modified files: www/trac-gantt Makefile pkg-descr Added files: www/trac-gantt pkg-message www/trac-gantt/files patch-setup.py patch-tracgantt-gantt.py Log: - Maintainer ported the plugin to Trac 0.11 - Makefile stylistic fixes & added macros from bsd.python.mk - Added pkg-message file with configuration details PR: ports/126112 Submitted by: Anton Batenev <antonbatenev@yandex.ru> Approved by: beech (mentor, implicit) Revision Changes Path 1.6 +11 -15 ports/www/trac-gantt/Makefile 1.1 +13 -0 ports/www/trac-gantt/files/patch-setup.py (new) 1.3 +48 -0 ports/www/trac-gantt/files/patch-tracgantt-gantt.py (new) 1.4 +2 -3 ports/www/trac-gantt/pkg-descr 1.1 +73 -0 ports/www/trac-gantt/pkg-message (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed with minor modifications, thanks!