Re: [rt-users] Help with SummaryByUsers extension

2013-08-02 Thread window camera
Thank you Kevin. So now that I added it via Edit, I'm getting "internal error" and it doesn't show up.The rt.log is empty. However, the /var/log/messages has this error message:

Aug 2 09:01:32 rttrack RT: could not find component for path
'SummaryByUser'#012#012Stack:#012
[/rtdata/share/html/Elements/MyRT:95]#012 [/rtdata/share/html/index.html:78]#012
[/rtdata/sbin/../lib/RT/Interface/Web.pm:635]#012
[/rtdata/sbin/../lib/RT/Interface/Web.pm:335]#012
[/rtdata/share/html/autohandler:53]
(/rtdata/sbin/../lib/RT/Interface/Web/Handler.pm:208)

Any ideas on how i would troubleshoot this? I'm on RT 4.013. Perhaps the extension is just not compatible?Thank you!-RSent from iCloudOn Aug 01, 2013, at 04:29 PM, Kevin Falcone falc...@bestpractical.com wrote:On Thu, Aug 01, 2013 at 06:28:41PM +, window camera wrote:Does anyone know how to use this or where to find the Summery By User option in the GUI?? Click 'Edit' in the upper right hand corner of your RT at a Glance page, choose it from the list to add it to the page.  Or edit a dashboard and add it there.  -kevin

Re: [rt-users] Help with SummaryByUsers extension

2013-08-02 Thread Kevin Falcone
On Fri, Aug 02, 2013 at 01:45:03PM +, window camera wrote:
 So now that I added it via Edit, I'm getting internal error and it doesn't 
 show up.

You said you registered the component in HomepageComponents, did you
also enable it as a plugin?

 The rt.log is empty. However, the /var/log/messages has this error message:
 
 Aug  2 09:01:32 rttrack RT: could not find component for path 
 'SummaryByUser'#012#012Stack:#012  [/rtdata/share/html/Elements/MyRT:95]#012  
 [/rtdata/share/html/index.html:78]#012  
 [/rtdata/sbin/../lib/RT/Interface/Web.pm:635]#012  
 [/rtdata/sbin/../lib/RT/Interface/Web.pm:335]#012  
 [/rtdata/share/html/autohandler:53] 
 (/rtdata/sbin/../lib/RT/Interface/Web/Handler.pm:208)
 Any ideas on how i would troubleshoot this? I'm on RT 4.013. Perhaps the 
 extension is just not compatible?

You also cut off part of this that would have shown the search paths
for where it was looking for the file.

-kevin


pgpA2cpgNnR3f.pgp
Description: PGP signature


Re: [rt-users] Help with SummaryByUsers extension

2013-08-02 Thread window camera
You said you registered the component in HomepageComponents, did you also enable it as a plugin?Yes, I did. Homepagecomponents setting is in RT_Config.pm: 

Set(
 $HomepageComponents,
 [
 qw(QuickCreate Quicksearch
MyAdminQueues MySupportQueues MyReminders RefreshHomepage Dashboards
SavedSearches SummaryByUser) # loc_qw
 ]
);

=back

And the plugin setting is in RT_SiteConfig.pm.Is there anyway that you know of that I can increase the logging? Or perhaps there is another log file somewhere? Also, perhaps it's just not compatible with RT 4.13. Do you know how to go about uninstalling it?You also cut off part of this that would have shown the search paths for where it was looking for the file.Unfortunately, that's how it shows up in the log file /var/log/messages. The RT engine cuts them off in the log file.Thank you for looking into this!-RickOn Aug 02, 2013, at 10:56 AM, Kevin Falcone falc...@bestpractical.com wrote:On Fri, Aug 02, 2013 at 01:45:03PM +, window camera wrote:So now that I added it via Edit, I'm getting "internal error" and it doesn't show up. You said you registered the component in HomepageComponents, did you also enable it as a plugin? The rt.log is empty. However, the /var/log/messages has this error message:Aug 2 09:01:32 rttrack RT: could not find component for path 'SummaryByUser'#012#012Stack:#012 [/rtdata/share/html/Elements/MyRT:95]#012 [/rtdata/share/html/index.html:78]#012 [/rtdata/sbin/../lib/RT/Interface/Web.pm:635]#012 [/rtdata/sbin/../lib/RT/Interface/Web.pm:335]#012 [/rtdata/share/html/autohandler:53] (/rtdata/sbin/../lib/RT/Interface/Web/Handler.pm:208)Any ideas on how i would troubleshoot this? I'm on RT 4.013. Perhaps the extension is just not compatible? You also cut off part of this that would have shown the search paths for where it was looking for the file.  -kevin

Re: [rt-users] Help with SummaryByUsers extension

2013-08-02 Thread Kevin Falcone
On Fri, Aug 02, 2013 at 03:33:48PM +, window camera wrote:
 You said you registered the component in HomepageComponents, did you
 also enable it as a plugin?
 
 Yes, I did. Homepagecomponents setting is in RT_Config.pm:

This is wrong.  Always make your changes in RT_SiteConfig.pm, never in
RT_Config.pm or they'll be lost when you upgrade.

Read lines 9 through 17 of RT_Config.pm:

#  WARNING  #
#   #
# NEVER EDIT RT_Config.pm ! #
#   #
# Instead, copy any sections you want to change to  #
# RT_SiteConfig.pm and edit them there.  Otherwise, #
# your changes will be lost when you upgrade RT.#
#   #
#  WARNING  #


 Set(
$HomepageComponents,
[
qw(QuickCreate Quicksearch MyAdminQueues MySupportQueues MyReminders 
 RefreshHomepage Dashboards SavedSearches SummaryByUser) # loc_qw
]
 );

That's not actually correct.
This plugin provides two components.  OwnerSummmary and RequestorSummary.
Go delete SummaryByUser from your RT at a Glance page, fix HomepageComponents 
to contain valid components and then add them to the page.

-kevin


pgpqlZccw6IZD.pgp
Description: PGP signature


Re: [rt-users] Help with SummaryByUsers extension

2013-08-02 Thread window camera
This is wrong. Always make your changes in RT_SiteConfig.pm, never in RT_Config.pm or they'll be lost when you upgrade.Yes, I know it's wrong to do it there. Had no choice though. There was absolutely no information or documenation on how to setup "HomepageCompoents" in RT_SiteConfig.pm. I searched far and wide for it.Do you happen to know how? I'll tell you how I did it though (in RT_SiteConfig.pm): SET ( HomepageComponents, qw('SummaryByUser'));and I also added the SummaryByUser in the @plugins. Howerver, got the same exact error. No dice. Just error'ed out again. I'm just a little baffled why these extensions don't come with a README that gives directions on how to set it up. Anyway I digress. Go delete SummaryByUser from your RT at a Glance page, fix 
HomepageComponents to contain valid components and then add them to the 
page.Yes, thanks. I did do that. Same error. See above configuration I did in RT_SiteConfig.pm. Now when I add "OwnerSummary" as you said, I get error "Error while loading can't locate RT/Extensions/OwnerSummary.pm. Any other things you think I should check? Or perhaps now we're at the point where this extension is perhaps not compatible with RT 4.13?Thank youRickSent from iCloudOn Aug 02, 2013, at 11:49 AM, Kevin Falcone falc...@bestpractical.com wrote:On Fri, Aug 02, 2013 at 03:33:48PM +, window camera wrote:You said you registered the component in HomepageComponents, did youalso enable it as a plugin?Yes, I did. Homepagecomponents setting is in RT_Config.pm: This is wrong. Always make your changes in RT_SiteConfig.pm, never in RT_Config.pm or they'll be lost when you upgrade.  Read lines 9 through 17 of RT_Config.pm:  # WARNING # # # # NEVER EDIT RT_Config.pm ! # # # # Instead, copy any sections you want to change to # # RT_SiteConfig.pm and edit them there. Otherwise, # # your changes will be lost when you upgrade RT. # # # # WARNING #  Set($HomepageComponents,[qw(QuickCreate Quicksearch MyAdminQueues MySupportQueues MyReminders RefreshHomepage Dashboards SavedSearches SummaryByUser) # loc_qw]); That's not actually correct. This plugin provides two components. OwnerSummmary and RequestorSummary. Go delete SummaryByUser from your RT at a Glance page, fix HomepageComponents to contain valid components and then add them to the page.  -kevin

Re: [rt-users] Help with SummaryByUsers extension

2013-08-02 Thread Kevin Falcone
On Fri, Aug 02, 2013 at 05:03:32PM +, window camera wrote:
 This is wrong. Always make your changes in RT_SiteConfig.pm, never in
 RT_Config.pm or they'll be lost when you upgrade.
 
 Yes, I know it's wrong to do it there. Had no choice though.
 There was absolutely no information or documenation on how to
 setup HomepageCompoents in RT_SiteConfig.pm. I searched far and
 wide for it.

Um.  Copy it from RT_Config.pm to RT_SiteConfig.pm and modify it
there.o

The documentation I copied that you deleted said what to do.

#  WARNING  #
#   #
# NEVER EDIT RT_Config.pm ! #
#   #
# Instead, copy any sections you want to change to  #
# RT_SiteConfig.pm and edit them there.  Otherwise, #
# your changes will be lost when you upgrade RT.#
#   #
#  WARNING  #


 
 Do you happen to know how?
 
 I'll tell you how I did it though (in RT_SiteConfig.pm):
 
 SET ( HomepageComponents, qw('SummaryByUser'));

Nope, SET is invalid, it's Set (copy, don't retype).
Exactly the line you had in RT_Config.pm goes in RT_SiteConfig.pm.

Then you add OwnerSummary to that HomepageComponents line.
(The names OwnerSummary and RequestorSummary are documented in the
DESCRIPTION section of the README shipped with the extension).

 and I also added the SummaryByUser in the @plugins.

@Plugins, not @plugins.  You still haven't shown your plugins configuration.

 Howerver, got the same exact error. No dice. Just error'ed out again.
 I'm just a little baffled why these extensions don't come with a
 README that gives directions on how to set it up. Anyway I digress.

Most extensions do, this one is underdocumented.

 Go delete SummaryByUser from your RT at a Glance page, fix 
 HomepageComponents to contain valid components and then add them to the 
 page.
 
 Yes, thanks. I did do that. Same error. See above configuration I did in 
 RT_SiteConfig.pm.

 Now when I add OwnerSummary as you said, I get error Error while loading 
 can't locate RT/Extensions/OwnerSummary.pm.

No, don't add that to plugins, you add that to HomepageComponents.

 Any other things you think I should check? Or perhaps now we're at the point 
 where this extension is perhaps not compatible with RT 4.13?

This extension is compatible with 4.0.13.
I'm the developer who contributed a patch to make it compatible with RT4.

Since you don't seem to be following my explanations, I'll copy and
paste the correct configuration here, but then you're on your own.

Set(
$HomepageComponents,
[
qw(QuickCreate Quicksearch MyAdminQueues MySupportQueues MyReminders 
RefreshHomepage Dashboards SavedSearches OwnerSummary) # loc_qw
]
);

Set( @Plugins, qw(RT::Extension::SummaryByUser));

If you use more than one plugin, this @Plugins line is incorrect and
will disable other plugins. You must specify them all in a single
@Plugins line.

-kevin


pgpSihzHYGRax.pgp
Description: PGP signature


Re: [rt-users] Help with SummaryByUsers extension

2013-08-02 Thread window camera
Kevin, Your help is much appreciated.I've done exactly what you've stated. I've also successfully installed over 10 other extensions. For some reason, this extension just doesn't want to work on my RT 4.13 version. I still get the error :Aug
2 13:48:18 rttrack RT: could not find component for path
'SummaryByUser'#012#012Stack:#012
[/rtdata/share/html/Elements/MyRT:95]#012
[/rtdata/share/html/index.html:78]#012
[/rtdata/sbin/../lib/RT/Interface/Web.pm:635]#012
[/rtdata/sbin/../lib/RT/Interface/Web.pm:335]#012 [/rtdata/share/html/autohandler:53]
(/rtdata/sbin/../lib/RT/Interface/Web/Handler.pm:208)

At this point, i'd like to uninstall it and get rid of all the error messages (on the GUI and within the logs). Are there removal instructions anywhere?Thank you again!-RickSent from iCloudOn Aug 02, 2013, at 01:15 PM, Kevin Falcone falc...@bestpractical.com wrote:On Fri, Aug 02, 2013 at 05:03:32PM +, window camera wrote:This is wrong. Always make your changes in RT_SiteConfig.pm, never inRT_Config.pm or they'll be lost when you upgrade.Yes, I know it's wrong to do it there. Had no choice though.There was absolutely no information or documenation on how tosetup "HomepageCompoents" in RT_SiteConfig.pm. I searched far andwide for it. Um. Copy it from RT_Config.pm to RT_SiteConfig.pm and modify it there.o  The documentation I copied that you deleted said what to do.  # WARNING # # # # NEVER EDIT RT_Config.pm ! # # # # Instead, copy any sections you want to change to # # RT_SiteConfig.pm and edit them there. Otherwise, # # your changes will be lost when you upgrade RT. # # # # WARNING #  Do you happen to know how?I'll tell you how I did it though (in RT_SiteConfig.pm):SET ( HomepageComponents, qw('SummaryByUser')); Nope, SET is invalid, it's Set (copy, don't retype). Exactly the line you had in RT_Config.pm goes in RT_SiteConfig.pm.  Then you add OwnerSummary to that HomepageComponents line. (The names OwnerSummary and RequestorSummary are documented in the DESCRIPTION section of the README shipped with the extension). and I also added the SummaryByUser in the @plugins. @Plugins, not @plugins. You still haven't shown your plugins configuration. Howerver, got the same exact error. No dice. Just error'ed out again.I'm just a little baffled why these extensions don't come with aREADME that gives directions on how to set it up. Anyway I digress. Most extensions do, this one is underdocumented. Go delete SummaryByUser from your RT at a Glance page, fix HomepageComponents to contain valid components and then add them to the page.Yes, thanks. I did do that. Same error. See above configuration I did in RT_SiteConfig.pm.Now when I add "OwnerSummary" as you said, I get error "Error while loading can't locate RT/Extensions/OwnerSummary.pm. No, don't add that to plugins, you add that to HomepageComponents. Any other things you think I should check? Or perhaps now we're at the point where this extension is perhaps not compatible with RT 4.13? This extension is compatible with 4.0.13. I'm the developer who contributed a patch to make it compatible with RT4.  Since you don't seem to be following my explanations, I'll copy and paste the correct configuration here, but then you're on your own.  Set( $HomepageComponents, [ qw(QuickCreate Quicksearch MyAdminQueues MySupportQueues MyReminders RefreshHomepage Dashboards SavedSearches OwnerSummary) # loc_qw ] );  Set( @Plugins, qw(RT::Extension::SummaryByUser));  If you use more than one plugin, this @Plugins line is incorrect and will disable other plugins. You must specify them all in a single @Plugins line.  -kevin

Re: [rt-users] Help with SummaryByUsers extension

2013-08-02 Thread Kevin Falcone
On Fri, Aug 02, 2013 at 05:53:51PM +, window camera wrote:
 I still get the error :
 
 Aug  2 13:48:18 rttrack RT: could not find component for path 
 'SummaryByUser'#012#012Stack:#012  [/rtdata/share/html/Elements/MyRT:95]#012  
 [/rtdata/share/html/index.html:78]#012  
 [/rtdata/sbin/../lib/RT/Interface/Web.pm:635]#012  
 [/rtdata/sbin/../lib/RT/Interface/Web.pm:335]#012  
 [/rtdata/share/html/autohandler:53] 
 (/rtdata/sbin/../lib/RT/Interface/Web/Handler.pm:208)
 At this point, i'd like to uninstall it and get rid of all the error messages 
 (on the GUI and within the logs).

You've not followed my instructions if you have that error.

At this point, go click the Reset to Default on that page.

 Are there removal instructions anywhere?

Delete the plugin.
Remove it from your configuration.

-kevin


pgps0yPf5Dlr2.pgp
Description: PGP signature


Re: [rt-users] Help with SummaryByUsers extension

2013-08-02 Thread window camera
You've not followed my instructions if you have that error.I wouldn't assume that. But thank you for taking the time to help.Best-RickSent from iCloudOn Aug 02, 2013, at 02:03 PM, Kevin Falcone falc...@bestpractical.com wrote:On Fri, Aug 02, 2013 at 05:53:51PM +, window camera wrote:I still get the error :Aug 2 13:48:18 rttrack RT: could not find component for path 'SummaryByUser'#012#012Stack:#012 [/rtdata/share/html/Elements/MyRT:95]#012 [/rtdata/share/html/index.html:78]#012 [/rtdata/sbin/../lib/RT/Interface/Web.pm:635]#012 [/rtdata/sbin/../lib/RT/Interface/Web.pm:335]#012 [/rtdata/share/html/autohandler:53] (/rtdata/sbin/../lib/RT/Interface/Web/Handler.pm:208)At this point, i'd like to uninstall it and get rid of all the error messages (on the GUI and within the logs). You've not followed my instructions if you have that error.  At this point, go click the Reset to Default on that page. Are there removal instructions anywhere? Delete the plugin. Remove it from your configuration.  -kevin