Re: [Zope] Zope error getting Plone running on HP UX

2008-09-14 Thread sjcurt02

 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 

Re: [Zope] Zope error getting Plone running on HP UX

2008-09-14 Thread Tres Seaver
-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  [EMAIL PROTECTED]
Palladion Software   Excellence by Designhttp://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-

___
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 )