[rt-users] RTx::Shredder Questions

Ernest Byaruhanga ernest at afrinic.org
Thu Oct 7 12:31:21 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi Ruslan,

On Thu, 7 Oct 2004, Ruslan U. Zakirov wrote:

>        Hello, Ernest.
> It's not error, but protection from circular dependencies and bugs in my code.
> I set limit on object dependencies list, by default it's 1000.
> 
> In most cases ticket or other objects shouldn't have more then 1000 related
> objects. It could happen if you have big mail loop(we had one loop with 6000
> transactions).

you are right, many of these tickets i am trying to delete were actually 
mail loops.

> Could you wait for 0.02. I'll release it today(really). I'll add to release
> more output of debug info on this problem to be shure that this isn't bug in
> my code.

okay thanks, i will try to get 0.02 by end of today :)

many thanks,

ernest.

> 
>        Best regards. Ruslan.
> 
> Ernest Byaruhanga wrote:
> > hello rt-users,
> > 
> > more to this, i also have another problem with RTx::Shredder.
> > 
> > I m using rt3.0.10 and i have succeeded with RTx::Shredder weeks back.
> > However, i now get the following messages when i try to delete some useless
> > test tickets :
> > 
> > [root at simba sbin]# ./rtx-shredder 2004-10-06
> > 14 tickets would be wiped out.
> > Are you shure? [y/N] y
> > [Thu Oct  7 14:28:46 2004] [crit]: Message: 'Dependencies list overflow'
> > 
> > 
> > Trace begun at /usr/local/rt3/local/lib/RTx/Shredder/Dependencies.pm line 87
> > RTx::Shredder::Dependencies::_PushDependency('RTx::Shredder::Dependencies=HASH
> > (0x8dc4164)', 'Shredder', 'RTx::Shredder=HASH(0x8f6b6ac)', 'Flags', 1,
> > 'BaseObj', 'RT::Ticket=HASH(0x8dc5a4c)', 'TargetObj',
> > 'RT::Transaction=HASH(0x8c7457c)') called at
> > /usr/local/rt3/local/lib/RTx/Shredder/Dependencies.pm line 53
> > RTx::Shredder::Dependencies::_PushDependencies('RTx::Shredder::Dependencies=HA
> > SH(0x8dc4164)', 'Shredder', 'RTx::Shredder=HASH(0x8f6b6ac)', 'Flags', 1,
> > 'BaseObj', 'RT::Ticket=HASH(0x8dc5a4c)', 'TargetObjs',
> > 'RT::Transactions=HASH(0x8f6af80)') called at
> > /usr/local/rt3/local/lib/RTx/Shredder/Dependencies.pm line 59
> > RTx::Shredder::Dependencies::_PushDependencies('RTx::Shredder::Dependencies=HA
> > SH(0x8dc4164)', 'BaseObj', 'RT::Ticket=HASH(0x8dc5a4c)', 'Flags', 1,
> > 'TargetObjs', 'ARRAY(0x8dc56e0)', 'Shredder',
> > 'RTx::Shredder=HASH(0x8f6b6ac)') called at
> > /usr/local/rt3/local/lib/RTx/Shredder/Ticket.pm line 55
> > RT::Ticket::__DependsOn('RT::Ticket=HASH(0x8dc5a4c)', 'Shredder',
> > 'RTx::Shredder=HASH(0x8f6b6ac)', 'Flags', 1, 'Dependencies',
> > 'RTx::Shredder::Dependencies=HASH(0x8dc4164)') called at
> > /usr/local/rt3/local/lib/RTx/Shredder/Record.pm line 39
> > RT::Record::Dependencies('RT::Ticket=HASH(0x8dc5a4c)', 'Shredder',
> > 'RTx::Shredder=HASH(0x8f6b6ac)') called at
> > /usr/local/rt3/local/lib/RTx/Shredder/Record.pm line 144
> > RT::Record::_Wipeout('RT::Ticket=HASH(0x8dc5a4c)', 'Shredder',
> > 'RTx::Shredder=HASH(0x8f6b6ac)') called at
> > /usr/local/rt3/local/lib/RTx/Shredder/Record.pm line 134
> > RT::Record::Wipeout('RT::Ticket=HASH(0x8dc5a4c)') called at ./rtx-shredder
> > line 57
> >  (/usr/local/rt3/lib/RT.pm:254)
> > 
> > 
> > what might be the problem? any sugestions will be appreciated.
> > 
> > regards,
> > 
> > ernest.
> > 
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.2.4 (GNU/Linux)
> > 
> > iQDVAwUBQWVTYaH3gYhvcd1eAQK93QX5ASBPbybQI+5gQw6iSsKlqSoZnOFO/ou+
> > pg4kZ8G4Hw+OzOte/c7vAQ7kzr/sJMwk4w9zBkp4utxAjJmiIBb/QG2dVfUpxPBN
> > Lh7TuUZmDsDZP++WxdVjRFU3V6oXuYBUEayk2yZi+ZpqsMw2K6FjDSfhteREtVcb
> > GbASuZQCLYEl8GQCdbXchGGjImJakJd6apNYe9puk6lbdUh7jCpvKN1a8rfQpY5I
> > nbqiPG2rxNV22EgR2LNhAeU3UAJpW4N0
> > =KHGs
> > -----END PGP SIGNATURE-----
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iQDVAwUBQWVvXqH3gYhvcd1eAQISAQX/dwCbNS36w2SuqVRwVI8aeJgyuellhTQ5
uwu+9oBgsYh/YUZcXPvnMQhZsTlQQ5qmcjQJMFk774qI3WkUN+oUVNQSfL3O/UKo
+T8Pm9aQE9u7CAU/lxMGUf7tWG2csPNdK9fKLoKvSCoX7EIi4Ya7Be3/8rPxUGtl
tOXxr3v4XKU0+UJWLHCU3d2wxydK0Y6GCdYK325ivuMx+1QtAJNFvon4nD3vSeFa
WT5lQIxbGQu89e/Idet3VESCcdbhcvJD
=qxEc
-----END PGP SIGNATURE-----



More information about the rt-users mailing list