[Zope] Zope error getting Plone running on HP UX

sjcurt02 sjcurt02 at gmail.com
Sun Sep 14 14:31:49 EDT 2008


>>> 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 at 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 at 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-tp19464280p19482971.html
Sent from the Zope - General mailing list archive at Nabble.com.



More information about the Zope mailing list