Re: [Zope] debug with ipython

2006-06-15 Thread Jean Jordaan
Hi thomas

 is it possible to use zopectl debug with ipython ?

http://zopewiki.org/DebuggingWithIPythonAndOtherTips

-- 
jean
___
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] debug with ipython

2006-06-15 Thread Jean Jordaan
Hi Martijn

I've added your script to
  http://zopewiki.org/DebuggingWithIPythonAndOtherTips

I hope that's OK.

Regards,
-- 
jean
___
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] debug with ipython

2006-06-07 Thread thomas desvenain

thanks ! and is it possible to run zope in console mode (as debug
mode) whithout having to shutdown the server (to unlock ZODB) ?

2006/6/7, Timur Izhbulatov [EMAIL PROTECTED]:

On Tue, Jun 06, 2006 at 04:12:40PM +0200, thomas desvenain wrote:
 is it possible to use zopectl debug with ipython ?

You just need to import IPython and start the shell
http://mail.zope.org/pipermail/zope/2004-September/153667.html

--
Timur Izhbulatov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7245 + ext.205 F:+7 495 105 7246 E:[EMAIL PROTECTED]
Building Successful Supply Chains - One Solution At A Time.
www.oilspace.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] debug with ipython

2006-06-07 Thread Bakhtiar A Hamid

On 6/7/06, thomas desvenain [EMAIL PROTECTED] wrote:

thanks ! and is it possible to run zope in console mode (as debug
mode) whithout having to shutdown the server (to unlock ZODB) ?


zeo is the magic word here.  check on how to enable zeo from the
zopebook at plope.com, or google for it

--
http://myzope.kedai.com.my - my-zope org
___
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] debug with ipython

2006-06-06 Thread Martijn Pieters

On 6/6/06, thomas desvenain [EMAIL PROTECTED] wrote:

is it possible to use zopectl debug with ipython ?


Yes, that's posssible; I use the attached shellscript to set up the
ipython shell with the same environment as what you'd get when you
execute zopectl debug.

The attached version is for use with python 2.4 (Zope 2.9 and up), but
it should work fine with python 2.3 and Zope 2.8 as well if you rename
the ipython command on the last line. For Zope 2.7 and lower, you'll
need to rename both occurences of 'Zope2' with 'Zope' as well.

--
Martijn Pieters


ipython2.4-zope
Description: Binary data
___
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 )