[Bug 221256] New: Zope not compatible with python 2.5 - crashes on startup
https://bugzilla.novell.com/show_bug.cgi?id=221256 Summary: Zope not compatible with python 2.5 - crashes on startup Product: openSUSE 10.2 Version: Beta 2 Platform: All OS/Version: SuSE Other Status: NEW Severity: Critical Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: nine@detonation.org QAContact: qa@suse.de openSUSE 10.2 comes with python version 2.5. None of the released Zope versions, including the zope-2.9.4 are compatible with the new python and according to the mailing lists it may be at least half a year before Zope (2 or 3) will run on python 2.5: http://mail.zope.org/pipermail/zope3-dev/2006-September/020586.html One can clearly see, that it's not only a theoretical "not well tested so not supported" when trying to start the included Zope on 10.2beta2. It crashes right away, so it's pretty useless. The only way to allow one to use Zope on openSUSE 10.2 seems to be to include a current python 2.4 version as well, at least as part of the Zope package (since Zope allows to use a "private" python version). Otherwise the included Zope package should at least be dropped, as it's inclusion is misleading and maybe the incompatibility noted in the release notes. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221256 ------- Comment #1 from aj@novell.com 2006-11-15 11:54 MST ------- Ok, let's mark zope as frozen due to technical problems :-(. Adding php4 as private package is not an option to me. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221256 ------- Comment #2 from suse-beta@cboltz.de 2006-11-21 16:46 MST ------- (In reply to comment #1)
Ok, let's mark zope as frozen due to technical problems :-(. Adding php4 as private package is not an option to me.
AJ: s/php4/python 2.4/ ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221256 ------- Comment #3 from mkudlvasr@novell.com 2006-11-22 05:54 MST ------- sorry for the late response, I've had a vacation. I'll try to: a) fix the zope code to work with python 2.5 or b) persuade myself that it is too large problem to be solved by a packager .. whichever comes first -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221256 mkudlvasr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221256 ------- Comment #4 from mkudlvasr@novell.com 2006-11-22 09:26 MST ------- after several python problems removed ... *** glibc detected *** /usr/bin/python: free(): invalid pointer: 0x0914a080 *** Hmmm, this certainly won't be today. So it'll have to be frozen for 10.2 release -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221256 ------- Comment #5 from mkudlvasr@novell.com 2006-11-24 05:08 MST ------- After reading the whole thread, I see that this problem can last for a year (!!!) We really should offer some options. Like zope@python2.4 project on opensuse buildservice. Does anyone have better idea? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221256 ------- Comment #6 from nine@detonation.org 2006-11-24 05:22 MST ------- Like I said. The only option I see is include a private /opt/zope/bin/python Python 2.4 binary in the Zope package. It's far from an optimum solution, because one then has to install a private PIL for example, if one needs it. But it really does look like the only solution. Except of course from providing a python 2.4 for openSUSE that may be installed parallel to the included 2.5. For me personally this would even be the better solution, since I tend to upgrade my Zope more often than the operating system. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221256 msvec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msvec@novell.com ------- Comment #7 from msvec@novell.com 2007-01-31 02:40 MST ------- To me it seems that providing zope@python24 via BS is the only viable option for 10.2 for now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221256 stefan.muenkner@uni-tuebingen.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan.muenkner@uni-tuebingen.de ------- Comment #8 from stefan.muenkner@uni-tuebingen.de 2007-01-31 06:26 MST ------- So is anything going to be done about this bug? If I understand the thread correctly this problem was found long before openSuSE 10.2 got released. It actually does increase my confidence.... Having a separate python24 package might be a nuisance but I think it is the only option. Oh and the reason for the start-up failure should be put somewhere where it can be found.... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221256 stefan.muenkner@uni-tuebingen.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |nine@detonation.org ------- Comment #9 from stefan.muenkner@uni-tuebingen.de 2007-01-31 06:27 MST ------- So is anything going to be done about this bug? If I understand the thread correctly this problem was found long before openSuSE 10.2 got released. It actually does increase my confidence.... Having a separate python24 package might be a nuisance but I think it is the only option. Oh and the reason for the start-up failure should be put somewhere where it can be found.... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221256 ------- Comment #10 from nine@detonation.org 2007-01-31 08:31 MST ------- Why NEEDINFO? What information is needed from me? AFAICT I told everything I could. The zope delivered with 10.2 still does not work and the possible solutions are the same as before. Please elaborate on what info I should provide, or change the bug status back. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221256 mkudlvasr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|nine@detonation.org | ------- Comment #11 from mkudlvasr@novell.com 2007-01-31 09:08 MST ------- The reasons for zope failure are still the same: change from python 2.4 to 2.5 was really a major one. The python interpreter now works a little different. The zope functioning itself would be ok. But zope also allows python scripts to be run in restricted, safe mode. This is achieved by interpreting the python code by zope itself! The changes/added features in python2.5 were simply so major that large part RestrictedPython would have to be rewritten. Not only rewritten, but 2 versions of zope (for each python) would have to be maintained. With limited human resources this would significantly slow development of zope. So Jim Fulton made a difficult decision to focus on development of zope 2 and its fluent transition to zope 3 (here I have to say that zope2 and zope3 are very very different) and not support python 2.5 until ... sometime (this can mean a year fi). So there is no way to make zope compatible with python 2.5 without a lot of human workforce. We agreed ^^^ that the only solution is to make packages of python 2.4 and zope (configured to prefer python 2.4) in BS. It is MY fault that it is not done yet. I focused on other task that I thought were higher priority (yes, I should have written it here). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221256 ------- Comment #12 from stefan.muenkner@uni-tuebingen.de 2007-01-31 13:32 MST ------- Sorry, but I did not actively change the status of the bug entry (I would not dare to). However, when I committed my comment above, I was transferred to a different bug entry on the server (something related to a kde3 problem - I really don't remember what it was exactly, but what I remember, was that that bug entry had NEEDINFO as a status). Trying to get back to this entry (via the back button on the browser) obviously produced the additional comment of mine above. Sorry for all this confusion. Meanwhile I solved the problem for me by providing a minimal python 2.4 installation and rebuilding the zope package using that python installation. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221256 ulmer@truckport.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ulmer@truckport.de ------- Comment #13 from ulmer@truckport.de 2007-03-02 02:36 MST ------- I hope it's ok to post a short solution until new zope packages are available: # curl http://www.python.org/ftp/python/2.4.4/Python-2.4.4.tgz | tar xzf - # cd Python-2.4.4/ # ./configure --prefix=/opt/zope2 # make # sudo make install # cd .. # curl http://www.zope.org/Products/Zope/2.9.6/Zope-2.9.6-final.tgz | tar xzf - # cd Zope-2.9.6-final/ # ./configure --with-python=/opt/zope2/bin/python --prefix=/opt/zope2 # make # sudo make install # sudo zope /opt/zope2/bin/mkzopeinstance.py -d /var/opt/zope2/default # cd /var/opt/zope2/default # bin/runzope -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221256 ------- Comment #14 from gjjones1@usi.edu 2007-04-04 11:34 MST ------- I want to add my experience as well. Not only does zope not work. It won't uninstall for the average user due to some python based pre-uninstall scripts. So, uninstalling from within YAST2 bombs out horribly. instead you need to uninstall from the command line like so: rpm -v --noscripts --erase zope I was also wondering if any progress has been made in getting this to work under SuSE as a packaged solution? Zope3 installs (and uninstalls) and appears to run, but after launching with: # /etc/init.d/zope3 start Starting zope, instances: default done A status check later shows: Checking for zope instances: default: daemon manager running; daemon process not running unused Is it possible that zope3 will run with the right voodoo? If so, what is the voodoo? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221256 ------- Comment #15 from mkudlvasr@novell.com 2007-04-05 08:31 MST ------- Both zopes will run with python-2.4 I finally finished my previous more urgent job and now this bug is my top priority. I've already created the packages in buildservice in my home project (home:mkudlvasr). the python-2.4 package builds and does not collide with regular python package (now 2.5) - they can be both installed. The zope packages have problems, because I don't know, how to bet buildservice to use my home project as additional repository (zope builds fine when building locally with buildservice). as for the uninstall scripts - thats news for me, so I'll have to do some research. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221256 gjjones1@usi.edu changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gjjones1@usi.edu ------- Comment #16 from gjjones1@usi.edu 2007-04-09 08:37 MST ------- Any ETA for being able to install python 2.4 and make sure that either zope uses it? I am thinking of pressing forward with installing the zope package and manually installing python 2.4 as outlined in comment #13. However, I would prefer to do this with the package system if at all possible. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221256 ------- Comment #17 from mkudlvasr@novell.com 2007-04-11 08:30 MST ------- python-2.4 and zope-python-2.4 are finished and tested (uninstall works too). you can find the built packages here: http://software.opensuse.org/download/home:/mkudlvasr/openSUSE_10.2 zope3-python-2.4 is not ready yet. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221256 ------- Comment #18 from gjjones1@usi.edu 2007-04-25 09:26 MST ------- Any chance of a status update? Are these packages going to be pushed into the 10.2 repositories? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221256 ------- Comment #19 from mkudlvasr@novell.com 2007-04-25 09:49 MST ------- The problem is that there should not be concurrent versions of python in one distribution (like 10.2). So as a workaround we agreed to use a project int buildservice and not to add python-2.4 to OS10.2 . The project will be named server:zope. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221256 ------- Comment #20 from ulmer@truckport.de 2007-05-16 08:41 MST ------- I think two important packages are missing: zope-python-2.4-mysql python-2.4-mysql Is it possible to integrate them into the buildservice too? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221256 ------- Comment #21 from mkudlvasr@novell.com 2007-05-17 05:59 MST ------- yep, working on that. both are in the same project, but not building yet :-( I have some problems with python-2.4-mysql -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221256 ------- Comment #22 from ulmer@truckport.de 2007-05-29 02:04 MST ------- Thank you for the new packages python-2.4-mysql-1.2.0-10.5.i586.rpm ope-mysql-python-2.4-2.0.9b2-6.1.i586.rpm under http://software.opensuse.org/download/server:/zope/openSUSE_10.2/i586/ But can somebody install python-2.4-gdbm-2.4.4-61.1.i586.rpm? # rpm -U python-2.4-gdbm-2.4.4-61.1.i586.rpm error: Failed dependencies: python = 2.4.4 is needed by python-2.4-gdbm-2.4.4-61.1.i586 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221256 mkudlvasr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Critical |Minor ------- Comment #23 from mkudlvasr@novell.com 2007-05-29 08:31 MST ------- overlooked this one: - Requires: python = %{version} + Requires: python-2.4 = %{version} However this is just a minor issue. The solution itself works. It does not really make zope compatible with python, but it is a more or less functional workaround. For 10.3 the same solution is going to be used, as zope itself still does not work with python-2.5 . If there are no more requests, I'll call this issue fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=221256#c24 Martin Kudlvasr <mkudlvasr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #24 from Martin Kudlvasr <mkudlvasr@novell.com> 2007-07-11 05:58:17 MST --- closing ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com