[Zope] forcing all pythonscripts to recompile.

Norman Khine khine@btinternet.com
Tue, 31 Jul 2001 08:48:36 +0100


you need to open the actual script and save it. i don't think there is a
simpler way, although, you may write a python script, which will open the
files and then save it, but you are on your own here;^)

hth

norman

-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
Anthony Baxter
Sent: 31 July 2001 08:13
To: zope@zope.org
Subject: [Zope] forcing all pythonscripts to recompile.


upgrading a test system to 2.4, and I'm getting a lot of

2001-07-31T07:00:41 PROBLEM(100) Script (Python) Object "lookup_partner"
needs to be recompiled.
------
2001-07-31T07:00:57 PROBLEM(100) Script (Python) Object
"header_request_variables" needs to be recompiled.

recompiling every python script in the system by hand is going to be
a complete pain in the bottom - is there a simple-ish way to force them
to all be recompiled?

Nothing shows up in the 2.4 release notes or migration guide...

Anthony

_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )