[Zope-dev] Zope-beta failure on OSF/Alpha

Thomas Weiner weiner@tu-harburg.de
Thu, 11 Nov 1999 20:01:16 +0100


Gilles lavaux schrieb:

[...]
> 
> For Zope itself, a lot of things works on 64bits, ZODB ,DA , ftp access,
> http,etc.. The only2 problems I have seen is the failure during a posting of
> article in confera/sqhisdot:

[traceback snipped]

> 
> If someone doesn't have this confera error on RedHat 6.0/digital alpha linux
> 2-2.5-16/python1.5.2, please let me know.


hmmm, on NT 4 I had a similiar error with confera postings after porting
confera topics from 1.10.3 to 2.1 (this affected only ported topics).

Here the traceback I had:
<!--
 Error type:  AttributeError
 Error value: call_methods
 -->

Traceback (innermost last):
  File D:\PROGRA~1\Zope2-0\lib\python\ZPublisher\Publish.py, line 214,
in publish_module
  File D:\PROGRA~1\Zope2-0\lib\python\ZPublisher\Publish.py, line 179,
in publish
  File D:\PROGRA~1\Zope2-0\lib\python\Zope\__init__.py, line 201, in
zpublisher_exception_hook
    (Object: ElementWithAttributes)
  File D:\PROGRA~1\Zope2-0\lib\python\ZPublisher\Publish.py, line 165,
in publish
  File D:\PROGRA~1\Zope2-0\lib\python\ZPublisher\mapply.py, line 160, in
mapply
    (Object: addMessage)
  File D:\PROGRA~1\Zope2-0\lib\python\ZPublisher\Publish.py, line 102,
in call_object
    (Object: addMessage)
  File D:\Programme\Zope2-0\lib\python\Products\Confera\Confera.py, line
309, in addMessage
    (Object: ElementWithAttributes)
  File D:\Programme\Zope2-0\lib\python\Products\Confera\Confera.py, line
195, in setItem
    (Object: ElementWithAttributes)
  File D:\PROGRA~1\Zope2-0\lib\python\SearchIndex\Index.py, line 222, in
index_item
AttributeError: (see above)

I have no clue, if this is the same error, due to the fact, that your
traceback stopped in the line before the last line

I fixed it by changing Index.py in line 222:

try:	#new .. prevent confera error with addmessage in 1.10.3 topics
	if self.call_methods:
        	k=k()			
except:
	pass

quite simple .. but this helped in my case.

hth,
thomas

-- 
fon: ++49 (0)40 42878 3781
fax: ++49 (0)40 42878 2728