Re: [Zope] find zodb object sizes

2008-10-27 Thread Markus Bleicher
Hi Yuri and Andreas!

Andreas Jung wrote:
 On 20.10.2008 17:46 Uhr, Yuri wrote:
 Hi!

   I would like to run a script to see what objects size is, printing the
 zodb path.

   analize.py gives me a floating point division error, so I would like to
 ask if there's a simpler way to see what there's inside the ZODB.
The mentioned script is probably analyze.py, not analize (see here:
http://www.urbandictionary.com/define.php?defid=1214122term=analize :-))

 
 It would be helpful to see the traceback in order to fix a potential
 problem with the script.
Not related to the problem, but the two installments of the script
created by buildout
./parts/zope2/utilities/ZODBTools/analyze.py
./parts/zope2/lib/python/ZODB/scripts/analyze.py

are executed with python2.3. Maybe this can be updated.

Markus



 
 -aj
 
 
 
 
 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists - 
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev )
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] find zodb object sizes

2008-10-21 Thread Yuri
Andreas Jung ha scritto:
 On 20.10.2008 17:46 Uhr, Yuri wrote:
 Hi!

   I would like to run a script to see what objects size is, printing the
 zodb path.

   analize.py gives me a floating point division error, so I would 
 like to
 ask if there's a simpler way to see what there's inside the ZODB.

 It would be helpful to see the traceback in order to fix a potential 
 problem with the script.

 -aj

Sorry, I was not passing the right parameter to analize btw, how can 
I have more deep knowledge on what there's in the zodb? I mean sizes, 
path, old transactions etc etc.
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] find zodb object sizes

2008-10-21 Thread Andreas Jung

On 21.10.2008 8:32 Uhr, Yuri wrote:

Andreas Jung ha scritto:

On 20.10.2008 17:46 Uhr, Yuri wrote:

Hi!

   I would like to run a script to see what objects size is, printing the
zodb path.

   analize.py gives me a floating point division error, so I would
like to
ask if there's a simpler way to see what there's inside the ZODB.

It would be helpful to see the traceback in order to fix a potential
problem with the script.


I am pretty sure that Dieter explained it already several times. You 
might use Google :-)


Andreas
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd.  Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:[EMAIL PROTECTED]
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] find zodb object sizes

2008-10-20 Thread Yuri
Hi!

 I would like to run a script to see what objects size is, printing the 
zodb path.

 analize.py gives me a floating point division error, so I would like to 
ask if there's a simpler way to see what there's inside the ZODB.

 Thanks.
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] find zodb object sizes

2008-10-20 Thread Andreas Jung

On 20.10.2008 17:46 Uhr, Yuri wrote:

Hi!

  I would like to run a script to see what objects size is, printing the
zodb path.

  analize.py gives me a floating point division error, so I would like to
ask if there's a simpler way to see what there's inside the ZODB.


It would be helpful to see the traceback in order to fix a potential 
problem with the script.


-aj
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd.  Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:[EMAIL PROTECTED]
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] find zodb object sizes

2008-10-20 Thread Peter Bengtsson
What's a floating point division error?
I know what a ZeroDivisionError is but that's unlikely to be the case
for you now.

2008/10/20 Yuri [EMAIL PROTECTED]:
 Hi!

  I would like to run a script to see what objects size is, printing the
 zodb path.

  analize.py gives me a floating point division error, so I would like to
 ask if there's a simpler way to see what there's inside the ZODB.

  Thanks.
 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev )




-- 
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )