Re: [rt-users] Trouble adding RTx-Tags-0.14 to RT 3.8.1
I extracted the tarball to /usr/local/rt3/local/plugins/, but the actual directory for the file is /usr/local/rt3/local/plugins/RTx-Tags-0.14/lib/RTx/ Thanks, Kay Ruslan Zakirov wrote: And where is RTx/Tags.pm located on your file system? On Tue, Jul 28, 2009 at 6:33 AM, Kay Wanouskay.wan...@gmail.com wrote: I should have done more looking at my logs and less Google-ing... I had this in my Apache log: [Mon Jul 27 22:27:45 2009] [error] Can't locate RTx/Tags.pm in @INC (@INC contains: /usr/local/rt3/bin/../local/lib /usr/local/rt3/bin/../lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /etc/apache2) at /usr/local/rt3/bin/../lib/RT.pm line 624.\nCompilation failed in require at (eval 2) line 1.\n -- Kay Kay Wanous wrote: Hi all, I'm thrilled with the idea of the RT-Tags plugin but I'm doing something wrong with getting it to work with our setup. Any help would be much appreciated! I've extracted it and added the following lines to the RT_SiteConfig.pm: Set(@Plugins,(qw(RTx::Tags))); Set($HomepageComponents, [qw(QuickCreate Quicksearch MyAdminQueues MySupportQueues MyReminders RefreshHomepage Dashboards TagCloud)]); But the TagCloud still doesn't show up as something users can add in RT at a glance or in the Simple Search. Any ideas? Thanks, Kay ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Trouble adding RTx-Tags-0.14 to RT 3.8.1
Oops! Thank you, that worked like a charm. I have a lovely tag cloud in my RT at a Glance. It even shows correctly with the mouseover the number of tickets with that tag. Now I just need to get the simple search working... clicking on something in the cloud finds zero results. :P Thanks, Kay Ruslan Zakirov wrote: You shouldn't extract plugins right into RT's paths, but instead use standard `perl Makefile.PL make make install` steps. If RT is not in standard location then you can use RTHOME environment variable to point to the lib dir with RT.pm. On Tue, Jul 28, 2009 at 6:58 PM, Kay Wanouskay.wan...@gmail.com wrote: I extracted the tarball to /usr/local/rt3/local/plugins/, but the actual directory for the file is /usr/local/rt3/local/plugins/RTx-Tags-0.14/lib/RTx/ Thanks, Kay Ruslan Zakirov wrote: And where is RTx/Tags.pm located on your file system? On Tue, Jul 28, 2009 at 6:33 AM, Kay Wanouskay.wan...@gmail.com wrote: I should have done more looking at my logs and less Google-ing... I had this in my Apache log: [Mon Jul 27 22:27:45 2009] [error] Can't locate RTx/Tags.pm in @INC (@INC contains: /usr/local/rt3/bin/../local/lib /usr/local/rt3/bin/../lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /etc/apache2) at /usr/local/rt3/bin/../lib/RT.pm line 624.\nCompilation failed in require at (eval 2) line 1.\n -- Kay Kay Wanous wrote: Hi all, I'm thrilled with the idea of the RT-Tags plugin but I'm doing something wrong with getting it to work with our setup. Any help would be much appreciated! I've extracted it and added the following lines to the RT_SiteConfig.pm: Set(@Plugins,(qw(RTx::Tags))); Set($HomepageComponents, [qw(QuickCreate Quicksearch MyAdminQueues MySupportQueues MyReminders RefreshHomepage Dashboards TagCloud)]); But the TagCloud still doesn't show up as something users can add in RT at a glance or in the Simple Search. Any ideas? Thanks, Kay ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Trouble adding RTx-Tags-0.14 to RT 3.8.1
Yes, I'm sure I have permissions... they're owned by me and I see them in the queue (and I can search for them by owner or queue). No, the custom field search isn't working. Looking at this page on the wiki (http://wiki.bestpractical.com/view/SearchCustomField), there's a patch - but it seems like I shouldn't need the patch if I've installed RTx:Tags. Is that right? -- Kay Jerrad Pierce wrote: On Tue, Jul 28, 2009 at 11:27, Ruslan Zakirovruslan.zaki...@gmail.com wrote: Look into logs, enable warnings log level. Also, you get better chance to get answer on your problems if you send to this list and cc author of the extension. Present. My reply: Are you you sure you have permission to view those tickets? Installing the module should handle everything at once, and nobody else has had this particular problem... Alternatively, verify that CF searching, as documented in the POD/ on the Simple Search page, is working properly. e.g; .tags:foo or .bar:qux ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Trouble adding RTx-Tags-0.14 to RT 3.8.1
Well, it looks to be an awesome extension for my group once it's working for us. :D Yes, Googleish_Local.pm is in the right place. And yes, the text does show up on the simple search page. Looking more in the Apache logs, when adding a tag (even though it says ... added as a value for Tags in the Result), I'm seeing this: [Tue Jul 28 18:11:21 2009] [error]: Scrip Prepare 11 died. - Require of RT::Action:: failed. Can't locate RT/Action/.pm in @INC (@INC contains: /usr/local/rt3/bin/../local/lib /usr/local/rt3/local/plugins/RTx-Tags/lib /usr/local/rt3/bin/../lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /etc/apache2) at (eval 843) line 3. Stack: [(eval 843):3] [/usr/local/rt3/bin/../lib/RT/Scrip_Overlay.pm:430] [/usr/local/rt3/bin/../lib/RT/Scrips_Overlay.pm:240] [/usr/local/rt3/bin/../lib/RT/Transaction_Overlay.pm:169] [/usr/local/rt3/bin/../lib/RT/Record.pm:1419] [/usr/local/rt3/bin/../lib/RT/Record.pm:1701] [/usr/local/rt3/bin/../lib/RT/Record.pm:1543] [/usr/local/rt3/bin/../lib/RT/Interface/Web.pm:1192] [/usr/local/rt3/bin/../lib/RT/Interface/Web.pm:1093] [/usr/local/rt3/share/html/Ticket/Modify.html:83] [/usr/local/rt3/share/html/autohandler:308] Stack: [/usr/local/rt3/bin/../lib/RT/ScripAction_Overlay.pm:173] [/usr/local/rt3/bin/../lib/RT/Scrip_Overlay.pm:430] [/usr/local/rt3/bin/../lib/RT/Scrips_Overlay.pm:240] [/usr/local/rt3/bin/../lib/RT/Transaction_Overlay.pm:169] [/usr/local/rt3/bin/../lib/RT/Record.pm:1419] [/usr/local/rt3/bin/../lib/RT/Record.pm:1701] [/usr/local/rt3/bin/../lib/RT/Record.pm:1543] [/usr/local/rt3/bin/../lib/RT/Interface/Web.pm:1192] [/usr/local/rt3/bin/../lib/RT/Interface/Web.pm:1093] [/usr/local/rt3/share/html/Ticket/Modify.html:83] [/usr/local/rt3/share/html/autohandler:308] (/usr/local/rt3/bin/../lib/RT/Scrip_Overlay.pm:438) Jerrad Pierce wrote: No, the custom field search isn't working. And local/plugins/RTx-Tags/lib/RT/Search/Googleish_Local.pm is in the right place? If Searching custom field values can be done with .CFieldName:keyword e.g; .tags:spam. Negation is also permitted by prepending a - i.e; -.tags:spam finds ham. Alternatively for tags, use the cloud of links below: does show up on the simple search page then your installation is still broken. Is that right? Yes, as documented on the page. This isn't a very complicated extension, but a little hard to debug without details. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Trouble adding RTx-Tags-0.14 to RT 3.8.1
So, interestingly, when I changed the custom field to be lowercase, then the cloud stopped working, but doing the custom search worked. -- Kay Jerrad Pierce wrote: Looking more in the Apache logs, when adding a tag (even though it says ... added as a value for Tags in the Result), I'm seeing this: That's a scrip error, totally unrelated to RTx::Tags (RTx::Tags just happens to be in @INC because you loaded the plug-in) Are there any messages in the RT log though? About Googleish or Query? Otherwise, there's not much I can do from here. I might be able to get an inkling if you were to create a temporary semi-privileged user for me to see... ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Trouble adding RTx-Tags-0.14 to RT 3.8.1
I've fixed the program... it had to do with us using postgresql instead of mysql, and postgres's custom queries being case sensitive, unlike mysql. I used Adam Tingle's workaround (http://lists.bestpractical.com/pipermail/rt-users/2009-January/056645.html) and this has resolved the problem. Thanks Jerrad and Ruslan for all your help! -- Kay Jerrad Pierce wrote: As indicated in the POD, the SQL uses Tags. This shouldn't have anything to do with custom field searching though. Granted, the cloud links are to .tags and not .Tags, but they should still be happy unless your database has some odd collation setting or other funkiness. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Trouble adding RTx-Tags-0.14 to RT 3.8.1
I should have done more looking at my logs and less Google-ing... I had this in my Apache log: [Mon Jul 27 22:27:45 2009] [error] Can't locate RTx/Tags.pm in @INC (@INC contains: /usr/local/rt3/bin/../local/lib /usr/local/rt3/bin/../lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /etc/apache2) at /usr/local/rt3/bin/../lib/RT.pm line 624.\nCompilation failed in require at (eval 2) line 1.\n -- Kay Kay Wanous wrote: Hi all, I'm thrilled with the idea of the RT-Tags plugin but I'm doing something wrong with getting it to work with our setup. Any help would be much appreciated! I've extracted it and added the following lines to the RT_SiteConfig.pm: Set(@Plugins,(qw(RTx::Tags))); Set($HomepageComponents, [qw(QuickCreate Quicksearch MyAdminQueues MySupportQueues MyReminders RefreshHomepage Dashboards TagCloud)]); But the TagCloud still doesn't show up as something users can add in RT at a glance or in the Simple Search. Any ideas? Thanks, Kay ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] Trouble adding RTx-Tags-0.14 to RT 3.8.1
Hi all, I'm thrilled with the idea of the RT-Tags plugin but I'm doing something wrong with getting it to work with our setup. Any help would be much appreciated! I've extracted it and added the following lines to the RT_SiteConfig.pm: Set(@Plugins,(qw(RTx::Tags))); Set($HomepageComponents, [qw(QuickCreate Quicksearch MyAdminQueues MySupportQueues MyReminders RefreshHomepage Dashboards TagCloud)]); But the TagCloud still doesn't show up as something users can add in RT at a glance or in the Simple Search. Any ideas? Thanks, Kay ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com