Re: [Zope] Re: How to know what are zope doing now?

2007-09-25 Thread Garito
Martijn is your friend! :)
Thanks for the correct clue!

2007/9/25, Martijn Pieters <[EMAIL PROTECTED]>:
>
> On 9/25/07, Garito <[EMAIL PROTECTED]> wrote:
> > Yes, I installed Zope with an Ubuntu package
>
> Google's your friend:
>
> https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/123755
>
> install python-profiler.
>
> --
> Martijn Pieters
>



-- 
Mis Cosas
http://blogs.sistes.net/Garito
___
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] Re: How to know what are zope doing now?

2007-09-25 Thread Martijn Pieters
On 9/25/07, Garito <[EMAIL PROTECTED]> wrote:
> Yes, I installed Zope with an Ubuntu package

Google's your friend:

https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/123755

install python-profiler.

-- 
Martijn Pieters
___
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] Re: How to know what are zope doing now?

2007-09-24 Thread Garito
Yes, I installed Zope with an Ubuntu package

But I try:

sudo apt-get install python2.4-dev

And the errors is still raised

Any suggestion for a linux newbie?

Thanks!

2007/9/24, Dieter Maurer <[EMAIL PROTECTED]>:
>
> Garito wrote at 2007-9-23 18:17 +0200:
> > ...
> >2007-09-23T18:13:33 ERROR Zope Couldn't install ZopeProfiler
> >Traceback (most recent call last):
> > ...
> >line 9, in ?
> >from DMstats import Stats
> >  File
>
> >"/var/lib/zope2.9/instance/Yanged/Products/ZopeProfiler/DMprofile/DMstats.py",
> >line 13, in ?
> >from pstats import Stats as pStats
> >ImportError: No module named pstats
> >
> >How can I install pstats?
>
> "pstats" is a standard Python module and should come in Python's runtime
> library.
>
> If it is not there, then your Python installation is scrwed up
>
>
>
> --
> Dieter
>



-- 
Mis Cosas
http://blogs.sistes.net/Garito
___
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] Re: How to know what are zope doing now?

2007-09-24 Thread Dieter Maurer
Garito wrote at 2007-9-23 18:17 +0200:
> ...
>2007-09-23T18:13:33 ERROR Zope Couldn't install ZopeProfiler
>Traceback (most recent call last):
> ...
>line 9, in ?
>from DMstats import Stats
>  File
>"/var/lib/zope2.9/instance/Yanged/Products/ZopeProfiler/DMprofile/DMstats.py",
>line 13, in ?
>from pstats import Stats as pStats
>ImportError: No module named pstats
>
>How can I install pstats?

"pstats" is a standard Python module and should come in Python's runtime
library.

If it is not there, then your Python installation is scrwed up



-- 
Dieter
___
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] Re: How to know what are zope doing now?

2007-09-24 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Garito wrote:
> Sorry! This appear in the event.log:
> 
> 2007-09-23T18:13:33 ERROR Zope Couldn't install ZopeProfiler
> Traceback (most recent call last):
>   File "/usr/lib/zope2.9/lib/python/OFS/Application.py", line 755, in
> install_product
> global_dict, global_dict, silly)
>   File "/var/lib/zope2.9/instance/Yanged/Products/ZopeProfiler/__init__.py",
> line 2, in ?
> from ZopeProfiler import _hookZServerPublisher, _initializeModule, \
>   File
> "/var/lib/zope2.9/instance/Yanged/Products/ZopeProfiler/ZopeProfiler.py",
> line 66, in ?
> from DMprofile import Stats
>   File
> "/var/lib/zope2.9/instance/Yanged/Products/ZopeProfiler/DMprofile/__init__.py",
> line 9, in ?
> from DMstats import Stats
>   File
> "/var/lib/zope2.9/instance/Yanged/Products/ZopeProfiler/DMprofile/DMstats.py",
> line 13, in ?
> from pstats import Stats as pStats
> ImportError: No module named pstats
> 
> How can I install pstats?

Seems like you are running with a distro-packaged version of Python,
which strips out the development packages / tools.  Either build your
own Python for running Zope from source (you will avoid future pain when
your sysadmin upgrades Python without telling you), or get the sysadmin
to add the 'python-dev' or 'python-devel' package.


Tres.
- --
===
Tres Seaver  +1 540-429-0999  [EMAIL PROTECTED]
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG9+GE+gerLs4ltQ4RAvCfAKDXrHMP5K2usQl/Z6SNj556tEenUwCg0V12
yKJ0/P57A6xjneTbWDCpRPA=
=vjMW
-END PGP SIGNATURE-

___
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] Re: How to know what are zope doing now?

2007-09-23 Thread Dieter Maurer
Peter Bengtsson wrote at 2007-9-23 12:02 +0100:
>I've seen that too in some Zope's. ZopeProfiler installed by nothing
>in the Control_Panel.
>What I had to do was to manually guess the URL by typing in
>http://localhost:8080/Control_Panel/ZopeProfiler/manage_main and it was there.

Hm. It is there, but you cannot see it in "Control_Panel/manage_main"?
That sounds like a bug.

In what version of Zope have you seen this?



-- 
Dieter
___
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] Re: How to know what are zope doing now?

2007-09-23 Thread Garito
Sorry! This appear in the event.log:

2007-09-23T18:13:33 ERROR Zope Couldn't install ZopeProfiler
Traceback (most recent call last):
  File "/usr/lib/zope2.9/lib/python/OFS/Application.py", line 755, in
install_product
global_dict, global_dict, silly)
  File "/var/lib/zope2.9/instance/Yanged/Products/ZopeProfiler/__init__.py",
line 2, in ?
from ZopeProfiler import _hookZServerPublisher, _initializeModule, \
  File
"/var/lib/zope2.9/instance/Yanged/Products/ZopeProfiler/ZopeProfiler.py",
line 66, in ?
from DMprofile import Stats
  File
"/var/lib/zope2.9/instance/Yanged/Products/ZopeProfiler/DMprofile/__init__.py",
line 9, in ?
from DMstats import Stats
  File
"/var/lib/zope2.9/instance/Yanged/Products/ZopeProfiler/DMprofile/DMstats.py",
line 13, in ?
from pstats import Stats as pStats
ImportError: No module named pstats

How can I install pstats?

2007/9/23, Garito <[EMAIL PROTECTED]>:
>
> Hi again!
> There are no errors on event.log nor z2.log but the ZopeProfiler icon
> don't appears in Control Panel and if I try to acces to
> Control_Panel/ZopeProfiler/manage_main a Resoruce not found is raised by the
> server
>
> Any Idea? Need more data?
>
> Sorry and thanks!
>
> 2007/9/23, Peter Bengtsson <[EMAIL PROTECTED]>:
> >
> > I've seen that too in some Zope's. ZopeProfiler installed by nothing
> > in the Control_Panel.
> > What I had to do was to manually guess the URL by typing in
> > http://localhost:8080/Control_Panel/ZopeProfiler/manage_main and it was
> > there.
> >
> > On 9/23/07, Dieter Maurer <[EMAIL PROTECTED]> wrote:
> > > Garito wrote at 2007-9-21 19:57 +0200:
> > > >I supposed that but any ZopeProfiler objects appears on my
> > Control_Panel
> > > >
> > > >Any suggestion?
> > >
> > > As always: Look into the logfile to see whether there are any
> > > problems reported during startup.
> > >
> > > If no problems are reported, check that "ZopeProfiler"
> > > is properly installed on the file systems. It should live
> > > in the "Products" directory of your Zope instance.
> > >
> > >
> > >
> > > --
> > > Dieter
> > > ___
> > > 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
> >
>
>
>
> --
> Mis Cosas
> http://blogs.sistes.net/Garito
>



-- 
Mis Cosas
http://blogs.sistes.net/Garito
___
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] Re: How to know what are zope doing now?

2007-09-23 Thread Garito
Hi again!
There are no errors on event.log nor z2.log but the ZopeProfiler icon don't
appears in Control Panel and if I try to acces to
Control_Panel/ZopeProfiler/manage_main a Resoruce not found is raised by the
server

Any Idea? Need more data?

Sorry and thanks!

2007/9/23, Peter Bengtsson <[EMAIL PROTECTED]>:
>
> I've seen that too in some Zope's. ZopeProfiler installed by nothing
> in the Control_Panel.
> What I had to do was to manually guess the URL by typing in
> http://localhost:8080/Control_Panel/ZopeProfiler/manage_main and it was
> there.
>
> On 9/23/07, Dieter Maurer <[EMAIL PROTECTED]> wrote:
> > Garito wrote at 2007-9-21 19:57 +0200:
> > >I supposed that but any ZopeProfiler objects appears on my
> Control_Panel
> > >
> > >Any suggestion?
> >
> > As always: Look into the logfile to see whether there are any
> > problems reported during startup.
> >
> > If no problems are reported, check that "ZopeProfiler"
> > is properly installed on the file systems. It should live
> > in the "Products" directory of your Zope instance.
> >
> >
> >
> > --
> > Dieter
> > ___
> > 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
>



-- 
Mis Cosas
http://blogs.sistes.net/Garito
___
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] Re: How to know what are zope doing now?

2007-09-23 Thread Peter Bengtsson
I've seen that too in some Zope's. ZopeProfiler installed by nothing
in the Control_Panel.
What I had to do was to manually guess the URL by typing in
http://localhost:8080/Control_Panel/ZopeProfiler/manage_main and it was there.

On 9/23/07, Dieter Maurer <[EMAIL PROTECTED]> wrote:
> Garito wrote at 2007-9-21 19:57 +0200:
> >I supposed that but any ZopeProfiler objects appears on my Control_Panel
> >
> >Any suggestion?
>
> As always: Look into the logfile to see whether there are any
> problems reported during startup.
>
> If no problems are reported, check that "ZopeProfiler"
> is properly installed on the file systems. It should live
> in the "Products" directory of your Zope instance.
>
>
>
> --
> Dieter
> ___
> 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 )


Re: [Zope] Re: How to know what are zope doing now?

2007-09-22 Thread Dieter Maurer
Garito wrote at 2007-9-21 19:57 +0200:
>I supposed that but any ZopeProfiler objects appears on my Control_Panel
>
>Any suggestion?

As always: Look into the logfile to see whether there are any
problems reported during startup.

If no problems are reported, check that "ZopeProfiler"
is properly installed on the file systems. It should live
in the "Products" directory of your Zope instance.



-- 
Dieter
___
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] Re: How to know what are zope doing now?

2007-09-21 Thread Garito
I supposed that but any ZopeProfiler objects appears on my Control_Panel

Any suggestion?

Thanks!

2007/9/21, Dieter Maurer <[EMAIL PROTECTED]>:
>
> Garito wrote at 2007-9-20 20:51 +0200:
> >I would like to try it but I put it on my instance's Products, restart
> zope
> >and... nothing
> >
> >I have Ubuntu Fesity + Zope 2.9.6 (the apt-get version)
> >
> >What is supposed I could find about it in my ZMI?
>
> "ZopeProfiler" installs itself in "Control_Panel".
>
> It is a singleton. No need and no sense to install it anywhere else.
> Therefore, it does not add itself to the "Add list".
>
>
>
> --
> Dieter
>



-- 
Mis Cosas
http://blogs.sistes.net/Garito
___
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] Re: How to know what are zope doing now?

2007-09-21 Thread Dieter Maurer
Garito wrote at 2007-9-20 20:51 +0200:
>I would like to try it but I put it on my instance's Products, restart zope
>and... nothing
>
>I have Ubuntu Fesity + Zope 2.9.6 (the apt-get version)
>
>What is supposed I could find about it in my ZMI?

"ZopeProfiler" installs itself in "Control_Panel".

It is a singleton. No need and no sense to install it anywhere else.
Therefore, it does not add itself to the "Add list".



-- 
Dieter
___
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] Re: How to know what are zope doing now?

2007-09-20 Thread Garito
I would like to try it but I put it on my instance's Products, restart zope
and... nothing

I have Ubuntu Fesity + Zope 2.9.6 (the apt-get version)

What is supposed I could find about it in my ZMI?

Thanks!

2007/9/20, Dieter Maurer <[EMAIL PROTECTED]>:
>
> Garito wrote at 2007-9-20 17:18 +0200:
> >If I enable this at my zope.conf the instance hangs and don't respond to
> any
> >petition
>
> Maybe, you try "ZopeProfiler"?
>
>   
>
>
>
> --
> Dieter
>



-- 
Mis Cosas
http://blogs.sistes.net/Garito
___
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] Re: How to know what are zope doing now?

2007-09-20 Thread Dieter Maurer
Garito wrote at 2007-9-20 17:18 +0200:
>If I enable this at my zope.conf the instance hangs and don't respond to any
>petition

Maybe, you try "ZopeProfiler"?

  



-- 
Dieter
___
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] Re: How to know what are zope doing now?

2007-09-20 Thread Garito
Hi, Josef!
If I enable this at my zope.conf the instance hangs and don't respond to any
petition

I don't know if is really hanged or the profiler is working but I spend 30
minutes refeshing and nothing happen

Is this normal?

Thanks!

2007/9/20, Josef Meile <[EMAIL PROTECTED]>:
>
> Hi Garito
>
> > Thank you very much!
> > I was thinking in something more like a monitor (to use it even if zope
> > is working ok) but I try it
> Perhaps profiling is what you are looking for. Inside the ZMI Go to:
> /Control_Panel/DebugInfo and press the "Profiling"-tab. In order to use
> this, you will have to enable it in your zope.conf file (See the
> comments there).
>
> I'm not sure if this is mentioned somewhere in the zope book (you may
> look for it), but I know that the zope help mentions it; just click on
> the  "Profiling"-tab, then go to the help link at the upper-right corner
> of the ZMI.
>
> Best regards
> Josef
> ___
> 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 )
>



-- 
Mis Cosas
http://blogs.sistes.net/Garito
___
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] Re: How to know what are zope doing now?

2007-09-20 Thread Josef Meile

Hi Garito


Thank you very much!
I was thinking in something more like a monitor (to use it even if zope 
is working ok) but I try it

Perhaps profiling is what you are looking for. Inside the ZMI Go to:
/Control_Panel/DebugInfo and press the "Profiling"-tab. In order to use
this, you will have to enable it in your zope.conf file (See the
comments there).

I'm not sure if this is mentioned somewhere in the zope book (you may
look for it), but I know that the zope help mentions it; just click on
the  "Profiling"-tab, then go to the help link at the upper-right corner
of the ZMI.

Best regards
Josef
___
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 )