Marco Avvisano wrote: > > I'm trying to use RTx-Shredder on RT 3.6.0 from command line: > > /opt/rt3/local/sbin/rtx-shredder --plugin 'Tickets=queue, queuename' > > and return this error: > > [crit]: Couldn't wipeout object: Can't call method "IsLocal" on an > undefined value at /opt/rt3/lib/RT/URI.pm line 247, <STDIN> line 1. > (/opt/rt3/lib/RT.pm:317) > > > > any ideas ? > > Marco > >> ----- Original Message ----- From: "Ruslan Zakirov" >> <[EMAIL PROTECTED]> >> To: <[EMAIL PROTECTED]> >> Cc: <rt-users@lists.bestpractical.com> >> Sent: Friday, July 14, 2006 2:38 PM >> Subject: Re: [rt-users] RTx-Shredder question >> >> >>> As I remember one of users reported that shredder deletes 500 records >>> from different tables of his DB for four tickets only. Really the >>> tickets table is "la punta dell'iceberg". >>> >>> On 7/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >>>> I had a question about removing ticket from the database... >>>> >>>> I am not a database expert so this will be a "green" question... >>>> >>>> Instead of using RTx-Shredder why can't I simply run a query against >>>> the >>>> database to remove any tickets with the status of deleted? Will that >>>> leave >>>> too many other linked tables with data that is not linked? Is that >>>> why we >>>> should use RTx-Shredder? >>>> >>>> On my test Installs of RT I have deleted data this way without an >>>> issue... >>>> >>>> Just curious... >>>> >>>> >>>> >>>> _______________________________________________ >>>> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >>>> >>>> Community help: http://wiki.bestpractical.com >>>> Commercial support: [EMAIL PROTECTED] >>>> >>>> >>>> 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. >>> _______________________________________________ >>> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >>> >>> Community help: http://wiki.bestpractical.com >>> Commercial support: [EMAIL PROTECTED] >>> >>> >>> 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 >> > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: [EMAIL PROTECTED] > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy > a copy at http://rtbook.bestpractical.com >
I'm no expert but I don't think there is supposed to be a space between the comma and the queuename: /opt/rt3/local/sbin/rtx-shredder --plugin 'Tickets=queue,queuename' Mathew Snyder _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com