Re: [Zope-dev] Crash Burn with Zope 2.6.0a1 and ZEO 2.0a1
Andrew Sydelko wrote: On Tue, 18 Jun 2002 12:19:19 -0400 Jeremy Hylton [EMAIL PROTECTED] wrote: Can someone tell me exactly how to compile python 2.1.3 with LFS support? Hi Andrew Maybe this Howto by Seb Beacon could help ? http://www.zope.org/Members/beacon/install_instructions --- Flynt ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Crash Burn with Zope 2.6.0a1 and ZEO 2.0a1
I have failed as well to upgrade a Zope 2.5.1/ZEO 1.0 installation to 2.6.0a1. I tried to start *the very same instance* that runs successfully under 2.5.1 with 2.6.0a1. This is what I found out: * The Catalog problem you see comes from Products.PluginIndexes.TextIndex.Splitter.ZopeSplitter not exporting 'Splitter' anymore. I should really have been kept for bw compatibility. Workaround is to copy ZopeSplitter's __init__.py from 2.5.1. * ZEO 1.0 ClientStorage does not work and I have no clue why it would not find trigger.py anymore. Do I *need* ZEO 2.0a1 for 2.6.0a1? There is nothing in the release notes. Traceback (most recent call last): File /Zope-2.6.0a1/z2.py, line 832, in ? asyncore.loop() File /Zope-2.6.0a1/lib/python/ThreadedAsync/LoopCallback.py, line 100, in loop _start_loop(map) File /Zope-2.6.0a1/lib/python/ThreadedAsync/LoopCallback.py, line 70, in _start_loop apply(cb, (map,) + args, kw or {}) File /home/zeo6/lib/python/ZEO/ClientStorage.py, line 215, in becomeAsync File /home/zeo6/lib/python/ZEO/ClientStorage.py, line 556, in getWakeup ImportError: No module named trigger * Formulator Formulator failed to install due to ZODB conflict errors until I put get_transaction.commit() into Formulator's initialize(); twice, after the help registrations. * New Startup: Will the new startup stuff also be available for ther ZEO server's start.py? Until 2.5.1 I was able to run ZEO server client in-place (from the same directory). This is harder with 2.6.0. I needed some file permission trickery (which defeats many of the benefits of the new startup) to make it work. * Besides: Z2.pid is created very late. I cannot ./stop a half-started Instance (not even a ZEO client waiting for the server!). Could we create the pid file earlier? Rgds, Stefan --On Montag, 17. Juni 2002 16:23 -0500 Andrew Sydelko [EMAIL PROTECTED] wrote: Well, I have a 3gig ZODB that we have been using fine with Zope 2.5.1 / ZEO 1.0. Trying Zope 2.6.0a1 and ZEO 2.0a1. The storage server seemed to come up fine, but when trying to start the ZEO client it pretty much sucked. I really should include the log file it produced but it's quite long. I put it up at http://eng.purdue.edu/people/sydelko/zope_2.6a1_log_1 It ended up dying at the end, but that I think I can fix. I'd really like someone to clue me into why everything else complained. -- BLOWFISH, n. - Preference for beef. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Crash Burn with Zope 2.6.0a1 and ZEO 2.0a1
AS == Andrew Sydelko [EMAIL PROTECTED] writes: AS Trying Zope 2.6.0a1 and ZEO 2.0a1. The storage server seemed to AS come up fine, but when trying to start the ZEO client it pretty AS much sucked. It looks like you would have had the same problems without ZEO. It would be helpful if you could try running Zope without ZEO, just with FileStorage. AS I really should include the log file it produced but it's quite AS long. I put it up at AS http://eng.purdue.edu/people/sydelko/zope_2.6a1_log_1 AS It ended up dying at the end, but that I think I can fix. AS I'd really like someone to clue me into why everything else AS complained. The errors in the log are all about failures to import specific modules. (Let me know if I missed something else.) Failed to import class Splitter from module Products.PluginIndexes.TextIndex.Splitter.ZopeSplitter When I import Products...ZopeSplitter, I see a module with a Splitter attribute bound to a function. The other import problem I see is Zope Could not import Products.HTMLDocument Is HTMLDocument a standard product or a 3rd party product? I don't see one in my 2.6 checkout. If it's 3rd part, then I expect it needs to be upgrade to work with 2.6. Jeremy ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Crash Burn with Zope 2.6.0a1 and ZEO 2.0a1
Stefan H. Holek wrote: Z2.pid is created very late. I cannot ./stop a half-started Instance (not even a ZEO client waiting for the server!). Could we create the pid file earlier? Actually Z2.pid *is* now created earlier than with 2.5.1, the setuid stuff for root startups was moved after the Z2.pid creation to stop a potential security issue. I don't see any reason it couldn't be created before the servers are started, however. Others may have reasons why. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Crash Burn with Zope 2.6.0a1 and ZEO 2.0a1
On Tue, 18 Jun 2002 11:20:21 -0400 Jeremy Hylton [EMAIL PROTECTED] wrote: AS == Andrew Sydelko [EMAIL PROTECTED] writes: AS Trying Zope 2.6.0a1 and ZEO 2.0a1. The storage server seemed to AS come up fine, but when trying to start the ZEO client it pretty AS much sucked. It looks like you would have had the same problems without ZEO. It would be helpful if you could try running Zope without ZEO, just with FileStorage. Hmm... The first time I copied the 3gig Data.fs over and tried to start Zope a few times. After fiddling with the permissions of the var directory it finally started, but the Data.fs was only 2MB! So I copied it again. And once again, the 3gig Data.fs is blown away! What am I doing wrong??? What are the permissions of the var folder supposed to be? I'm starting Zope with: python Zope/z2.py -w 8080 -F 8081 -W 8082 -u httpd AS I really should include the log file it produced but it's quite AS long. I put it up at AS http://eng.purdue.edu/people/sydelko/zope_2.6a1_log_1 AS It ended up dying at the end, but that I think I can fix. AS I'd really like someone to clue me into why everything else AS complained. The errors in the log are all about failures to import specific modules. (Let me know if I missed something else.) Failed to import class Splitter from module Products.PluginIndexes.TextIndex.Splitter.ZopeSplitter When I import Products...ZopeSplitter, I see a module with a Splitter attribute bound to a function. I don't understand what you're saying here. Do you mean it works without complaining for you? In the past I have deleted all the Products that were in the Products Control Panel to fix a similar bug. Is that the case here as well? The other import problem I see is Zope Could not import Products.HTMLDocument Is HTMLDocument a standard product or a 3rd party product? I don't see one in my 2.6 checkout. If it's 3rd part, then I expect it needs to be upgrade to work with 2.6. HTMLDocument is a 3rd party product. Is there a document that says what has changed enough since 2.5.1 that would break products? and how to fix them? This is frustrating... --andy. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Crash Burn with Zope 2.6.0a1 and ZEO 2.0a1
Andrew Sydelko wrote: The errors in the log are all about failures to import specific modules. (Let me know if I missed something else.) Failed to import class Splitter from module Products.PluginIndexes.TextIndex.Splitter.ZopeSplitter When I import Products...ZopeSplitter, I see a module with a Splitter attribute bound to a function. I don't understand what you're saying here. Do you mean it works without complaining for you? In the past I have deleted all the Products that were in the Products Control Panel to fix a similar bug. Is that the case here as well? I explained in the Collector how to fix this problem back in March. http://collector.zope.org/Zope/181 -- Steve Alexander ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Crash Burn with Zope 2.6.0a1 and ZEO 2.0a1
AS == Andrew Sydelko [EMAIL PROTECTED] writes: AS On Tue, 18 Jun 2002 11:20:21 -0400 Jeremy Hylton AS [EMAIL PROTECTED] wrote: AS == Andrew Sydelko [EMAIL PROTECTED] writes: AS Trying Zope 2.6.0a1 and ZEO 2.0a1. The storage server seemed to AS come up fine, but when trying to start the ZEO client it pretty AS much sucked. It looks like you would have had the same problems without ZEO. It would be helpful if you could try running Zope without ZEO, just with FileStorage. AS Hmm... The first time I copied the 3gig Data.fs over and tried AS to start Zope a few times. After fiddling with the permissions AS of the var directory it finally started, but the Data.fs was AS only 2MB! AS So I copied it again. And once again, the 3gig Data.fs is blown AS away! What am I doing wrong??? What are the permissions of the AS var folder supposed to be? I'm starting Zope with: It wouldn't surprise me if this is a completely unrelated problem. Any chance that the python your using to test doesn't have large file support? Check by importing test.test_largefile. We recently discovered that there's a bad interaction between ZODB and Python without large file support running on a platform that supports large files. In this specific configuration, os.path.exists() returns false for files 2 GB and ZODB creates a new Data.fs. Jeremy ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Crash Burn with Zope 2.6.0a1 and ZEO 2.0a1
AS == Andrew Sydelko [EMAIL PROTECTED] writes: Failed to import class Splitter from module Products.PluginIndexes.TextIndex.Splitter.ZopeSplitter When I import Products...ZopeSplitter, I see a module with a Splitter attribute bound to a function. AS I don't understand what you're saying here. Do you mean it works AS without complaining for you? In the past I have deleted all the AS Products that were in the Products Control Panel to fix a AS similar bug. Is that the case here as well? The problem is that the alpha release had a bug that made it impossible to load Splitter objects from the database. Andreas fixed the bug on Monday, so you could copy the changed file Zope/lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter/__init__.py or you could delete whatever objects are related to the text index. The other import problem I see is Zope Could not import Products.HTMLDocument Is HTMLDocument a standard product or a 3rd party product? I don't see one in my 2.6 checkout. If it's 3rd part, then I expect it needs to be upgrade to work with 2.6. AS HTMLDocument is a 3rd party product. Is there a document that AS says what has changed enough since 2.5.1 that would break AS products? and how to fix them? The traceback in the log indicates that the problem is related to InterfaceBase. (IIRC, I don't have that browser window open any more.) I think that Jim changed the Interface package just before the alpha, backporting changes from the Zope3 package. Maybe Jim can summarize what people need to do to update their code. AS This is frustrating... I agree that it is frusterating, but I think it's hard to have an alpha release that works perfectly with all known third party extensions. Jeremy ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Crash Burn with Zope 2.6.0a1 and ZEO 2.0a1
Jeremy Hylton wrote: We recently discovered that there's a bad interaction between ZODB and Python without large file support running on a platform that supports large files. In this specific configuration, os.path.exists() returns false for files 2 GB and ZODB creates a new Data.fs. Wow... bad is not a strong enough word for this bug, especially if you run into it without a backup. How about harrowing. ;-) Shane ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Crash Burn with Zope 2.6.0a1 and ZEO 2.0a1
On Tue, 18 Jun 2002 12:19:19 -0400 Jeremy Hylton [EMAIL PROTECTED] wrote: It wouldn't surprise me if this is a completely unrelated problem. Any chance that the python your using to test doesn't have large file support? Check by importing test.test_largefile. Yeah, you're right, I don't have largefile support. But I normally don't need it because it's just a ZEO client. And I've been trying to get python to compile with largefile support and I can't. I'm using Debian woody (and no, I don't want to use the installed python2.1 package). Can someone tell me exactly how to compile python 2.1.3 with LFS support? We recently discovered that there's a bad interaction between ZODB and Python without large file support running on a platform that supports large files. In this specific configuration, os.path.exists() returns false for files 2 GB and ZODB creates a new Data.fs. Yeah, that's a bad thing. I'm glad this wasn't my only copy (although it takes 15 minutes to get a new copy since it's so large.) --andy. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Crash Burn with Zope 2.6.0a1 and ZEO 2.0a1
AS == Andrew Sydelko [EMAIL PROTECTED] writes: AS Can someone tell me exactly how to compile python 2.1.3 with LFS AS support? I don't have the URL handy, but it's section 8.1.1 of the manual IIRC. Look for large file support in the library reference. Worked for me without problem on a RH 7.2 system. Jeremy ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Crash Burn with Zope 2.6.0a1 and ZEO 2.0a1
On Tue, 18 Jun 2002 23:01:57 -0400 Jeremy Hylton [EMAIL PROTECTED] wrote: AS == Andrew Sydelko [EMAIL PROTECTED] writes: AS Can someone tell me exactly how to compile python 2.1.3 with LFS AS support? I don't have the URL handy, but it's section 8.1.1 of the manual IIRC. Look for large file support in the library reference. Worked for me without problem on a RH 7.2 system. Yeah, and it's not working for me. I will try some more tomorrow... An earlier question was: What are the correct permissions for the Zope/var folder with a startup of python z2.py -u httpd --andy. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )