Re: [Zope] Zope error getting Plone running on HP UX
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=0x5 $ 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-tp19464280p19580363.html Sent from the Zope - General mailing list archive at Nabble.com. ___ 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 )
Re: [Zope] Zope error getting Plone running on HP UX
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-tp19464280p19564772.html Sent from the Zope - General mailing list archive at Nabble.com. ___ 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 )
Re: [Zope] Zope error getting Plone running on HP UX
-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 [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 iD8DBQFI0xh9+gerLs4ltQ4RAkOdAKDYYekNcpFwVOpqymKf5BDa7bNs8ACgjVJg V9vM2Yqq0ncG/tzz67NzFQk= =aD0g -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 )
Re: [Zope] Zope error getting Plone running on HP UX
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
-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 )
Re: [Zope] Zope error getting Plone running on HP UX
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
Re: [Zope] Zope error getting Plone running on HP UX
-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
Re: [Zope] zope error
It sounds like there is a problem writing to the log file. Im not sure what errorno 9 in IO is but it could be bad filename if you have specified one. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Atomasoft Network President" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, November 04, 2000 9:52 AM Subject: [Zope] zope error Hello, There is a problem with my zope.Whenever someone accesses the server it has an error and shuts down this is the last 2 lines of what it said: File "C:\Program Files\WebSite\ZServer\medusa\logger.py", line 65 in maybe_flush self.file.flush() IOError: [Errno 9] Bad file descriptor How do I fix this? Thanks, Calin ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] zope error
Hello, There is aproblem with my zope.Whenever someone accesses the server it has an error and shuts downthis is the last 2 lines of what it said:File "C:\Program Files\WebSite\ZServer\medusa\logger.py", line 65 inmaybe_flushself.file.flush()IOError: [Errno 9] Bad file descriptor How do I fix this? Thanks, Calin