[Zope-PTK] problems publishing news...

Joerg Lehmann joerg@luga.de
Wed, 21 Mar 2001 20:06:15 +0100


Hi Larry,

On 21.03.01, Larry Prikockis wrote:
> sorry about the "stupid" newbie question, but I'm obviously doing something
> wrong, and 2 days of reading and re-reading various Zope/CMF documents
> hasn't set me straight.
> 
> Here's the deal-- I installed Zope 2.3.1b2 from the binary tarball.  I'm
> running it on Linux Mandrake 7.2 (I know, I know... I'd probably be having
> fewer problems on Redhat or Debian or something...)
> I downloaded the latest CMF beta and put the proper files in the Products
> directory.  
> 
> For the most part, everything works just fine... I'm *very* impressed with
> the potential of this piece of work.  However, when I try to create a News
> item, and then publish it, I get the following error when I try to view it
> from the main page:
> 
> Error Type: TypeError
> Error Value: call of non-function (type IOBTree)

This is an error in Zope 2.3.1b2. Just replace
	return self._unindex(id)
by 
	return self._unindex[id]
in line 443 of lib/python/SearchIndex/UnIndex.py . 

Greetings,

	Joerg