When I attempt to a Zope Restart, I get an error msg saying:- The requested URL could not be retrieved This is because Zope takes a while to go through its startup process. Is any way to set an interval to wait for before attempting to reconnect? -- John
John Poltorak wrote at 2004-3-6 15:00 +0000:
When I attempt to a Zope Restart, I get an error msg saying:-
The requested URL could not be retrieved
This is because Zope takes a while to go through its startup process. Is any way to set an interval to wait for before attempting to reconnect?
Look at the source of the respective page. Zope is Open Source. Use this fact... -- Dieter
On Sat, Mar 06, 2004 at 11:00:46PM +0100, Dieter Maurer wrote:
John Poltorak wrote at 2004-3-6 15:00 +0000:
When I attempt to a Zope Restart, I get an error msg saying:-
The requested URL could not be retrieved
This is because Zope takes a while to go through its startup process. Is any way to set an interval to wait for before attempting to reconnect?
Look at the source of the respective page.
How can I tell what is being invoked when I click on 'Restart' ?
Zope is Open Source. Use this fact...
This fact is quite useless when I do not understand Python...
-- Dieter
-- John
John Poltorak wrote at 2004-3-6 22:57 +0000:
On Sat, Mar 06, 2004 at 11:00:46PM +0100, Dieter Maurer wrote:
John Poltorak wrote at 2004-3-6 15:00 +0000:
When I attempt to a Zope Restart, I get an error msg saying:-
The requested URL could not be retrieved
This is because Zope takes a while to go through its startup process. Is any way to set an interval to wait for before attempting to reconnect?
Look at the source of the respective page.
How can I tell what is being invoked when I click on 'Restart' ?
You look at the URL. URL's identify objects in Zope. You use your favorite recursive "find" tool to locate the object and see how it is defined.
Zope is Open Source. Use this fact...
This fact is quite useless when I do not understand Python...
Time to change this... By the way, to answer your original question, you only need marginal Python knowledge. -- Dieter
On Sat, Mar 06, 2004 at 03:00:44PM +0000, John Poltorak wrote:
When I attempt to a Zope Restart, I get an error msg saying:-
The requested URL could not be retrieved
This is because Zope takes a while to go through its startup process. Is any way to set an interval to wait for before attempting to reconnect?
I've got this fixed thanks to a hint provided... I needed to change the value for REFRESH CONTENT in lib/python/App/ApplicationManager.py. Wouldn't this sort of value would be better in a configuration file rather than being hard coded in a program? -- John
Wouldn't this sort of value would be better in a configuration file rather than being hard coded in a program?
I usually restart Zope from the command line so I rarely see that screen any more and hardly consider it worth the effort. If Zope hasn't restarted, I would click refresh... Troy -- And the glory of the LORD shall be revealed, and all flesh shall see it together: for the mouth of the LORD hath spoken it. Isaiah 40.5
John Poltorak wrote:
Wouldn't this sort of value would be better in a configuration file rather than being hard coded in a program?
Yup. Noted: http://zope.org/Collectors/Zope/434 Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
participants (4)
-
Chris Withers -
Dieter Maurer -
John Poltorak -
Troy Farrell