Closed Bug 345389 Opened 19 years ago Closed 19 years ago

Template-Toolkit 2.15 moved Template::Plugin::GD into a separate package

Categories

(Bugzilla :: Installation & Upgrading, defect)

2.23
defect
Not set
major

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: mkanat, Assigned: mkanat)

References

Details

Attachments

(3 files, 2 obsolete files)

Right now charts fail on any reasonably-modern server with Bugzilla on it, because Template-Toolkit moved Template::Plugin::GD into a separate package, and Bugzilla needs that plugin.
Attached patch tip patch, v1 (obsolete) — Splinter Review
Okay, here's what we'll do for the tip. We'll have to backport this, also, since anybody upgrading their Template-Toolkit on any Bugzilla version will be affected.
Attachment #230038 - Flags: review?(LpSolit)
Comment on attachment 230038 [details] [diff] [review] tip patch, v1 This doesn't work for me. Template::Plugin::GD doesn't exist, but I have: ls /usr/lib/perl5/vendor_perl/5.8.7/i386-linux/Template/Plugin/GD/ Constants.pm Graph/ Image.pm Polygon.pm Text/ Text.pm ls /usr/lib/perl5/vendor_perl/5.8.7/i386-linux/Template/Plugin/GD/Graph/ area.pm bars.pm lines.pm mixed.pm pie.pm bars3d.pm lines3d.pm linespoints.pm pie3d.pm points.pm
Attachment #230038 - Flags: review?(LpSolit) → review-
dupe of bug 295073, see comments 7 and 8 there.
*** Bug 343725 has been marked as a duplicate of this bug. ***
*** Bug 344516 has been marked as a duplicate of this bug. ***
Status: NEW → ASSIGNED
Attached patch tip: v2 (obsolete) — Splinter Review
Okay, does this fix the problem for you on TT 2.14? It should.
Attachment #230038 - Attachment is obsolete: true
Attachment #230490 - Flags: review?(LpSolit)
Comment on attachment 230490 [details] [diff] [review] tip: v2 Yes, works fine with TT 2.14. r=LpSolit
Attachment #230490 - Flags: review?(LpSolit) → review+
Flags: approval?
Note to self: Have to fix the name in the Win32 names hash, because I don't use the same name in the install_command.
Flags: approval? → approval+
Note that this patch still needs backports, so it's not ready to check in yet.
Attached patch tip: v2.1Splinter Review
This is just what I was going to fix on checkin, actually made into a patch, so I'm carrying forward r+.
Attachment #230490 - Attachment is obsolete: true
Attachment #230516 - Flags: review+
Attached patch 2.22: v1Splinter Review
Okay, here's a backport to 2.22.
Attachment #230517 - Flags: review?(LpSolit)
Attached patch 2.20: v1Splinter Review
Okay, and here's a backport to 2.20.
Attachment #230520 - Flags: review?(LpSolit)
Attachment #230517 - Flags: review?(LpSolit) → review+
Attachment #230520 - Flags: review?(LpSolit) → review+
Flags: approval2.22?
Flags: approval2.20?
Flags: approval2.22?
Flags: approval2.22+
Flags: approval2.20?
Flags: approval2.20+
Wow, it's been a while since I've checked into three branches! :-) tip: Checking in checksetup.pl; /cvsroot/mozilla/webtools/bugzilla/checksetup.pl,v <-- checksetup.pl new revision: 1.513; previous revision: 1.512 done Checking in testserver.pl; /cvsroot/mozilla/webtools/bugzilla/testserver.pl,v <-- testserver.pl new revision: 1.13; previous revision: 1.12 done Checking in Bugzilla/Install/Requirements.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Install/Requirements.pm,v <-- Requirements.pm new revision: 1.8; previous revision: 1.7 done Checking in docs/xml/modules.xml; /cvsroot/mozilla/webtools/bugzilla/docs/xml/modules.xml,v <-- modules.xml new revision: 1.8; previous revision: 1.7 done 2.22: Checking in checksetup.pl; /cvsroot/mozilla/webtools/bugzilla/checksetup.pl,v <-- checksetup.pl new revision: 1.469.2.10; previous revision: 1.469.2.9 done Checking in testserver.pl; /cvsroot/mozilla/webtools/bugzilla/testserver.pl,v <-- testserver.pl new revision: 1.9.2.2; previous revision: 1.9.2.1 done Checking in docs/xml/modules.xml; /cvsroot/mozilla/webtools/bugzilla/docs/xml/modules.xml,v <-- modules.xml new revision: 1.4.2.2; previous revision: 1.4.2.1 done 2.20: Checking in checksetup.pl; /cvsroot/mozilla/webtools/bugzilla/checksetup.pl,v <-- checksetup.pl new revision: 1.412.2.23; previous revision: 1.412.2.22 done Checking in testserver.pl; /cvsroot/mozilla/webtools/bugzilla/testserver.pl,v <-- testserver.pl new revision: 1.6.4.2; previous revision: 1.6.4.1 done Checking in docs/xml/modules.xml; /cvsroot/mozilla/webtools/bugzilla/docs/xml/modules.xml,v <-- modules.xml new revision: 1.3.6.1; previous revision: 1.3 done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
*** Bug 341616 has been marked as a duplicate of this bug. ***
I had the exact same problem. I was not able to fetch Template::Plugin::GD from CPAN. But I downloaded the package from : http://search.cpan.org/dist/Template-GD/lib/Template/Plugin/GD.pm#Template%3A%3APlugin%3A%3AGD and manually installed, it worked fine.
Would anybody know of a repository for Template::Plugin::GD, on Perl 5.8 ? I am using ActiveState 5.8.817, and it installed me TT 2.15. I tried hard to find a repository, but had no luck so far. Thx
Ok, finally, I downgraded from TT 2.15 to 2.13 using the package on Bugzilla website. I would be interesting when you have some time to add Template::Plugin::GD there though for newcomers, as it took me a lot of time to work that around.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: