Re: [rt-users] Install Error in GnuPG::Interface

2014-09-09 Thread Alex Peters
The tests in encrypt_symmetrically.t are failing for you.

I would consider this a bug in the latest version of GnuPG::Interface.

While Alex Vandiver (responsible for the latest release of that
distribution) is a contributor to this mailing list and may see this post,
I'd recommend pasting your test output into a proper bug report here:

https://rt.cpan.org/Public/Dist/Display.html?Name=GnuPG-Interface

If GPG integration isn't strictly mandatory for your installation,
re-running RT's "configure" script with the relevant option may permit you
to proceed with installing RT.  See its help for further info:

$ ./configure --help
On 10/09/2014 5:38 am, "Rolf Krogstad"  wrote:

>  Here is the results of the verbose test:
>
> cpan[5]>
> * look GnuPG::Interface*Running look for module 'GnuPG::Interface'
>
> Trying to open a subshell in the build directory...
> Working directory is /root/.cpan/build/GnuPG-Interface-0.50-s33z4t
> [root@localhost GnuPG-Interface-0.50-s33z4t]#* make test TEST_VERBOSE=1*
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(1, 'inc', 'blib/lib', 'blib/arch')" t/*.t
> t/clearsign.t ..
> 1..2
> ok 1
> ok 2
> ok
> t/decrypt.t 
> 1..4
> ok 1
> ok 2
> ok 3
> ok 4
> ok
> t/detach_sign.t 
> 1..2
> ok 1
> ok 2
> ok
> t/encrypt.t 
> 1..3
> ok 1
> gpg: WARNING: unsafe ownership on homedir `test'
> ok 2
> ok 3
> ok
> t/encrypt_symmetrically.t ..
> 1..2
> not ok 1
> not ok 2
> Failed 2/2 subtests
> t/export_keys.t 
> 1..2
> ok 1
> ok 2
> ok
> t/Fingerprint.t 
> 1..2
> ok 1
> ok 2
> ok
> t/get_public_keys.t 
> 1..3
> gpg: WARNING: unsafe ownership on homedir `test'
> ok 1
> ok 2
> ok 3
> ok
> t/get_secret_keys.t 
> 1..2
> gpg: WARNING: unsafe ownership on homedir `test'
> ok 1
> ok 2
> ok
> t/import_keys.t 
> 1..2
> ok 1
> ok 2
> ok
> t/Interface.t ..
> 1..2
> ok 1
> ok 2
> ok
> t/list_public_keys.t ...
> 1..3
> ok 1
> ok 2
> ok 3
> ok
> t/list_secret_keys.t ...
> 1..4
> ok 1
> ok 2
> ok 3
> ok 4
> ok
> t/list_sigs.t ..
> 1..3
> ok 1
> ok 2
> ok 3
> ok
> t/passphrase_handling.t 
> 1..3
> ok 1
> ok 2
> gpg: WARNING: unsafe ownership on homedir `test'
> ok 3
> ok
> t/sign.t ...
> 1..2
> ok 1
> ok 2
> ok
> t/sign_and_encrypt.t ...
> 1..2
> ok 1
> ok 2
> ok
> t/UserId.t .
> 1..2
> ok 1
> ok 2
> ok
> t/verify.t .
> 1..2
> ok 1
> ok 2
> ok
> t/wrap_call.t ..
> 1..4
> ok 1
> ok 2
> ok 3
> ok 4
> ok
>
> Test Summary Report
> ---
> t/encrypt_symmetrically.t (Wstat: 0 Tests: 2 Failed: 2)
>   Failed tests:  1-2
> Files=20, Tests=51, 15 wallclock secs ( 0.09 usr  0.02 sys +  4.23 cusr
> 0.59 csys =  4.93 CPU)
> Result: FAIL
> Failed 1/20 test programs. 2/51 subtests failed.
> make: *** [test_dynamic] Error 255
>
>
> >>> On 9/4/2014 at 6:58 PM, in message  klsbv5vy+8maftdmec...@mail.gmail.com>, Alex Peters 
> wrote:
>
> The first command should have spawned a shell in
> /root/.cpan/build/GnuPG-Interface-0.50-7A5Mpd, the path shown near the end
> of the output of the first command. The second command should be run with
> that path as the working directory.
>
> The references to RT in the output from the second command suggest that
> the "make test" command was run from the RT installation directory rather
> than the temporary directory created by the first command.
> On 05/09/2014 5:29 am, "Rolf Krogstad"  wrote:
>
>>  Thanks for your help.
>>  *Here are the results of the first command*
>> 
>> cpan[1]> look GnuPG::Interface
>> Reading '/root/.cpan/Metadata'
>> Database was generated on Tue, 02 Sep 2014 08:29:02 GMT
>> Fetching with LWP:
>> http://cpan.msi.umn.edu/authors/01mailrc.txt.gz
>> Reading '/root/.cpan/sources/authors/01mailrc.txt.gz'
>>
>> DONE
>> Fetching with LWP:
>> http://cpan.msi.umn.edu/modules/02packages.details.txt.gz
>> Reading '/root/.cpan/sources/modules/02packages.details.txt.gz'
>> Database was generated on Thu, 04 Sep 2014 08:53:15 GMT
>> ..
>> New CPAN.pm version (v2.05) available.
>> [Currently running version is v1.9800]
>> You might want to try
>> install CPAN
>> reload cpan
>> to both upgrade CPAN.pm and run the new version without leaving
>> the current session.
>>
>> ..DONE
>> Fetching with LWP:
>> http://cpan.msi.umn.edu/modules/03modlist.data.gz
>> Reading '/root/.cpan/sources/modules/03modlist.data.gz'
>> DONE
>> Writing /root/.cpan/Metadata
>> Running look for module 'GnuPG::Interface'
>>  Trying to open a subshell in the build directory...
>> Checksum for
>> /root/.cpan/sources/authors/id/A/AL/ALEXMV/GnuPG-Interface-0.50.tar.gz ok
>> Scanning cache /root/.cpan/build for sizes
>>
>> ...

Re: [rt-users] Help with building Graphs

2014-09-09 Thread Alex Peters
Looking at your code, it seems that the two data structures would be
completely different.

The example data in @data2 consists of two array references: one for labels
and one for values.  Essentially, it's a 2D matrix.

Your @data array would just directly contain values not wrapped within an
array reference, and with no labels.

I haven't played with GD::Graph or read its documentation, so that format
may be acceptable.

To get the two arrays identical in structure though, you could add this
after the "for" loop:

@data = (\@status, \@data);
On 10/09/2014 7:01 am, "Bryon Baker"  wrote:

>  Hello all I am trying to create some custom graphs.  The issue I am have
> is getting the data in the right format for GD:Graph
>
>
>
> Using data dumper I can see that I am getting the correct data.  Per
> GD::Graph when I pass the data object to GD::Graph it is in an invalid
> format.
>
>
>
> In the code I use the object @data for the data from Request tracker.  The
> data2 object I built for testing and it works fine.
>
>
>
> Thanks in advance for the help.
>
>
>
> Here is my test code snippet.
>
>
>
>
>
> my @data;
>
> my @status = qw[new assigned opened evaluation closed];
>
> for my $status (@status)
>
> {
>
> my $search = new RT::Tickets($RT::SystemUser);
>
> $search->FromSQL("Queue = 'cerby' AND Status = '$status'");
>
> push @data, $search->Count;
>
> #print Dumper(\@data);
>
> print Dumper(\$search);
>
> }
>
> my @data2 = (
>
> ["1st","2nd","3rd","4th"],
>
>[ 1, 3.5, 5, 6 ],
>
> );
>
>
>
> print Dumper(\@data2);
>
> my $pie = GD::Graph::pie->new(400, 400);
>
> $pie->set(
>
> #   accentclr   => undef,
>
> '3d'=> 0,
>
> ) or die $pie->error;
>
> my $img1 = $pie->plot(\@data2) or die $pie->error;
>
> open(IMG, '>pie.png') or die $!;
>
> binmode IMG;
>
> print IMG $img1->png;
>
>
>
> 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"*
>
>
>
> --
> RT Training - Boston, September 9-10
> http://bestpractical.com/training
>
-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training

Re: [rt-users] Custom Scrip on queue change

2014-09-09 Thread Kenneth Crocker
Guy,

Have you tried looking at the examples in my ebook "Request Tracker - A
Topical Guide". It's at Amazon for $ 9.99. If that doesn't work, contact me
and I'll help you with it.

Kenn

On Mon, Sep 8, 2014 at 11:02 AM, Kevin Falcone 
wrote:

> On Mon, Sep 08, 2014 at 01:09:39PM +0100, Guy Baxter wrote:
> > I'm looking to write a custom scrip that triggers a template when a
> ticket
> > changes from a specific queue to another specific queue.
> >
> > How do I go about this please?
>
> Create a Queue level Scrip using
> http://bestpractical.com/docs/rt/latest/RT/Condition/QueueChange.html
>
> I have no idea what "triggers a template" means, so can't help with
> the Action to choose.
>
> -kevin
>
> --
> RT Training - Boston, September 9-10
> http://bestpractical.com/training
>
-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training

[rt-users] Help with building Graphs

2014-09-09 Thread Bryon Baker
Hello all I am trying to create some custom graphs.  The issue I am have is 
getting the data in the right format for GD:Graph

Using data dumper I can see that I am getting the correct data.  Per GD::Graph 
when I pass the data object to GD::Graph it is in an invalid format.

In the code I use the object @data for the data from Request tracker.  The 
data2 object I built for testing and it works fine.

Thanks in advance for the help.

Here is my test code snippet.


my @data;
my @status = qw[new assigned opened evaluation closed];
for my $status (@status)
{
my $search = new RT::Tickets($RT::SystemUser);
$search->FromSQL("Queue = 'cerby' AND Status = '$status'");
push @data, $search->Count;
#print Dumper(\@data);
print Dumper(\$search);
}
my @data2 = (
["1st","2nd","3rd","4th"],
   [ 1, 3.5, 5, 6 ],
);

print Dumper(\@data2);
my $pie = GD::Graph::pie->new(400, 400);
$pie->set(
#   accentclr   => undef,
'3d'=> 0,
) or die $pie->error;
my $img1 = $pie->plot(\@data2) or die $pie->error;
open(IMG, '>pie.png') or die $!;
binmode IMG;
print IMG $img1->png;

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"

-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training

Re: [rt-users] users cannot forward tickets

2014-09-09 Thread Paul Stead

The permission you're looking for is "Forward messages outside of RT"

On 09/09/14 14:38, Jeff Fioravanti wrote:

We have rt 4.0.8 installed, and some of our users, when they have a ticket open 
and select the top action, they do not have the option to “forward” how do I 
give them that right?


--
Paul Stead
Systems Engineer
Zen Internet
-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training

[rt-users] users cannot forward tickets

2014-09-09 Thread Jeff Fioravanti
Good Day,

 

We have rt 4.0.8 installed, and some of our users, when they have a ticket open 
and select the top action, they do not have the option to “forward” how do I 
give them that right?

 

Jeff Fioravanti

Desktop Support Analyst

jfiorava...@primax.us

P 781-756-8247 (direct) | Fax 781-246-5609

 

 Primax logo autosignature  516 Edgewater Dr., Wakefield, MA 01880 ▪ 
www.primax.us

 

 

Confidentiality Statement

This e-mail and any attachments are for use by the intended recipient only and 
may contain information that is privileged, confidential or exempt from 
disclosure under applicable law. If you are not the intended recipient any 
disclosure, distribution or other use of this content is prohibited. If you 
received this e-mail in error, please immediately notify the sender and delete

 

 

-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training

Re: [rt-users] deleting attachments

2014-09-09 Thread Woody - Wild Things

Hi Ken,

Thanks for your quick reply.
There is no specific performance issue that i can see, apart from timley 
nightly backups. Removing large attachments would be fine, but wouldn't 
that remove them all, even the ones from say the past year that i need 
to keep?


Maybe i should just "not worry about it", but i've only got 50G left on 
the server (its only a 230GB drive) so it's something i'll have to 
address soon as each GB the db grows probably adds another 5 in stored 
backups etc


w.

On 09/09/14 15:54, k...@rice.edu wrote:

On Tue, Sep 09, 2014 at 01:52:25PM +0300, Woody - Wild Things wrote:

Hello,

My rt4 database has now hit 10GB and i want to clean it out by
removing some old attachments.
As far as i an see from rt-shredder attachments can only be removed
by size, and not created before a certain date.
Can I just delete the attachments directly from the database with
sql? or is that unwise?

thanks

w.


Hi Woody,

If you are deleting attachments created before a certain date, you are
effectively removing all of the ticket data so you should just remove
all tickets before a certain date. They are numbered sequentially so
that is easy to do. Otherwise, just removing the larger attachments can
free up space. I am curious, 10GB does not seem terribly large. Is the
size causing any performance issues with your system?

Regards,
Ken




--
RT Training - Boston, September 9-10
http://bestpractical.com/training


Re: [rt-users] deleting attachments

2014-09-09 Thread k...@rice.edu
On Tue, Sep 09, 2014 at 01:52:25PM +0300, Woody - Wild Things wrote:
> Hello,
> 
> My rt4 database has now hit 10GB and i want to clean it out by
> removing some old attachments.
> As far as i an see from rt-shredder attachments can only be removed
> by size, and not created before a certain date.
> Can I just delete the attachments directly from the database with
> sql? or is that unwise?
> 
> thanks
> 
> w.
> 

Hi Woody,

If you are deleting attachments created before a certain date, you are
effectively removing all of the ticket data so you should just remove
all tickets before a certain date. They are numbered sequentially so
that is easy to do. Otherwise, just removing the larger attachments can
free up space. I am curious, 10GB does not seem terribly large. Is the
size causing any performance issues with your system?

Regards,
Ken
-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training


[rt-users] deleting attachments

2014-09-09 Thread Woody - Wild Things

Hello,

My rt4 database has now hit 10GB and i want to clean it out by removing 
some old attachments.
As far as i an see from rt-shredder attachments can only be removed by 
size, and not created before a certain date.
Can I just delete the attachments directly from the database with sql? 
or is that unwise?


thanks

w.

--
RT Training - Boston, September 9-10
http://bestpractical.com/training


[rt-users] Number of displayed rows of a saved search in dashboard

2014-09-09 Thread Markus . Wildbolz
Hi guys.

I've constructed several saved searches (everyone with the number of rows 
per page set to 10) and wanted to get them into a dashboard for overview.

I now have the problem, that the dashboard shows more than the specified 
10 rows and i cannot find any other possibility to get rid of this.
Also, it is interesting, that the system saved searches (e.g. Saved 
Search: My Tickets) also come up with " 50 highest priority tickets I own"
.

Does anyone have a clue for me where to start searching for the problem? 
Is there maybe any other configuration-option i missed?


Thanks in advance,

Markus-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training