[Zope] Re: Fast Site Search -: Error Type: AttributeError Error Value: hasproperty
Hamzat Kamal
k_hamzat@yahoo.com
Tue, 7 Jan 2003 00:00:17 -0800 (PST)
--- Ioan Coman <ioan2k@yahoo.com> wrote:
> I am using Zope 2.5.0 and it works fine!
> Zope 2.6 is strange and not so good as it should!
>
> I think you use Zope 2.6!
> Tell me more!
> Ioan.
----
Thanks for your quick response I am most grateful.
Presently I am trying it out on this system
(Zope 2.4.0 (binary release, python 2.1, win32-x86), python 2.1.0, win32)
Then I intend to finally use it on Zope 2.5.1 running on Redhat Linux for
my life websites.
Regards.
> --- Hamzat Kamal <k_hamzat@yahoo.com> wrote:
> > Compliments,
> >
> > I was implementing a Fast site search written by
> > Ioan and was having this
> > when trying to search for a word.
> >
> > Traceback (innermost last):
> > File C:\Program
> > Files\WebSite\lib\python\ZPublisher\Publish.py, line
> > 223, in publish_module
> > File C:\Program
> > Files\WebSite\lib\python\ZPublisher\Publish.py, line
> > 187, in publish
> > File C:\Program
> > Files\WebSite\lib\python\Zope\__init__.py, line 226,
> > in
> > zpublisher_exception_hook
> > (Object: LockableItem)
> > File C:\Program
> > Files\WebSite\lib\python\ZPublisher\Publish.py, line
> > 171, in publish
> > File C:\Program
> > Files\WebSite\lib\python\ZPublisher\mapply.py, line
> > 160,
> > in mapply
> > (Object: search)
> > File C:\Program
> > Files\WebSite\lib\python\ZPublisher\Publish.py, line
> > 112, in call_object
> > (Object: search)
> > File C:\Program
> > Files\WebSite\lib\python\OFS\DTMLDocument.py, line
> > 199,
> > in __call__
> > (Object: search)
> > File C:\Program
> >
> Files\WebSite\lib\python\DocumentTemplate\DT_String.py,
> > line 544, in __call__
> > (Object: search)
> > File C:\Program
> >
> Files\WebSite\lib\python\DocumentTemplate\DT_Util.py,
> > line 230, in eval
> > (Object:
> >
> REQUEST.set('results',scr.fast_site_search(PARENTS[-1],search_expr,0)))
> > (Info: REQUEST)
> > File <string>, line 2, in f
> > (Object: guarded_getitem)
> > File C:\Program
> >
> Files\WebSite\lib\python\Products\ExternalMethod\ExternalMethod.py,
> > line
> > 274, in __call__
> > (Object: fast_site_search)
> > (Info: ((<Application instance at 02041A00>,
> > 'editorial', 0), {}, ('',
> > 0)))
> > File C:\Program
> > Files\WebSite\Extensions\site_search.py, line 25, in
> > fast_site_search
> > (Object: ApplicationDefaultPermissions)
> > AttributeError: (see above)
> >
> > What can I be doing wrong.
> >
> > Best Regards.
> >
> > =====
> > Hamzat kamaldeen Ishola Dnet Systems Limited. 223
> > Ikorodu Road, Lagos. Nigeria. 234 1 7749381, 234
> > 08033011305 --- If Mistake is an opportunity to see
> > better, then do not fear it, but ready to admit it.
> > NOTE: Sentimental decisions are not mistakes but
> > failures !!!
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Mail Plus - Powerful. Affordable. Sign up
> > now.
> > http://mailplus.yahoo.com
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
=====
Hamzat kamaldeen Ishola Dnet Systems Limited. 223 Ikorodu Road, Lagos. Nigeria. 234 1 7749381, 234 08033011305 --- If Mistake is an opportunity to see better, then do not fear it, but ready to admit it. NOTE: Sentimental decisions are not mistakes but failures !!!
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com