Re: [Zope] Zope 2.2.1 Solaris 8 dumps core

2000-09-08 Thread Michele Ravani

Brian Lloyd wrote:

  I've downloaded the src of Zope 2.2.1 on my UltraSparc running Solaris
  8, built it ok, but when I try run ./start it it dumps core with a
  segmentation fault.
  Is this problem known? Anything I can do?
  I am completely new to both Python and Zope ...

 I don't know of any problems inherent to running on Sol8.
 It seems like maybe it could have something to do with
 your Python installation. One way you could test that is
 to cd to the lib/python dir of your Zope installation,
 start your local Python interpreter and try:

 import ExtensionClass

 Brian Lloyd[EMAIL PROTECTED]
 Software Engineer  540.371.6909
 Digital Creations  www.digicool.com

I've tried that and it dumped. I'll have to poll the Python knowledge base
for that ...
Python was built using gcc as Zope was.

Thanks anyway

 Michele


___
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 2.2.1 Solaris 8 dumps core

2000-09-07 Thread Michele Ravani

Hi

I've downloaded the src of Zope 2.2.1 on my UltraSparc running Solaris
8, built it ok, but when I try run ./start it it dumps core with a
segmentation fault.
Is this problem known? Anything I can do?
I am completely new to both Python and Zope ...


Thanks
  Michele



#0  initExtensionClass () at
./../Components/ExtensionClass/ExtensionClass.c:3508
3508  ECTypeType.ob_type=PyType_Type;
(gdb) where
#0  initExtensionClass () at
./../Components/ExtensionClass/ExtensionClass.c:3508
#1  0x28ddc in _PyImport_LoadDynamicModule (name=0xefff310b
"ExtensionClass",
pathname=0xefff2c10
"/home/michele/Projects/Zope-2.2.1-src/lib/python/ExtensionClass.so",
fp=0xb2fc0) at ./importdl.c:851
#2  0x26ee4 in load_module (name=0xefff310b "ExtensionClass",
fp=0xb2fc0,
buf=0xefff2c10
"/home/michele/Projects/Zope-2.2.1-src/lib/python/ExtensionClass.so",
type=3) at import.c:1210
#3  0x27cf0 in import_submodule (mod=0x9f1dc, subname=0xefff310b
"ExtensionClass", fullname=0xefff310b "ExtensionClass") at import.c:1755

#4  0x27870 in load_next (mod=0xe6100, altmod=0x9f1dc,
p_name=0xefff310b, buf=0xefff3100 "ZPublisher.ExtensionClass",
p_buflen=0xefff30fc) at import.c:1607
#5  0x2742c in import_module_ex (name=0x0, globals=0x185428,
locals=0x185428, fromlist=0xe78e0) at import.c:1445
#6  0x275cc in PyImport_ImportModuleEx (name=0x1a2004 "ExtensionClass",
globals=0x185428, locals=0x185428, fromlist=0xe78e0) at import.c:1489
#7  0x48dd8 in builtin___import__ (self=0x0, args=0x185ba0) at
bltinmodule.c:65
#8  0x1e1d4 in call_builtin (func=0xb45b0, arg=0x185ba0, kw=0x0) at
ceval.c:2359
#9  0x1e0a0 in PyEval_CallObjectWithKeywords (func=0xb45b0,
arg=0x185ba0, kw=0x0) at ceval.c:2324
#10 0x1c574 in eval_code2 (co=0x1a2570, globals=0x0, locals=0x185428,
args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0,
owner=0x0)
at ceval.c:1445
#11 0x1a390 in PyEval_EvalCode (co=0x1a2570, globals=0x185428,
locals=0x185428) at ceval.c:324
#12 0x26210 in PyImport_ExecCodeModuleEx (name=0xefff42c0
"ZPublisher.BaseRequest", co=0x1a2570,
pathname=0xefff38e0
"/home/michele/Projects/Zope-2.2.1-src/lib/python/ZPublisher/BaseRequest.pyc")
at import.c:485
#13 0x26744 in load_source_module (name=0xefff42c0
"ZPublisher.BaseRequest",
pathname=0xefff38e0
"/home/michele/Projects/Zope-2.2.1-src/lib/python/ZPublisher/BaseRequest.pyc",
fp=0x1a2570) at import.c:724
#14 0x26eb4 in load_module (name=0xefff42c0 "ZPublisher.BaseRequest",
fp=0xb2fb0,
buf=0xefff3dd0
"/home/michele/Projects/Zope-2.2.1-src/lib/python/ZPublisher/BaseRequest.py",
type=1) at import.c:1202
#15 0x27cf0 in import_submodule (mod=0xe6100, subname=0xefff42cb
"BaseRequest", fullname=0xefff42c0 "ZPublisher.BaseRequest") at
import.c:1755
#16 0x2781c in load_next (mod=0xe6100, altmod=0x9f1dc,
p_name=0xefff42cb, buf=0xefff42c0 "ZPublisher.BaseRequest",
p_buflen=0xefff42bc) at import.c:1603
[...]



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




RE: [Zope] Zope 2.2.1 Solaris 8 dumps core

2000-09-07 Thread Brian Lloyd

 I've downloaded the src of Zope 2.2.1 on my UltraSparc running Solaris
 8, built it ok, but when I try run ./start it it dumps core with a
 segmentation fault.
 Is this problem known? Anything I can do?
 I am completely new to both Python and Zope ...

I don't know of any problems inherent to running on Sol8. 
It seems like maybe it could have something to do with 
your Python installation. One way you could test that is 
to cd to the lib/python dir of your Zope installation, 
start your local Python interpreter and try:

import ExtensionClass



Brian Lloyd[EMAIL PROTECTED]
Software Engineer  540.371.6909
Digital Creations  www.digicool.com

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




Re: [Zope] Zope 2.2.1 Solaris 8 dumps core

2000-09-07 Thread Fredrik Aronsson

Hello!

I've had a similar problem, with Zope coredumping, but since I recompiled 
python using the same compiler that I compiled Zope with, Zope works 
correct.

/Fredrik Aronsson

(I've included the smallest script I could find that dumped core. If it
dumps core for you too, perhaps you have the same problem.)

#!/usr/local/bin/python -u
import sys
sys.path.append('/www/zope/lib/python')

print "Content-type: text/plain"
print
print "Everything OK!"

import ExtensionClass

print "Still ok!"





 
 Hi
 
 I've downloaded the src of Zope 2.2.1 on my UltraSparc running Solaris
 8, built it ok, but when I try run ./start it it dumps core with a
 segmentation fault.
 Is this problem known? Anything I can do?
 I am completely new to both Python and Zope ...
 
 
 Thanks
   Michele
 


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