Problem with Rt-Shredder

Hi,

I am using rt-shredder to thin out my RT database. However I keep
getting the following error:

[Thu Mar 23 11:31:48 2006] [crit]: Can’t locate object method "caught"
via package “RTx::Shredder::Exception::Info”

Does anyone know how to fix this?

Regards

Dax

This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email

I’ve released Shredder-0.04 that should fix this issue.On 3/23/06, Dave Wells dave.wells@foreshore.net wrote:

Hi,

I am using rt-shredder to thin out my RT database. However I keep
getting the following error:

[Thu Mar 23 11:31:48 2006] [crit]: Can’t locate object method "caught"
via package “RTx::Shredder::Exception::Info”

Does anyone know how to fix this?

Regards

Dax


This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email



List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel

Best Practical is hiring! Come hack Perl for us: http://bestpractical.com/about/jobs.html

Best regards, Ruslan.

RT version? Shredder version?
What did you do when you got this?
What other errors near that one?

This thread should be in rt-users@ and also always Cc to the author of
the extension.On 3/23/06, Dave Wells dave.wells@foreshore.net wrote:

Hi,

I am using rt-shredder to thin out my RT database. However I keep
getting the following error:

[Thu Mar 23 11:31:48 2006] [crit]: Can’t locate object method "caught"
via package “RTx::Shredder::Exception::Info”

Does anyone know how to fix this?

Regards

Dax


This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email



List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel

Best Practical is hiring! Come hack Perl for us: http://bestpractical.com/about/jobs.html

Best regards, Ruslan.

I’m getting:
[crit]: Couldn’t wipeout object: Can’t call method “IsLocal” on an
undefined value at /opt/rt3/lib/RT/URI.pm line 247, line 1.

Is this due to fact that one of the tickets I’m trying to delete has
links?
I’m running rt 3.4.5 and shredder 0.03_01

Hi,

Thanks for the pointers.

RT Version: 3.4.4
Shredder: 0.03_01

I am running this on a secondary MySQL server to test timings. The error
occurs when I run rt-shredder as below:

/usr/local/rt3/local/sbin/rtx-shredder --plugin
’Tickets=status,deleted;updated_before,2003-10-05 21:39:34;limit,10000’
–sqldump /tmp/rt3_dump.sql

Now I have tried the limit at various settings as low as 5 and up to
20000, the shredder will work for various periods of time from 30secs to
over an hour before it hits this error but it does hit it this error
more often than not and in fact the only times it doesn’t is when there
is a very low limit set “i.e up to 10”.

The other errors that the shredder reports around this error as below:

[root@linuxserv02 root]# date
Thu Mar 23 14:50:38 GMT 2006
[root@linuxserv02 root]# /usr/local/rt3/local/sbin/rtx-shredder --plugin
’Tickets=status,deleted;updated_before,2003-10-05 21:39:34;limit,2000’
–sqldump /tmp/rt3_dump.sql --force
SQL dump file is ‘/tmp/rt3_dump.sql’
[Thu Mar 23 14:52:59 2006] [crit]: RT::Ticket=HASH(0xa66112c) tried to
load a bogus ticket: 216
(/usr/local/rt3/lib/RT/Ticket_Overlay.pm:257)
[Thu Mar 23 14:52:59 2006] [crit]: Can’t locate object method "caught"
via package “RTx::Shredder::Exception::Info” at
/usr/local/rt3/local/sbin/rtx-shredder line 107.
(/usr/local/rt3/lib/RT.pm:295)
[root@linuxserv02 root]# date
Thu Mar 23 14:53:23 GMT 2006

After the above run the /tmp/rt3_dump.sql logfile was as attached.

<<rt3_dump.sql>>

Regards

DaxFrom: Ruslan Zakirov [mailto:ruslan.zakirov@gmail.com]
Sent: 23 March 2006 12:55
To: Dave Wells
Cc: RT users
Subject: Re: [Rt-devel] Problem with Rt-Shredder

RT version? Shredder version?
What did you do when you got this?
What other errors near that one?

This thread should be in rt-users@ and also always Cc to the author of
the extension.

rt3_dump.sql (35.4 KB)

I’ve uploaded Shredder-0.04, it would be available soon from CPAN.
This release should fix your issue.On 3/24/06, Don Beethe dmbeethe@fedex.com wrote:

I’m getting:
[crit]: Couldn’t wipeout object: Can’t call method “IsLocal” on an
undefined value at /opt/rt3/lib/RT/URI.pm line 247, line 1.

Is this due to fact that one of the tickets I’m trying to delete has
links?
I’m running rt 3.4.5 and shredder 0.03_01


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html

Best regards, Ruslan.