Magnus Heino wrote:
seems to take about 5-10 minutes, which is not great during product development
Add refresh.txt and refresh your product from the control panel instead?
Refresh is unreliable at best, and migrating to Zope 2.4.0 is what's causing a lot of the problem...
Also not helped by CompressedStorage throwing CorruptDataErrors all the time :-S
Though I never have used it, it sounds as if something that is compressed would be slower as well?
Arguable... Thanks for the ideas, though :-) cheers, Chris
--
/Magnus Heino
Chris Withers wrote:
Magnus Heino wrote:
seems to take about 5-10 minutes, which is not great during product development
Add refresh.txt and refresh your product from the control panel instead?
Refresh is unreliable at best, and migrating to Zope 2.4.0 is what's causing a lot of the problem...
Honestly my solution would be not to do the product development on such a burdensome Zope instance. I usually use a clean and light instance locally for such development and then do occasional "pushes" to the machine with the real data on it for testing. You probably have a good reason why that won't work for you though 8^) How come refresh is so unreliable, what does it do that screws you up? I honestly rarely have problems with it, unless the product does something unusual, like dynamic hotfixes or somesuch. -- | Casey Duncan | Kaivo, Inc. | cduncan@kaivo.com `------------------>
I just started having problems with Zope 2.4. When I start it manually, I get the following dump. Is this a known problem? Thanks, // mark *** dump *** C:\Program Files\WebSite>start.bat C:\Program Files\WebSite>"C:\Program Files\WebSite\bin\python.exe" "C:\Program F iles\WebSite\z2.py" -D ------ 2001-07-30T23:22:20 PANIC(300) z2 Startup exception Traceback (innermost last): File C:\Program Files\WebSite\z2.py, line 564, in ? File <string>, line 1, in ? File C:\PROGRA~1\WebSite\lib\python\Zope\__init__.py, line 95, in ? File C:\PROGRA~1\WebSite\lib\python\Globals.py, line 90, in ? File C:\PROGRA~1\WebSite\lib\python\App\PersistentExtra.py, line 86, in ? File C:\PROGRA~1\WebSite\lib\python\App\class_init.py, line 86, in ? File C:\PROGRA~1\WebSite\lib\python\AccessControl\__init__.py, line 88, in ? File C:\PROGRA~1\WebSite\lib\python\AccessControl\DTML.py, line 90, in ? File C:\PROGRA~1\WebSite\lib\python\DocumentTemplate\__init__.py, line 94, in ? File C:\PROGRA~1\WebSite\lib\python\DocumentTemplate\DocumentTemplate.py, line 184, in ? File C:\PROGRA~1\WebSite\lib\python\DocumentTemplate\DT_String.py, line 90, in ? File C:\PROGRA~1\WebSite\lib\python\DocumentTemplate\DT_Util.py, line 90, in ? (Object: html_quote) File C:\PROGRA~1\WebSite\lib\python\RestrictedPython\__init__.py, line 90, in ? File C:\PROGRA~1\WebSite\lib\python\RestrictedPython\Compilers.py, line 101, i n ? ImportError: Module use of python15.dll conflicts with this version of Python.
zope2.4 requires that you use python2.1 -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Mark McEahern Sent: 31 July 2001 00:42 To: zope@zope.org Subject: [Zope] zope 2.4 I just started having problems with Zope 2.4. When I start it manually, I get the following dump. Is this a known problem? Thanks, // mark *** dump *** C:\Program Files\WebSite>start.bat C:\Program Files\WebSite>"C:\Program Files\WebSite\bin\python.exe" "C:\Program F iles\WebSite\z2.py" -D ------ 2001-07-30T23:22:20 PANIC(300) z2 Startup exception Traceback (innermost last): File C:\Program Files\WebSite\z2.py, line 564, in ? File <string>, line 1, in ? File C:\PROGRA~1\WebSite\lib\python\Zope\__init__.py, line 95, in ? File C:\PROGRA~1\WebSite\lib\python\Globals.py, line 90, in ? File C:\PROGRA~1\WebSite\lib\python\App\PersistentExtra.py, line 86, in ? File C:\PROGRA~1\WebSite\lib\python\App\class_init.py, line 86, in ? File C:\PROGRA~1\WebSite\lib\python\AccessControl\__init__.py, line 88, in ? File C:\PROGRA~1\WebSite\lib\python\AccessControl\DTML.py, line 90, in ? File C:\PROGRA~1\WebSite\lib\python\DocumentTemplate\__init__.py, line 94, in ? File C:\PROGRA~1\WebSite\lib\python\DocumentTemplate\DocumentTemplate.py, line 184, in ? File C:\PROGRA~1\WebSite\lib\python\DocumentTemplate\DT_String.py, line 90, in ? File C:\PROGRA~1\WebSite\lib\python\DocumentTemplate\DT_Util.py, line 90, in ? (Object: html_quote) File C:\PROGRA~1\WebSite\lib\python\RestrictedPython\__init__.py, line 90, in ? File C:\PROGRA~1\WebSite\lib\python\RestrictedPython\Compilers.py, line 101, i n ? ImportError: Module use of python15.dll conflicts with this version of Python. _______________________________________________ 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 )
Thanks, I knew this about Zope 2.4 requiring Pythong 2.1. I suspect the problem had something to do with my disorganized and chaotic attempt to get mod_pythong working. Rather than installing it in a separate installation of Pythong 2.1, I tried to put it into the Zope folder. After I uninstalled both Pythong and Zope and reinstalled them, I was able to get mod_pythong working without breaking Zope by keeping it separate from Zope. Go figure. ;-) // mark -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Norman Khine Sent: Monday, July 30, 2001 11:45 PM To: Mark McEahern Cc: Zope Subject: RE: [Zope] zope 2.4 zope2.4 requires that you use python2.1 -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Mark McEahern Sent: 31 July 2001 00:42 To: zope@zope.org Subject: [Zope] zope 2.4 I just started having problems with Zope 2.4. When I start it manually, I get the following dump. Is this a known problem? Thanks, // mark *** dump *** C:\Program Files\WebSite>start.bat C:\Program Files\WebSite>"C:\Program Files\WebSite\bin\python.exe" "C:\Program F iles\WebSite\z2.py" -D ------ 2001-07-30T23:22:20 PANIC(300) z2 Startup exception Traceback (innermost last): File C:\Program Files\WebSite\z2.py, line 564, in ? File <string>, line 1, in ? File C:\PROGRA~1\WebSite\lib\python\Zope\__init__.py, line 95, in ? File C:\PROGRA~1\WebSite\lib\python\Globals.py, line 90, in ? File C:\PROGRA~1\WebSite\lib\python\App\PersistentExtra.py, line 86, in ? File C:\PROGRA~1\WebSite\lib\python\App\class_init.py, line 86, in ? File C:\PROGRA~1\WebSite\lib\python\AccessControl\__init__.py, line 88, in ? File C:\PROGRA~1\WebSite\lib\python\AccessControl\DTML.py, line 90, in ? File C:\PROGRA~1\WebSite\lib\python\DocumentTemplate\__init__.py, line 94, in ? File C:\PROGRA~1\WebSite\lib\python\DocumentTemplate\DocumentTemplate.py, line 184, in ? File C:\PROGRA~1\WebSite\lib\python\DocumentTemplate\DT_String.py, line 90, in ? File C:\PROGRA~1\WebSite\lib\python\DocumentTemplate\DT_Util.py, line 90, in ? (Object: html_quote) File C:\PROGRA~1\WebSite\lib\python\RestrictedPython\__init__.py, line 90, in ? File C:\PROGRA~1\WebSite\lib\python\RestrictedPython\Compilers.py, line 101, i n ? ImportError: Module use of python15.dll conflicts with this version of Python.
----- Original Message ----- From: "Mark McEahern" <marklists@mceahern.com> To: <zope@zope.org> Sent: Tuesday, July 31, 2001 12:42 AM Subject: [Zope] zope 2.4
I just started having problems with Zope 2.4. When I start it manually, I get the following dump. Is this a known problem?
Yes, it is. You're using the wrong version of Python, or one of your products needs to be compiled for Python 2.1. This is a pure case of user error ;)
Thanks,
// mark
Chris Withers wrote:
Magnus Heino wrote:
Also not helped by CompressedStorage throwing CorruptDataErrors all
the time :-S
Though I never have used it, it sounds as if something that is compressed would be slower as well?
Arguable...
Indeed. If the system is IO-bound and has free processing capacity, then the compressed storage ought to be faster, as there will be less IO going on for the same amound of data. -- Steve Alexander Software Engineer Cat-Box limited
participants (6)
-
Casey Duncan -
Chris Withers -
Mark McEahern -
Norman Khine -
Phil Harris -
Steve Alexander