Zope error getting Plone running on HP UX
I've used the Plone-3.1.5.1-ex-UnifiedInstaller to install all necessary components on an HP-UX B.11.11 U 9000/800/L3000-8x system. The Zope control pannel displays the following: Zope Version: (Zope 2.10.6-final, python 2.4.5, hp-ux11) Python Version: 2.4.5 (#1, Sep 5 2008, 13:21:39) [GCC 3.3.2] System Platform: hp-ux11 SOFTWARE_HOME: /public/plone/zinstance/parts/zope2/lib/python ZOPE_HOME: /public/plone/zinstance/parts/zope2 INSTANCE_HOME: /public/plone/zinstance/parts/instance CLIENT_HOME: /public/plone/zinstance/var/instance Network Services: ZServer.HTTPServer.zhttp_server (Port: 9080) Process Id: 14823 (5) Running For: 4 min 54 sec Accessing the Plone site results in a bus error and core dump. Verbose debugging shows: <snip> # trying /public/plone/buildout-cache/eggs/plone.keyring-1.2-py2.4.egg/plone/keyring/random.sl # trying /public/plone/buildout-cache/eggs/plone.keyring-1.2-py2.4.egg/plone/keyring/randommodule.sl # trying /public/plone/buildout-cache/eggs/plone.keyring-1.2-py2.4.egg/plone/keyring/random.py # trying /public/plone/buildout-cache/eggs/plone.keyring-1.2-py2.4.egg/plone/keyring/random.pyc # trying /public/plone/buildout-cache/eggs/plone.contentrules-1.1.0-py2.4.egg/plone/contentrules/engine/storage.sl # trying /public/plone/buildout-cache/eggs/plone.contentrules-1.1.0-py2.4.egg/plone/contentrules/engine/storagemodule.sl # trying /public/plone/buildout-cache/eggs/plone.contentrules-1.1.0-py2.4.egg/plone/contentrules/engine/storage.py # /public/plone/buildout-cache/eggs/plone.contentrules-1.1.0-py2.4.egg/plone/contentrules/engine/storage.pyc matches /public/plone/buildout-cache/eggs/plone.contentrules-1.1.0-py2.4.egg/plone/contentrules/engine/storage.py import plone.contentrules.engine.storage # precompiled from /public/plone/buildout-cache/eggs/plone.contentrules-1.1.0-py2.4.egg/plone/contentrules/engine/storage.pyc # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64module.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64.py # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64.pyc sh: 702 Bus error(coredump) # clear __builtin__._ # clear sys.path <snip> But a small test program that imports all the ZPublisher modules results in the following: <snip> # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/socket.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/socketmodule.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/socket.py # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/socket.pyc # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/mimetools.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/mimetoolsmodule.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/mimetools.py # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/mimetools.pyc # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/httplib.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/httplibmodule.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/httplib.py # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/httplib.pyc # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64module.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64.py # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64.pyc # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/urlparse.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/urlparsemodule.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/urlparse.py # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/urlparse.pyc # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/HTTPRangeSupport.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/HTTPRangeSupportmodule.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/HTTPRangeSupport.py # /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/HTTPRangeSupport.pyc matches /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/HTTPRangeSupport.py import ZPublisher.HTTPRangeSupport # precompiled from /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/HTTPRangeSupport.pyc <snip> The bus error seems to be coming from Python when it's trying to load a module from the ZPublish package, but the test program loads all the modules successfully. How can I find out what the Plone Python instance is trying to load that would cause a bus error? -- View this message in context: http://www.nabble.com/Zope-error-getting-Plone-running-on-HP-UX-tp19464280p1... Sent from the Zope - General mailing list archive at Nabble.com.
I have not been near HP UX for more than 10 years.. but why dont you install zope plone from scratch? this is very easy and done in less than an hour. you then should have much more controll on what is happening when running zope/plone. start with installing: - easy_install - ZopeSkell and the creat a buildout with paster. there are good tutorials on plone.org on how to do that. robert sjcurt02 schrieb:
I've used the Plone-3.1.5.1-ex-UnifiedInstaller to install all necessary components on an HP-UX B.11.11 U 9000/800/L3000-8x system. The Zope control pannel displays the following:
Zope Version: (Zope 2.10.6-final, python 2.4.5, hp-ux11) Python Version: 2.4.5 (#1, Sep 5 2008, 13:21:39) [GCC 3.3.2] System Platform: hp-ux11 SOFTWARE_HOME: /public/plone/zinstance/parts/zope2/lib/python ZOPE_HOME: /public/plone/zinstance/parts/zope2 INSTANCE_HOME: /public/plone/zinstance/parts/instance CLIENT_HOME: /public/plone/zinstance/var/instance Network Services: ZServer.HTTPServer.zhttp_server (Port: 9080) Process Id: 14823 (5) Running For: 4 min 54 sec
Accessing the Plone site results in a bus error and core dump. Verbose debugging shows:
<snip> # trying /public/plone/buildout-cache/eggs/plone.keyring-1.2-py2.4.egg/plone/keyring/random.sl # trying /public/plone/buildout-cache/eggs/plone.keyring-1.2-py2.4.egg/plone/keyring/randommodule.sl # trying /public/plone/buildout-cache/eggs/plone.keyring-1.2-py2.4.egg/plone/keyring/random.py # trying /public/plone/buildout-cache/eggs/plone.keyring-1.2-py2.4.egg/plone/keyring/random.pyc # trying /public/plone/buildout-cache/eggs/plone.contentrules-1.1.0-py2.4.egg/plone/contentrules/engine/storage.sl # trying /public/plone/buildout-cache/eggs/plone.contentrules-1.1.0-py2.4.egg/plone/contentrules/engine/storagemodule.sl # trying /public/plone/buildout-cache/eggs/plone.contentrules-1.1.0-py2.4.egg/plone/contentrules/engine/storage.py # /public/plone/buildout-cache/eggs/plone.contentrules-1.1.0-py2.4.egg/plone/contentrules/engine/storage.pyc matches /public/plone/buildout-cache/eggs/plone.contentrules-1.1.0-py2.4.egg/plone/contentrules/engine/storage.py import plone.contentrules.engine.storage # precompiled from /public/plone/buildout-cache/eggs/plone.contentrules-1.1.0-py2.4.egg/plone/contentrules/engine/storage.pyc # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64module.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64.py # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64.pyc sh: 702 Bus error(coredump) # clear __builtin__._ # clear sys.path <snip>
But a small test program that imports all the ZPublisher modules results in the following:
<snip> # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/socket.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/socketmodule.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/socket.py # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/socket.pyc # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/mimetools.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/mimetoolsmodule.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/mimetools.py # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/mimetools.pyc # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/httplib.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/httplibmodule.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/httplib.py # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/httplib.pyc # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64module.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64.py # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64.pyc # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/urlparse.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/urlparsemodule.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/urlparse.py # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/urlparse.pyc # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/HTTPRangeSupport.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/HTTPRangeSupportmodule.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/HTTPRangeSupport.py # /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/HTTPRangeSupport.pyc matches /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/HTTPRangeSupport.py import ZPublisher.HTTPRangeSupport # precompiled from /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/HTTPRangeSupport.pyc <snip>
The bus error seems to be coming from Python when it's trying to load a module from the ZPublish package, but the test program loads all the modules successfully. How can I find out what the Plone Python instance is trying to load that would cause a bus error?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 sjcurt02 wrote:
I've used the Plone-3.1.5.1-ex-UnifiedInstaller to install all necessary components on an HP-UX B.11.11 U 9000/800/L3000-8x system. The Zope control pannel displays the following:
Zope Version: (Zope 2.10.6-final, python 2.4.5, hp-ux11) Python Version: 2.4.5 (#1, Sep 5 2008, 13:21:39) [GCC 3.3.2] System Platform: hp-ux11 SOFTWARE_HOME: /public/plone/zinstance/parts/zope2/lib/python ZOPE_HOME: /public/plone/zinstance/parts/zope2 INSTANCE_HOME: /public/plone/zinstance/parts/instance CLIENT_HOME: /public/plone/zinstance/var/instance Network Services: ZServer.HTTPServer.zhttp_server (Port: 9080) Process Id: 14823 (5) Running For: 4 min 54 sec
Accessing the Plone site results in a bus error and core dump. Verbose debugging shows:
<snip> # trying /public/plone/buildout-cache/eggs/plone.keyring-1.2-py2.4.egg/plone/keyring/random.sl # trying /public/plone/buildout-cache/eggs/plone.keyring-1.2-py2.4.egg/plone/keyring/randommodule.sl # trying /public/plone/buildout-cache/eggs/plone.keyring-1.2-py2.4.egg/plone/keyring/random.py # trying /public/plone/buildout-cache/eggs/plone.keyring-1.2-py2.4.egg/plone/keyring/random.pyc # trying /public/plone/buildout-cache/eggs/plone.contentrules-1.1.0-py2.4.egg/plone/contentrules/engine/storage.sl # trying /public/plone/buildout-cache/eggs/plone.contentrules-1.1.0-py2.4.egg/plone/contentrules/engine/storagemodule.sl # trying /public/plone/buildout-cache/eggs/plone.contentrules-1.1.0-py2.4.egg/plone/contentrules/engine/storage.py # /public/plone/buildout-cache/eggs/plone.contentrules-1.1.0-py2.4.egg/plone/contentrules/engine/storage.pyc matches /public/plone/buildout-cache/eggs/plone.contentrules-1.1.0-py2.4.egg/plone/contentrules/engine/storage.py import plone.contentrules.engine.storage # precompiled from /public/plone/buildout-cache/eggs/plone.contentrules-1.1.0-py2.4.egg/plone/contentrules/engine/storage.pyc # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64module.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64.py # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64.pyc sh: 702 Bus error(coredump) # clear __builtin__._ # clear sys.path <snip>
But a small test program that imports all the ZPublisher modules results in the following:
<snip> # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/socket.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/socketmodule.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/socket.py # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/socket.pyc # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/mimetools.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/mimetoolsmodule.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/mimetools.py # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/mimetools.pyc # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/httplib.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/httplibmodule.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/httplib.py # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/httplib.pyc # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64module.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64.py # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64.pyc # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/urlparse.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/urlparsemodule.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/urlparse.py # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/urlparse.pyc # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/HTTPRangeSupport.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/HTTPRangeSupportmodule.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/HTTPRangeSupport.py # /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/HTTPRangeSupport.pyc matches /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/HTTPRangeSupport.py import ZPublisher.HTTPRangeSupport # precompiled from /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/HTTPRangeSupport.pyc <snip>
The bus error seems to be coming from Python when it's trying to load a module from the ZPublish package, but the test program loads all the modules successfully. How can I find out what the Plone Python instance is trying to load that would cause a bus error?
I would offer odds that the Python on that box needs Viagra to improve its stack size. ;) You can find the args passed to 'configure' when Python was built as follows::
import distutils distutils.sysconfig.get_config_vars()['CONFIG_ARGS']
See if you can figure out how to bump the stack size up and rebuild Python. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIy+8G+gerLs4ltQ4RAjzcAJ4uh/yt1P1pvrOSFcNsneXNBeXo2ACcDCQG sYfde4Mv4g85nLiE5pjqCtI= =1NGB -----END PGP SIGNATURE-----
import distutils distutils.sysconfig.get_config_vars()['CONFIG_ARGS'] Traceback (most recent call last): File "<stdin>", line 1, in ? AttributeError: 'module' object has no attribute 'sysconfig'
Any pointers? Tres Seaver wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
sjcurt02 wrote:
I've used the Plone-3.1.5.1-ex-UnifiedInstaller to install all necessary components on an HP-UX B.11.11 U 9000/800/L3000-8x system. The Zope control pannel displays the following:
Zope Version: (Zope 2.10.6-final, python 2.4.5, hp-ux11) Python Version: 2.4.5 (#1, Sep 5 2008, 13:21:39) [GCC 3.3.2] System Platform: hp-ux11 SOFTWARE_HOME: /public/plone/zinstance/parts/zope2/lib/python ZOPE_HOME: /public/plone/zinstance/parts/zope2 INSTANCE_HOME: /public/plone/zinstance/parts/instance CLIENT_HOME: /public/plone/zinstance/var/instance Network Services: ZServer.HTTPServer.zhttp_server (Port: 9080) Process Id: 14823 (5) Running For: 4 min 54 sec
Accessing the Plone site results in a bus error and core dump. Verbose debugging shows:
<snip> # trying /public/plone/buildout-cache/eggs/plone.keyring-1.2-py2.4.egg/plone/keyring/random.sl # trying /public/plone/buildout-cache/eggs/plone.keyring-1.2-py2.4.egg/plone/keyring/randommodule.sl # trying /public/plone/buildout-cache/eggs/plone.keyring-1.2-py2.4.egg/plone/keyring/random.py # trying /public/plone/buildout-cache/eggs/plone.keyring-1.2-py2.4.egg/plone/keyring/random.pyc # trying /public/plone/buildout-cache/eggs/plone.contentrules-1.1.0-py2.4.egg/plone/contentrules/engine/storage.sl # trying /public/plone/buildout-cache/eggs/plone.contentrules-1.1.0-py2.4.egg/plone/contentrules/engine/storagemodule.sl # trying /public/plone/buildout-cache/eggs/plone.contentrules-1.1.0-py2.4.egg/plone/contentrules/engine/storage.py # /public/plone/buildout-cache/eggs/plone.contentrules-1.1.0-py2.4.egg/plone/contentrules/engine/storage.pyc matches /public/plone/buildout-cache/eggs/plone.contentrules-1.1.0-py2.4.egg/plone/contentrules/engine/storage.py import plone.contentrules.engine.storage # precompiled from /public/plone/buildout-cache/eggs/plone.contentrules-1.1.0-py2.4.egg/plone/contentrules/engine/storage.pyc # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64module.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64.py # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64.pyc sh: 702 Bus error(coredump) # clear __builtin__._ # clear sys.path <snip>
But a small test program that imports all the ZPublisher modules results in the following:
<snip> # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/socket.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/socketmodule.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/socket.py # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/socket.pyc # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/mimetools.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/mimetoolsmodule.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/mimetools.py # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/mimetools.pyc # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/httplib.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/httplibmodule.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/httplib.py # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/httplib.pyc # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64module.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64.py # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/base64.pyc # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/urlparse.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/urlparsemodule.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/urlparse.py # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/urlparse.pyc # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/HTTPRangeSupport.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/HTTPRangeSupportmodule.sl # trying /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/HTTPRangeSupport.py # /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/HTTPRangeSupport.pyc matches /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/HTTPRangeSupport.py import ZPublisher.HTTPRangeSupport # precompiled from /public/plone/zinstance/parts/zope2/lib/python/ZPublisher/HTTPRangeSupport.pyc <snip>
The bus error seems to be coming from Python when it's trying to load a module from the ZPublish package, but the test program loads all the modules successfully. How can I find out what the Plone Python instance is trying to load that would cause a bus error?
I would offer odds that the Python on that box needs Viagra to improve its stack size. ;) You can find the args passed to 'configure' when Python was built as follows::
import distutils distutils.sysconfig.get_config_vars()['CONFIG_ARGS']
See if you can figure out how to bump the stack size up and rebuild Python.
Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIy+8G+gerLs4ltQ4RAjzcAJ4uh/yt1P1pvrOSFcNsneXNBeXo2ACcDCQG sYfde4Mv4g85nLiE5pjqCtI= =1NGB -----END PGP SIGNATURE-----
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- View this message in context: http://www.nabble.com/Zope-error-getting-Plone-running-on-HP-UX-tp19464280p1... Sent from the Zope - General mailing list archive at Nabble.com.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 sjcurt02 wrote:
import distutils distutils.sysconfig.get_config_vars()['CONFIG_ARGS'] Traceback (most recent call last): File "<stdin>", line 1, in ? AttributeError: 'module' object has no attribute 'sysconfig'
Any pointers?
$ find /path/to/python/lib/python2.4/distutils -name "*.py" \ xargs grep -l "def get_config_vars" /path/to/python/lib/python2.4/distutils/sysconfig.py Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIzVuB+gerLs4ltQ4RAnnEAJ42WQCsmHaACbDVjJhB+M1oO3YRCgCgl/fp TWN1855hvNHoV0rfFeB+ssI= =U8Wy -----END PGP SIGNATURE-----
sjcurt02 wrote:
import distutils distutils.sysconfig.get_config_vars()['CONFIG_ARGS'] Traceback (most recent call last): File "<stdin>", line 1, in ? AttributeError: 'module' object has no attribute 'sysconfig'
<snip> I finally understand what was meant. This worked for me:
from distutils import sysconfig sysconfig.get_config_vars()['CONFIG_ARGS']
but it produced no output because I configured python without specifying any arguments using default values instead. I grepped through the Makefile and config.log and didn't see anything about specifying a value for the stack size. What configure options affect the python stack size? -- View this message in context: http://www.nabble.com/Zope-error-getting-Plone-running-on-HP-UX-tp19464280p1... Sent from the Zope - General mailing list archive at Nabble.com.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 sjcurt02 wrote:
sjcurt02 wrote:
import distutils distutils.sysconfig.get_config_vars()['CONFIG_ARGS'] Traceback (most recent call last): File "<stdin>", line 1, in ? AttributeError: 'module' object has no attribute 'sysconfig'
<snip>
I finally understand what was meant. This worked for me:
from distutils import sysconfig sysconfig.get_config_vars()['CONFIG_ARGS']
but it produced no output because I configured python without specifying any arguments using default values instead. I grepped through the Makefile and config.log and didn't see anything about specifying a value for the stack size. What configure options affect the python stack size?
I don't know: I *do* know that the "standard" Python build on FreeBSD some years back routinely caused bus errors / segfaults when running Zope: they would come at seemingly arbitrary points, and were solely due to the stack size. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI0xh9+gerLs4ltQ4RAkOdAKDYYekNcpFwVOpqymKf5BDa7bNs8ACgjVJg V9vM2Yqq0ncG/tzz67NzFQk= =aD0g -----END PGP SIGNATURE-----
Found the answer to the stack question here: http://mail.python.org/pipermail/python-bugs-list/2006-January/031647.html $ export BASECFLAGS=-DTHREAD_STACK_SIZE=0x50000 $ configure $ make ... Unfortunately, it did not solve my problem. Still looking though. Thanks, Steve Tres Seaver wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
<snip/>
size. What configure options affect the python stack size?
I don't know: I *do* know that the "standard" Python build on FreeBSD some years back routinely caused bus errors / segfaults when running Zope: they would come at seemingly arbitrary points, and were solely due to the stack size.
Tres.
<snip/>
-- View this message in context: http://www.nabble.com/Zope-error-getting-Plone-running-on-HP-UX-tp19464280p1... Sent from the Zope - General mailing list archive at Nabble.com.
Removed the optimization (-O3), pushed the stack up to 0x100000, added gdb debugging (-ggdb), recompiled, reran, and then inspected the core to find the following: sysapps@dhapl03> gdb -c core -s ../../Python-2.4/python HP gdb 3.2 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00. Copyright 1986 - 2001 Free Software Foundation, Inc. Hewlett-Packard Wildebeest 3.2 (based on GDB) is covered by the GNU General Public License. Type "show copying" to see the conditions to change it and/or distribute copies. Type "show warranty" for warranty/support. .. Core was generated by `python'. Program terminated with signal 10, Bus error. #0 list_repr (v=0x0) at Objects/listobject.c:336 336 s = PyObject_Repr(v->ob_item[i]); (gdb) quit Any ideas how a null pointer could get passed in to list_repr(PyListObject *v)? Maybe a failed malloc? Not sure how to take this further. sjcurt02 wrote:
Found the answer to the stack question here: http://mail.python.org/pipermail/python-bugs-list/2006-January/031647.html
$ export BASECFLAGS=-DTHREAD_STACK_SIZE=0x50000 $ configure $ make ...
Unfortunately, it did not solve my problem. Still looking though.
Thanks, Steve
<snip/>
-- View this message in context: http://www.nabble.com/Zope-error-getting-Plone-running-on-HP-UX-tp19464280p1... Sent from the Zope - General mailing list archive at Nabble.com.
participants (3)
-
robert rottermann -
sjcurt02 -
Tres Seaver