Re: [rt-users] Error in Dashboard.

2015-08-10 Thread Christian Loos
Attached a script I use to find the users with the deleted dashboard in
their config.
Then go to Admin-Users, then goto Dashboards in menu on the users
page, mark the delete dashboard in the right select box (it will be a
line without a name) and then hit Delete.

Chris

Am 23.07.2015 um 16:24 schrieb Bryon Baker:
 Thanks for the response Chris.
 
 I look at the open ticket but they do not mention a work around.
 Do you know of a work around to fix the issue?
 
 Thanks
 Bryon Baker
 Network Operations Manager
 Copesan - Specialists in Pest Solutions
 800-267-3726  .  262-783-6261 ext. 2296
 bba...@copesan.com
 www.copesan.com
 Servicing North America with Local Care
 
 -Original Message-
 From: Christian Loos [mailto:cl...@netsandbox.de] 
 Sent: Thursday, July 23, 2015 7:00 AM
 To: Bryon Baker
 Cc: RT Users (rt-users@lists.bestpractical.com); t...@bestpractical.com
 Subject: Re: Error in Dashboard.
 
 Am 22.07.2015 um 17:25 schrieb Bryon Baker:
 Another error from same dashboard.

  

 Failed to load dashboard 757: Failed to load dashboard 757: Couldn't 
 find row (/opt/rt4/share/html/Elements/Tabs:471)
 
 You hit this bug:
 https://issues.bestpractical.com/Ticket/Display.html?id=29719
 
 Chris
 

#!/usr/bin/env perl

use 5.10.1;
use strict;
use warnings;

### after: use lib qw(@RT_LIB_PATH@);
use lib qw(/opt/rt4/local/lib /opt/rt4/lib);

my %opts;
use Getopt::Long;
GetOptions( \%opts,
help|h,
id=i,
);

use RT;
RT-LoadConfig();
RT-Config-Set(LogToSTDERR = 'warning');
RT-Init();

$| = 1;

use RT::Interface::CLI;
RT::Interface::CLI-ShowHelp if $opts{help} or not $opts{id};

my $Users = RT::Users-new(RT-SystemUser);
$Users-FindAllRows;

while (my $User = $Users-Next) {
my $dashboard_pref = $User-Preferences('DashboardsInMenu');
next unless $dashboard_pref;

my $dashboards = $dashboard_pref-{dashboards} || [];

next unless grep { $opts{id} == $_  } @$dashboards;

printf User %s has Dashboard %d in DashboardsInMenu Preference!\n,
$User-Name,
$opts{id};
}

=head1 NAME

rt-find-dashboardsinmenu - find users with a dashboard in DashboardsInMenu

=head1 SYNOPSIS

rt-find-dashboardsinmenu [options]

=head1 DESCRIPTION

Find users with an given dashboard id in their DashboardsInMenu preference.

=head1 OPTIONS

This script supports a few options.

=over

=item B-h, B--help

Display this documentation

=item B--id

The dashboard id to search for.

=back

=head1 AUTHOR

Christian Loos cl...@netcologne.de

=head1 LICENSE AND COPYRIGHT

This software is Copyright (C) 2014-2015, NetCologne GmbH.

This is free software, licensed under:

  The GNU General Public License, Version 2, June 1991

=head1 SEE ALSO

=over

=item Lhttp://issues.bestpractical.com/Ticket/Display.html?id=29719

=back

=cut

1;


Re: [rt-users] Error in Dashboard.

2015-07-23 Thread Christian Loos
Am 22.07.2015 um 17:25 schrieb Bryon Baker:
 Another error from same dashboard.
 
  
 
 Failed to load dashboard 757: Failed to load dashboard 757: Couldn't
 find row (/opt/rt4/share/html/Elements/Tabs:471)

You hit this bug:
https://issues.bestpractical.com/Ticket/Display.html?id=29719

Chris


Re: [rt-users] Error in Dashboard.

2015-07-23 Thread Bryon Baker
Thanks for the response Chris.

I look at the open ticket but they do not mention a work around.
Do you know of a work around to fix the issue?

Thanks
Bryon Baker
Network Operations Manager
Copesan - Specialists in Pest Solutions
800-267-3726  .  262-783-6261 ext. 2296
bba...@copesan.com
www.copesan.com
Servicing North America with Local Care

-Original Message-
From: Christian Loos [mailto:cl...@netsandbox.de] 
Sent: Thursday, July 23, 2015 7:00 AM
To: Bryon Baker
Cc: RT Users (rt-users@lists.bestpractical.com); t...@bestpractical.com
Subject: Re: Error in Dashboard.

Am 22.07.2015 um 17:25 schrieb Bryon Baker:
 Another error from same dashboard.
 
  
 
 Failed to load dashboard 757: Failed to load dashboard 757: Couldn't 
 find row (/opt/rt4/share/html/Elements/Tabs:471)

You hit this bug:
https://issues.bestpractical.com/Ticket/Display.html?id=29719

Chris


Re: [rt-users] Error in Dashboard.

2015-07-22 Thread Bryon Baker
Hello all

Bumping this to see if I can get some direction?

Thanks
Bryon Baker
Network Operations Manager
Copesan - Specialists in Pest Solutions
800-267-3726  *  262-783-6261 ext. 2296
bba...@copesan.commailto:bba...@copesan.com
www.copesan.comhttp://www.copesan.com/
Servicing North America with Local Care

From: Bryon Baker
Sent: Thursday, July 09, 2015 3:01 PM
To: RT Users (rt-users@lists.bestpractical.com); 
'rt-users-requ...@lists.bestpractical.com'
Subject: Error in Dashboard.

Hello All
How can I track down which dashboard is producing this error?

Failed to load dashboard 757: Could not load object for RT::Group-44

I already disable all dashboard for group 44.

Thanks In advance.

Bryon Baker
Network Operations Manager
Copesan - Specialists in Pest Solutions
800-267-3726  *  262-783-6261 ext. 2296
bba...@copesan.commailto:bba...@copesan.com
www.copesan.comhttp://www.copesan.com/
Servicing North America with Local Care



Re: [rt-users] Error in Dashboard.

2015-07-22 Thread Todd Wade

On 7/22/15 11:24 AM, Bryon Baker wrote:

Bumping this to see if I can get some direction?


Hi Bryon, perhaps you missed my reply? Here it is:

On 7/11/15 1:52 PM, Todd Wade wrote:

On 7/9/15 4:00 PM, Bryon Baker wrote:

I already disable all dashboard for group 44.


How did you do this?


How can I track down which dashboard is producing this error?

Failed to load dashboard 757: Could not load object for
RT::Group-44


Its going to be an attribute record with id 757. From your RT
install directory, run the command:

sbin/rt-attributes-viewer 757

And it will give you information about the dashboard, such as the
name.


Re: [rt-users] Error in Dashboard.

2015-07-11 Thread Todd Wade


Hello,

On 7/9/15 4:00 PM, Bryon Baker wrote:

I already disable all dashboard for group 44.


How did you do this?


How can I track down which dashboard is producing this error?

Failed to load dashboard 757: Could not load object for RT::Group-44


Its going to be an attribute record with id 757. From your RT install 
directory, run the command:


sbin/rt-attributes-viewer 757

And it will give you information about the dashboard, such as the name.

Regards,



[rt-users] Error in Dashboard.

2015-07-09 Thread Bryon Baker
Hello All
How can I track down which dashboard is producing this error?

Failed to load dashboard 757: Could not load object for RT::Group-44

I already disable all dashboard for group 44.

Thanks In advance.

Bryon Baker
Network Operations Manager
Copesan - Specialists in Pest Solutions
800-267-3726  *  262-783-6261 ext. 2296
bba...@copesan.commailto:bba...@copesan.com
www.copesan.comhttp://www.copesan.com/
Servicing North America with Local Care