Sorry, it seems I didn't click on the right button :), here is the message
sent to the list this time :
Thank you Andreas for showing me this nice tool which is tcpflow.
Thanks to it, I am now sure that the probleme is coming from zope.
Would you take a look at this :
[EMAIL

The toutCompter methode does a lot of thing and it would take a triple
couples of lines to describe what it does all.
Anyway, is there a way for me to detect ConflictErrors ? they don't appear
on the console so i guess they are catched.
Y.Chaouche
2007/1/19, Gabriel Genellina [EMAIL PROTECTED]:

I mean triple couples of lines of code.
2007/1/19, yacine chaouche [EMAIL PROTECTED]:
The toutCompter methode does a lot of thing and it would take a triple
couples of lines to describe what it does all.
Anyway, is there a way for me to detect ConflictErrors ? they don't appear
on the console

Subject says it sall.
Only way I have found so far is to restart zope, and on a production server,
that is not very popular. Takes about 10 minutes on ours..
Have you tried to go into Edit form of your external method
and just hit Save button?
This should tell you that External method was

Maybe I should reformulate :
Is there a simple way to run unit tests for products packaged as eggs with
Zope 2.9.6+Five 1.4.2, or with Zope 2.10.1 ?
Thanks
Seb
2007/1/12, Sébastien Nicouleaud [EMAIL PROTECTED]:
Hello,
I'm trying to run tests for an egg-packaged product (deployed in

- Original Message -
From: Gaute Amundsen [EMAIL PROTECTED]
To: zope@zope.org
Sent: Friday, January 19, 2007 4:36 AM
Subject: [Zope] How to get modules that are called by external
methodsreloaded?
Subject says it sall.
Only way I have found so far is to restart zope, and on a

On Friday 19 January 2007 12:13, Maciej Wisniowski wrote:
Subject says it sall.
Only way I have found so far is to restart zope, and on a production
server, that is not very popular. Takes about 10 minutes on ours..
Have you tried to go into Edit form of your external method
and just hit

On Friday 19 January 2007 13:42, Jonathan wrote:
- Original Message -
From: Gaute Amundsen [EMAIL PROTECTED]
To: zope@zope.org
Sent: Friday, January 19, 2007 4:36 AM
Subject: [Zope] How to get modules that are called by external
methodsreloaded?
Subject says it sall.
Only way I

If you are really stuck with a single server for production and
development one possible work-around is that you could copy the module
source code into your external method, develop/debug, then move it out
into its own file when has been completed.
One may try with different Zope setup. I

I think that when you restart zope, it compiles everything that is in the
products directory. So what happens when you compile it for yourself while
zope is running ?
If you have only one machine, you can setup multiple zope instances to
develop and debug on them so that you are not obliged to

I forgot to answer one question: the Python I'm using is 2.3.5. (As with
Zope, I chose this version to match the version on the server I'm developing
for.)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 18, 2007 10:19 PM
To: Ken Winter;

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 19 Jan 2007, at 14:09, yacine chaouche wrote:
I think that when you restart zope, it compiles everything that is
in the products directory. So what happens when you compile it for
yourself while zope is running ?
Sorry, that's just plain

I just checked an older version of python (2.3.4) on my linux server
and the 'from datetime import datetime' command worked just fine, so
your 2.3.5 version should have 'datetime'. All i can think of is that
your python installation is pooched. Can you 'uninstall' python, and
then

You are right Jens, but I thought that Gaute wanted to apply some
modifications to a module and see the results live, without restarting
zope.
Y.Chaouche
2007/1/19, Jens Vagelpohl [EMAIL PROTECTED]:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 19 Jan 2007, at 14:09, yacine chaouche

--On 19. Januar 2007 12:01:06 -0500 Ken Winter [EMAIL PROTECTED] wrote:
I just uninstalled *both* Zope and Python, then downloaded and installed
Zope 2.9.6 (rather than 2.8.8, since I just heard that my server is
upgrading). Trying to run this yielded the attached error, which at least
is a

Gaute Amundsen wrote at 2007-1-19 10:36 +0100:
Only way I have found so far is to restart zope, and on a production server,
that is not very popular. Takes about 10 minutes on ours..
You can use Python's reload builtin to reload them.
Be warned however, that you must reload also any module that

--On 19. Januar 2007 10:36:04 +0100 Gaute Amundsen [EMAIL PROTECTED] wrote:
Subject says it sall.
Only way I have found so far is to restart zope, and on a production
server, that is not very popular. Takes about 10 minutes on ours..
10 minutes is too long. Even Plone starts on modern

At Friday 19/1/2007 09:42, Jonathan wrote:
Subject says it sall.
Only way I have found so far is to restart zope, and on a production server,
that is not very popular. Takes about 10 minutes on ours..
AFAIK there is no way to reload a module called by an External
Method without restarting

Andreas ~
I'm installing the Zope for Dummies version (appropriate to my level of
expertise): Download Zope-2.9.6-win32.exe, double-click on it, and take all
the defaults (except that I don't install it as a Windows service). I'm not
sure how even I can do that wrong. Is there a way?
~ Thanks

At Friday 19/1/2007 11:45, Ken Winter wrote:
I tried your suggestion and got basically the same error (see attached
screen shot). What does that imply about what to do next?
Something is really *wrong* with your Zope install - C:\Program
Files\Zope-2.8.8-final\lib\python\DateTime should be

Thanks Bobb ~
What I got from the reference your provided is that Zope 2.9.6 requires
Python 2.4. So, trying to be as thorough as I can in light of messages from
other forum participants, I:
1. Uninstalled Python (2.3) and Zope (2.9.6) again.
2. Deleted the remaining files from Zope instance

On Friday 19 January 2007 19:45, Dieter Maurer wrote:
Gaute Amundsen wrote at 2007-1-19 10:36 +0100:
Only way I have found so far is to restart zope, and on a production
server, that is not very popular. Takes about 10 minutes on ours..
You can use Python's reload builtin to reload them.

On Friday 19 January 2007 19:51, Andreas Jung wrote:
--On 19. Januar 2007 10:36:04 +0100 Gaute Amundsen [EMAIL PROTECTED] wrote:
Subject says it sall.
Only way I have found so far is to restart zope, and on a production
server, that is not very popular. Takes about 10 minutes on ours..

--On 19. Januar 2007 15:34:35 -0500 Ken Winter [EMAIL PROTECTED] wrote:
Andreas ~
I'm installing the Zope for Dummies version (appropriate to my level of
expertise): Download Zope-2.9.6-win32.exe, double-click on it, and take
all the defaults (except that I don't install it as a Windows

Hanno Schlichting wrote:
Martijn Faassen wrote:
[snip]
Great idea! We should try this. Hanno? :)
Yep, we can try that one too. I thought I remembered people reporting
bugs about the multiple Products directories at some point, but I cannot
remember where that was exactly. I only did go for

Hi,
although make test reports no errors for the trunk/2.10 branch I get the
following errors when running zopectl test. Any ideas?
Andreas
--
Traceback (most recent call last):
File
/develop/sandboxes/Zope/Zope2/trunk/lib/python/Testing/ZopeTestCase/profiler.py,
line 88, in

Daryl Spitzer schrieb:
I installed pyperl-1.0.1 (apparently) without error, but `python
test.py` fails: pdb tells me that import perl results in
ImportError: perl2.so not found. I get the same message if I try
import perl in the Python interpreter. So I guess it didn't install
properly.
Does

Please, stay on the list :)
First, isn't Charlie Clark solution good for you? It seems to be
reasonable.
I have try to use external method but without success... (I have read some
post as you suggested it)
Create database connection object called 'myconnection' in ZMI and
connect it to

Am 19.01.2007, 13:27 Uhr, schrieb Maciej Wisniowski
[EMAIL PROTECTED]:
Please, stay on the list
First, isn't Charlie Clark solution good for you? It seems to be
reasonable.
Thanks! ;-)
I have try to use external method but without success... (I have read
some post as you suggested it)

The only thing that's missing for me is using this idiom with existing
ZSQL methods and that's because I've forgotten how to get them to
render the query rather than execute it. Anyone care to enlighten me! ;-)
Not sure if I understand you, but do you think about
src__=1 parameter when

On Jan 19, 2007, at 7:31 AM, Charlie Clark wrote:
keep replies on the mailing list so that others can learn from them.
rant
This is repeated so often that you'd think that the list
administrators would get a clue and set the default Reply-to: header
to include the list address.

Am 19.01.2007, 17:50 Uhr, schrieb robert rottermann [EMAIL PROTECTED]:
it in deed seems not to work.
however I do not understand why.
If you use callproc() we could probably help you.
This is now academical as I resolved to not to use stored procedures
that return a record set (tough its a

Hi Paul,
Ok to tell you honestly the truth, as a beginner you should try to leave
your fingers of zope 3 /alchemist.
The learning curve is steep.
You will have to learn about Zope 3 widgets, schemas, interfaces,
adapters
You have to know how to configure the mapper, have to know how to

Thanks for all the responses, they really help
2) Is a ZSQL Method automatically executed as a transaction? Or do I
need to manually define BEGIN; COMMIT; to guarantee I am getting the
correct data?
Yes.
Hmm, that was Yes, it does the transaction thing automatically. or a
Yes, you need to