[rt-users] Trying to shred a ticket
Bryon Baker
bbaker at copesan.com
Mon Dec 15 09:51:30 EST 2014
Just wondering if anyone can shed some light on how to delete this ticket?
Thanks for the help
Bryon Baker
Network Operations Manager
Copesan - Specialists in Pest Solutions
800-267-3726 • 262-783-6261 ext. 2296
bbaker at copesan.com<mailto:cstephan at copesan.com>
www.copesan.com<http://www.copesan.com/>
"Servicing North America with Local Care"
From: rt-users [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Bryon Baker
Sent: Friday, December 12, 2014 5:06 PM
To: rt-users
Subject: Re: [rt-users] Trying to shred a ticket
An Update I found information about Dependencies and raised the limit to 100000 which does not seem to help.
Also the only scripts running against this tick is an action using rt-crontool.
Here is the full error
/opt/rt4/sbin/rt-shredder --plugin 'Tickets=query,Id=145013'
SQL dump file is '/home/admin/20141212T230121-0001.sql'
Next 1 objects would be deleted:
RT::Ticket-145013 object
Do you want to proceed? [y/N] y
ERROR: Dependencies list has reached its limit.
See $RT::DependenciesLimit in RT::Shredder docs.
[30789] [Fri Dec 12 23:01:57 2014] [warning]: Too late to safely run transaction-batch scrips! This is typically caused by using ticket objects at the top-level of a script which uses the RT API. Be sure to explicitly undef such ticket objects, or put them inside of a lexical scope. at /opt/rt4/sbin/../lib/RT/Ticket.pm line 2615, <STDIN> line 1 during global destruction. (/opt/rt4/sbin/../lib/RT/Ticket.pm:2615)
Again thanks for any help and or pointer given.
Bryon Baker
Network Operations Manager
Copesan - Specialists in Pest Solutions
800-267-3726 • 262-783-6261 ext. 2296
bbaker at copesan.com<mailto:cstephan at copesan.com>
www.copesan.com<http://www.copesan.com/>
"Servicing North America with Local Care"
From: Bryon Baker
Sent: Friday, December 12, 2014 4:22 PM
To: rt-users
Subject: Trying to shred a ticket
I am trying to shred a ticket and I am issuing the following command.
/opt/rt4/sbin/rt-shredder –force --plugin 'Tickets=query,Id=145013'
I want this ticket to just go away. I am getting the following error.
[28230] [Fri Dec 12 22:14:02 2014] [warning]: Too late to safely run transaction-batch scrips! This is typically caused by using ticket objects at the top-level of a script which uses the RT API. Be sure to explicitly undef such ticket objects, or put them inside of a lexical scope. at /opt/rt4/sbin/../lib/RT/Ticket.pm line 2615, <STDIN> line 1 during global destruction. (/opt/rt4/sbin/../lib/RT/Ticket.pm:2615)
I am running RT 4.2.3 Copyright 1996-2014
Thanks for any help I can get.
Bryon Baker
Network Operations Manager
Copesan - Specialists in Pest Solutions
800-267-3726 • 262-783-6261 ext. 2296
bbaker at copesan.com<mailto:cstephan at copesan.com>
www.copesan.com<http://www.copesan.com/>
"Servicing North America with Local Care"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20141215/1b77bdc1/attachment.htm>
More information about the rt-users
mailing list