Re: [Zope] Question about Upgrading Zope and OS X Server
So OS X Server Snow Leopard comes with Python 2.6.1. Is there any reason to think that this Python version would cause problems with Zope 2.8.6? We have had nice stability with Python 2.3.5. Either way, is Zope 2.8.7 a significantly better choice than 2.8.6? On Dec 8, 2010, at 8:22 AM, Richard Harley wrote: > Dan - we are using 64bit Zope 2.8.7 and python 2.4 with no problems > for > years now. It can do everything we want with regards to Python > scripting, database connectivity etc. > > I can't think of any huge problems with staying on Zope 2.8.6/7 era. I > have said before 2.10+ breaks lots of products that would take ages to > hack about (especially for companies using Zope not individuals with > time on their hands). I'm all for upgrading, bug fixing and > refactoring > normally, but the backwards compatibility with Zope makes it harder > than > it should be. > > Rich > > > On 08/12/10 12:11, Peter Bengtsson wrote: >> We're running several perfectly working 2.8 Zopes. They've been >> very stable. >> Annoying that Ubuntu insists on making Python 2.4 hard to install but >> for some of the servers we've changed back to Debian. >> >> On 7 December 2010 16:58, Dan Gaibel wrote: >> >>> Good advice here, thanks! Is it a big mistake to stay at Zope >>> 2.8.6? The server has been very stable for years, apparently. What >>> are the downfalls of not upgrading all the way past 2.10? >>> >>> On Dec 7, 2010, at 2:40 PM, Andrew Milton wrote: >>> >>> +---[ Tres Seaver ]-- | -BEGIN PGP SIGNED MESSAGE- | Hash: SHA1 | | On 12/07/2010 01:18 PM, Dan Gaibel wrote: | |> I have recently inherited the responsibility of supporting a fairly |> complex web server running Zope 2.8.6 on Python 2.3.5. This |> configuration is currently on a Linux (Fedora Core) server and I |> would like very much to migrate to OS X Server Snow Leopard. It also |> seems to me that I should consider upgrading Zope to a more current |> release while I'm at it. We heavily use MySQL and associated |> products, LocalFS, and the Python Imagining Library. We have a |> variety of ZClass homegrown products as well. |> |> I know that I'm in for a headache no matter what, but I wonder if any |> of you folks could point me in the right direction or offer advice on |> the situation. Is it crazy to jump from 2.8.6 to 2.12? Does anyone |> use OS X Server for Zope? Is this migration a mistake? Any pitfalls I |> should be looking out for? | | I would do this in small steps, e.g. first migrate to the new machine / OS: | | - - Get Python 2.3.x installed on the OS/X server. | | - - Build the latest Zope 2.8.* on that server. | | - - Install and test products there in the same versions you now use. | | - - Copy your old database over and test. | | then upgrade the software stack: | | - - Move carefully through the Zope releases (I would to 2.9, 2.10, and' | 2.12), upgrading Python as needed to stay on a supported version. | | - - Check for upgrades to the products, and their compatibility with | Zope versions. Test them, and your site. after each upgrade. The move from 2.9 to 2.10 is likely to be the most painful part in terms of legacy Zope apps. A lot of products will break on 2.10 -- Andrew Milton a...@theinternet.com.au ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev ) >>> ___ >>> Zope maillist - Zope@zope.org >>> https://mail.zope.org/mailman/listinfo/zope >>> ** No cross posts or HTML encoding! ** >>> (Related lists - >>> https://mail.zope.org/mailman/listinfo/zope-announce >>> https://mail.zope.org/mailman/listinfo/zope-dev ) >>> >>> >> >> >> > > ___ > Zope maillist - Zope@zope.org > https://mail.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > https://mail.zope.org/mailman/listinfo/zope-announce > https://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Openflow_ZPygresqlDA_products_broken_on_ZMI
Hi Smita, On 08/12/2010 14:32, Smita Kamdar wrote: > Can I install ZPygresqlDA without uninstalling ZPsycopgDA on the same > m/c? Will it work properly? If it works properly I will install > ZPygresqlDA-0.0.3 on dev Linux box & again import my source code & check > whether it still appears broken? > I'm not aware of a reason that ZPygresqlDA and ZPsycopgDA should not co-exist, but I really don't know anything about ZPygresqlDA. Having an extra product in your target environment should not cause problems when importing, but having products missing or at mismatched versions is very likely to cause problems importing. > Please help me so that I can progress accordingly. If this doesn’t work > I will install all the products on dev with the same version as the > products on live as suggested by you. > This is the most sensible thing to do. It would help us to help you if you could explain why you are reluctant to do this in the first place. -- Regards, PhilK 'work as if you lived in the early days of a better nation' - alasdair gray ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Openflow_ZPygresqlDA_products_broken_on_ZMI
Hi, Can I install ZPygresqlDA without uninstalling ZPsycopgDA on the same m/c? Will it work properly? If it works properly I will install ZPygresqlDA-0.0.3 on dev Linux box & again import my source code & check whether it still appears broken? Please help me so that I can progress accordingly. If this doesn't work I will install all the products on dev with the same version as the products on live as suggested by you. Thanks a Lot in Advance! Regards, Smita Kamdar Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html externally and http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html internally within Tech Mahindra. ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Question about Upgrading Zope and OS X Server
Dan - we are using 64bit Zope 2.8.7 and python 2.4 with no problems for years now. It can do everything we want with regards to Python scripting, database connectivity etc. I can't think of any huge problems with staying on Zope 2.8.6/7 era. I have said before 2.10+ breaks lots of products that would take ages to hack about (especially for companies using Zope not individuals with time on their hands). I'm all for upgrading, bug fixing and refactoring normally, but the backwards compatibility with Zope makes it harder than it should be. Rich On 08/12/10 12:11, Peter Bengtsson wrote: > We're running several perfectly working 2.8 Zopes. They've been very stable. > Annoying that Ubuntu insists on making Python 2.4 hard to install but > for some of the servers we've changed back to Debian. > > On 7 December 2010 16:58, Dan Gaibel wrote: > >> Good advice here, thanks! Is it a big mistake to stay at Zope 2.8.6? The >> server has been very stable for years, apparently. What are the downfalls of >> not upgrading all the way past 2.10? >> >> On Dec 7, 2010, at 2:40 PM, Andrew Milton wrote: >> >> >>> +---[ Tres Seaver ]-- >>> | -BEGIN PGP SIGNED MESSAGE- >>> | Hash: SHA1 >>> | >>> | On 12/07/2010 01:18 PM, Dan Gaibel wrote: >>> | >>> |> I have recently inherited the responsibility of supporting a fairly >>> |> complex web server running Zope 2.8.6 on Python 2.3.5. This >>> |> configuration is currently on a Linux (Fedora Core) server and I >>> |> would like very much to migrate to OS X Server Snow Leopard. It also >>> |> seems to me that I should consider upgrading Zope to a more current >>> |> release while I'm at it. We heavily use MySQL and associated >>> |> products, LocalFS, and the Python Imagining Library. We have a >>> |> variety of ZClass homegrown products as well. >>> |> >>> |> I know that I'm in for a headache no matter what, but I wonder if any >>> |> of you folks could point me in the right direction or offer advice on >>> |> the situation. Is it crazy to jump from 2.8.6 to 2.12? Does anyone >>> |> use OS X Server for Zope? Is this migration a mistake? Any pitfalls I >>> |> should be looking out for? >>> | >>> | I would do this in small steps, e.g. first migrate to the new machine / >>> OS: >>> | >>> | - - Get Python 2.3.x installed on the OS/X server. >>> | >>> | - - Build the latest Zope 2.8.* on that server. >>> | >>> | - - Install and test products there in the same versions you now use. >>> | >>> | - - Copy your old database over and test. >>> | >>> | then upgrade the software stack: >>> | >>> | - - Move carefully through the Zope releases (I would to 2.9, 2.10, and' >>> | 2.12), upgrading Python as needed to stay on a supported version. >>> | >>> | - - Check for upgrades to the products, and their compatibility with >>> | Zope versions. Test them, and your site. after each upgrade. >>> >>> The move from 2.9 to 2.10 is likely to be the most painful part in >>> terms of legacy Zope apps. A lot of products will break on 2.10 >>> >>> -- >>> Andrew Milton >>> a...@theinternet.com.au >>> ___ >>> Zope maillist - Zope@zope.org >>> https://mail.zope.org/mailman/listinfo/zope >>> ** No cross posts or HTML encoding! ** >>> (Related lists - >>> https://mail.zope.org/mailman/listinfo/zope-announce >>> https://mail.zope.org/mailman/listinfo/zope-dev ) >>> >> ___ >> Zope maillist - Zope@zope.org >> https://mail.zope.org/mailman/listinfo/zope >> ** No cross posts or HTML encoding! ** >> (Related lists - >> https://mail.zope.org/mailman/listinfo/zope-announce >> https://mail.zope.org/mailman/listinfo/zope-dev ) >> >> > > > ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Question about Upgrading Zope and OS X Server
We're running several perfectly working 2.8 Zopes. They've been very stable. Annoying that Ubuntu insists on making Python 2.4 hard to install but for some of the servers we've changed back to Debian. On 7 December 2010 16:58, Dan Gaibel wrote: > Good advice here, thanks! Is it a big mistake to stay at Zope 2.8.6? The > server has been very stable for years, apparently. What are the downfalls of > not upgrading all the way past 2.10? > > On Dec 7, 2010, at 2:40 PM, Andrew Milton wrote: > >> +---[ Tres Seaver ]-- >> | -BEGIN PGP SIGNED MESSAGE- >> | Hash: SHA1 >> | >> | On 12/07/2010 01:18 PM, Dan Gaibel wrote: >> | >> | > I have recently inherited the responsibility of supporting a fairly >> | > complex web server running Zope 2.8.6 on Python 2.3.5. This >> | > configuration is currently on a Linux (Fedora Core) server and I >> | > would like very much to migrate to OS X Server Snow Leopard. It also >> | > seems to me that I should consider upgrading Zope to a more current >> | > release while I'm at it. We heavily use MySQL and associated >> | > products, LocalFS, and the Python Imagining Library. We have a >> | > variety of ZClass homegrown products as well. >> | > >> | > I know that I'm in for a headache no matter what, but I wonder if any >> | > of you folks could point me in the right direction or offer advice on >> | > the situation. Is it crazy to jump from 2.8.6 to 2.12? Does anyone >> | > use OS X Server for Zope? Is this migration a mistake? Any pitfalls I >> | > should be looking out for? >> | >> | I would do this in small steps, e.g. first migrate to the new machine / OS: >> | >> | - - Get Python 2.3.x installed on the OS/X server. >> | >> | - - Build the latest Zope 2.8.* on that server. >> | >> | - - Install and test products there in the same versions you now use. >> | >> | - - Copy your old database over and test. >> | >> | then upgrade the software stack: >> | >> | - - Move carefully through the Zope releases (I would to 2.9, 2.10, and' >> | 2.12), upgrading Python as needed to stay on a supported version. >> | >> | - - Check for upgrades to the products, and their compatibility with >> | Zope versions. Test them, and your site. after each upgrade. >> >> The move from 2.9 to 2.10 is likely to be the most painful part in >> terms of legacy Zope apps. A lot of products will break on 2.10 >> >> -- >> Andrew Milton >> a...@theinternet.com.au >> ___ >> Zope maillist - z...@zope.org >> https://mail.zope.org/mailman/listinfo/zope >> ** No cross posts or HTML encoding! ** >> (Related lists - >> https://mail.zope.org/mailman/listinfo/zope-announce >> https://mail.zope.org/mailman/listinfo/zope-dev ) > > ___ > Zope maillist - z...@zope.org > https://mail.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > https://mail.zope.org/mailman/listinfo/zope-announce > https://mail.zope.org/mailman/listinfo/zope-dev ) > -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby donecal.com ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Iteration over columns in ZSQLMethod result not working in Zope 2.12.13
Am 7.12.10 15:19 , schrieb Tres Seaver: >> >> result = context.someZSQLMethod() >> for row in result: >> for col in row: #this will fail >> pass > > Does the "safe list" builtin work for you in 2.12? > >for row in result: >for col in list(row): >pass > > Yes. This works in 2.12. ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )