[Zope-dev] Debugging Zope with Eric3

2003-10-28 Thread Mark Wilson
Hi there Zope Folks.
I'm new to this list. I've been using Zope on and off for around 3 years just 
to produce a few simple sites - lots of external methods but no products. 
However, I'm embarking on a much more ambitious project and am looking to 
address one of the biggest problems I've encountered in the past, namely 
debugging.
After much googling around, I discovered Eric3, which the release notes 
indicate has a remote debugging facility which is useful for debugging Zope 
apps. I've got Eric3 up and running, but the docs are somewhat non-existent 
and I've not succeeded in getting further than using it as an editor. I've 
trawled the lists and cant see anything on this subject.
Can anyone offer any tips as to how I can debug Zope with Eric3?
TeeVeeEm
Mark


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


[Zope-dev] debugging Zope - ImportError: ./ExtensionClass.so: undefined symbol: PyObject_Init

2002-12-16 Thread Jens Wolk
Hi everybody,

I tried to follow Chapter 7: Testing and Debugging of The Zope Developer's 
Guide (Zope 2.4 edition)
http://www.zope.org/Documentation/Books/ZDG/current/TestingAndDebugging.stx

However, on my Linux server I get the following error:
(Zope is v2.5.1)

[root@prefect Zope-2.5.1-linux2-x86-dev]# cd lib/python
[root@prefect python]# python
Python 1.5.2 (#1, Apr  3 2002, 18:16:26)  [GCC 2.96 2731 (Red Hat Linux 
7.2 2 on linux-i386
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
 import Zope, ZPublisher
Traceback (innermost last):
  File stdin, line 1, in ?
  File Zope/__init__.py, line 21, in ?
import ZODB, ZODB.ZApplication, imp
  File ZODB/__init__.py, line 14, in ?
import sys, ExtensionClass, TimeStamp, cPersistence, Persistence
ImportError: ./ExtensionClass.so: undefined symbol: PyObject_Init


The system is a RedHat 7.2 system with the following python packages 
installed:
[root@prefect python]# rpm -qa | grep python
python-1.5.2-38
python-popt-0.8.8-7.x.2
python-xmlrpc-1.5.1-7.x.3
python2-docs-2.2-16
python2-2.2-16
python-clap-1.0.0-3
rpm-python-4.0.4-7x.18
python-docs-1.5.2-38

BTW, if I try to import ZPublisher only, the result is again an error:

[root@prefect python]# python
Python 1.5.2 (#1, Apr  3 2002, 18:16:26)  [GCC 2.96 2731 (Red Hat Linux 
7.2 2 on linux-i386
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
 import ZPublisher
Traceback (innermost last):
  File stdin, line 1, in ?
  File ZPublisher/__init__.py, line 23, in ?
from Publish import publish_module, Retry
  File ZPublisher/Publish.py, line 19, in ?
from Response import Response
  File ZPublisher/Response.py, line 13, in ?
import HTTPResponse
  File ZPublisher/HTTPResponse.py, line 79, in ?
status_codes[''.join(val.split(' ')).lower()]=key
AttributeError: 'string' object has no attribute 'join'


It seems I missed something important. Can anybody give me hint?

Yours. Jens

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] debugging Zope - ImportError: ./ExtensionClass.so: undefined symbol: PyObject_Init

2002-12-16 Thread Guido van Rossum
 I tried to follow Chapter 7: Testing and Debugging of The Zope Developer's 
 Guide (Zope 2.4 edition)
 http://www.zope.org/Documentation/Books/ZDG/current/TestingAndDebugging.stx
 
 However, on my Linux server I get the following error:
 (Zope is v2.5.1)
 
 [root@prefect Zope-2.5.1-linux2-x86-dev]# cd lib/python
 [root@prefect python]# python
 Python 1.5.2 (#1, Apr  3 2002, 18:16:26)  [GCC 2.96 2731 (Red Hat Linux 

Um, Zope 2.5.1 requires Python 2.1.3 or later.  You're using Python
1.5.2 here.  That's probably the cause of the problems.

--Guido van Rossum (home page: http://www.python.org/~guido/)

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] debugging Zope - ImportError: ./ExtensionClass.so: undefined symbol: PyObject_Init

2002-12-16 Thread Jens Wolk
Am Montag, 16. Dezember 2002 16:54 schrieb Guido van Rossum:
  I tried to follow Chapter 7: Testing and Debugging of The Zope
  Developer's Guide (Zope 2.4 edition)
  http://www.zope.org/Documentation/Books/ZDG/current/TestingAndDebugging.s
 tx
 
  However, on my Linux server I get the following error:
  (Zope is v2.5.1)
 
  [root@prefect Zope-2.5.1-linux2-x86-dev]# cd lib/python
  [root@prefect python]# python
  Python 1.5.2 (#1, Apr  3 2002, 18:16:26)  [GCC 2.96 2731 (Red Hat
  Linux

 Um, Zope 2.5.1 requires Python 2.1.3 or later.  You're using Python
 1.5.2 here.  That's probably the cause of the problems.

Thank you for pointing this out.

Just for the records:
I tried Python 2.2, but this didn't work either.
(This seems to be true for Zope-2.6.0, too)

Then I installed Python 2.1.3 and this works. Great.

However, there seems to be an easier solution: just use $ZOPE_HOME/bin/python 
...

Jens


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] Debugging Zope

2001-02-05 Thread Andy McKay

For all those who questioned my slip of an email a few weeks ago regarding
debugging Zope with Komodo, well its official now. A how to and some
screenshots are now available: http://www.zope.org/Members/andym/Komodo. I
hope you find it as useful as I do.

Cheers.

--
  Andy McKay.




___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Debugging Zope with Komodo

2001-01-15 Thread Holger Lehmann

Am Donnerstag, 11. Januar 2001 20:10 schrieb Andy McKay:
 Aaron has just helped me get Komodo debugging working for Zope. Both Neil
 and I think this is great, for the first time we can see the
 interaction of Zope internals as they happen (its no longer a black box
 anymore). This shed so much light on Zope, I think its great and so will
 any Zope developer.

 Many thanks to all involved in Komodo for making this happen.
 --
   Andy McKay.


Ok, now you got us up to speed, where is the howto ?

- Holger




 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )

-- 
---
catWorkX GmbH
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 (0700) catWorkX
Tel: +49 (40) 890 646-0
Fax: +49 (40) 890 646-66
mailto:[EMAIL PROTECTED]
http://www.catworkx.de
http://www.catbridge.de



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Debugging Zope with Komodo

2001-01-12 Thread Johan Carlsson

 Andy McKay wrote:
  
  Sorry wrong mail list. Move along, nothing to see here.
 
 Too late ;-)
 
 What's Komodo?

First, it'ss:
"Komodo is ActiveState's cross-platform, multi-language Integrated Development 
Environment (IDE). Komodo supports Perl, Python, and JavaScript development 
on Windows, Linux, and Unix."
http://www.activestate.com/Products/Komodo/

And second, it's a National Park in Bali.
"Komodo National Park | Komodo Island"
Google says so anyway ;-)

Regards,
Johan Carlsson

Brilliant marketing-by-accident ;-)


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Debugging Zope with Komodo

2001-01-12 Thread Andy McKay

My lips are sealed.

Damn email client... oh well it wont be the first time and won't be the last
this has happened.

Yours embarrased.

--
  Andy McKay.


- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: "Andy McKay" [EMAIL PROTECTED]
Cc: "zope-dev" [EMAIL PROTECTED]
Sent: Friday, January 12, 2001 2:32 AM
Subject: Re: [Zope-dev] Debugging Zope with Komodo


 Andy McKay wrote:
 
  Sorry wrong mail list. Move along, nothing to see here.

 Too late ;-)

 What's Komodo?

   Aaron has just helped me get Komodo debugging working for Zope. Both
Neil
   and I think this is absolutely fantastic, for the first time we can
see
  the
   interaction of Zope internals as they happen (its no longer a black
box
   anymore). This shed so much light on Zope, I think its great and so
will
  any
   Zope developer.

 Cool... that sounds really interesting, where can I get a copy?

 cheers,

 Chris

 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Debugging Zope with Komodo

2001-01-12 Thread Michael Bernstein

Andy McKay wrote:
 
 My lips are sealed.

You're being coy.

Here is the URL:
http://www.activestate.com/Products/Komodo/

Michael Bernstein.

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )