Re: [Zope] How to get modules that are called by external methods reloaded?

2007-01-23 Thread Gaute Amundsen
On Saturday 20 January 2007 12:00, Andreas Jung wrote: --On 20. Januar 2007 11:55:18 +0100 Jens Vagelpohl [EMAIL PROTECTED] wrote: That database size isn't too large and will not cause 10 minute startup. Only the index file is read in during startup, not the whole database - unless your

Re: [Zope] How to get modules that are called by external methods reloaded?

2007-01-20 Thread Andreas Jung
--On 20. Januar 2007 11:55:18 +0100 Jens Vagelpohl [EMAIL PROTECTED] wrote: That database size isn't too large and will not cause 10 minute startup. Only the index file is read in during startup, not the whole database - unless your index file does not exist or is corrupt. ..which might

Re: [Zope] How to get modules that are called by external methods reloaded?

2007-01-20 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 20 Jan 2007, at 00:15, Gaute Amundsen wrote: Right now (~24:00), it restarted in about aminute actually, but considering that our DB size is 7030.2M and it contains about 70 virtual hosts, does 10 minutes still seem to long when under heavy

Re: [Zope] How to get modules that are called by external methods reloaded?

2007-01-19 Thread Maciej Wisniowski
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

Re: [Zope] How to get modules that are called by external methods reloaded?

2007-01-19 Thread Gaute Amundsen
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

Re: [Zope] How to get modules that are called by external methods reloaded?

2007-01-19 Thread yacine chaouche
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

Re: [Zope] How to get modules that are called by external methods reloaded?

2007-01-19 Thread Jens Vagelpohl
-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

Re: [Zope] How to get modules that are called by external methods reloaded?

2007-01-19 Thread yacine chaouche
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

Re: [Zope] How to get modules that are called by external methods reloaded?

2007-01-19 Thread Dieter Maurer
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

Re: [Zope] How to get modules that are called by external methods reloaded?

2007-01-19 Thread Andreas Jung
--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

Re: [Zope] How to get modules that are called by external methods reloaded?

2007-01-19 Thread Gaute Amundsen
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.

Re: [Zope] How to get modules that are called by external methods reloaded?

2007-01-19 Thread Gaute Amundsen
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..