[Zope-CMF] Problem with portal catalog.

Paul Naveen Raj Jeyaraj Paul_Jeyaraj@infosys.com
Thu, 6 Mar 2003 11:17:35 +0530


This is the traceback I am getting.

Traceback (innermost last):
  File D:\WebSite\lib\python\ZPublisher\Publish.py, line 150, in
publish_module
  File D:\WebSite\lib\python\ZPublisher\Publish.py, line 114, in publish
  File D:\WebSite\lib\python\Zope\__init__.py, line 159, in
zpublisher_exception_hook
    (Object: Zope)
  File D:\WebSite\lib\python\ZPublisher\Publish.py, line 89, in publish
  File D:\WebSite\lib\python\ZPublisher\BaseRequest.py, line 278, in
traverse
  File D:\WebSite\lib\python\OFS\Application.py, line 102, in
__bobo_traverse__
    (Object: Zope)
  File D:\WebSite\lib\python\ZPublisher\HTTPResponse.py, line 492, in
notFoundError
NotFound: (see above)

Error:

  Site Error
  An error was encountered while publishing this resource.
  Resource not found
 =20
  Sorry, the requested resource does not exist.Check the URL and try
again.
Resource: error GET
 =20
  Troubleshooting Suggestions

  The URL may be incorrect.
  The parameters passed to this resource may be incorrect.
  A resource that this resource relies on may be encountering an error.
 =20

  For more detailed information about the error, please
  refer to the HTML source for this page.
 =20

  If the error persists please contact the site maintainer.
  Thank you for your patience.

Thanks and regards,
Paul.

-----Original Message-----
From: Troy Farrell [mailto:troy@entheossoft.com]=20
Sent: Thursday, March 06, 2003 9:25 AM
To: Paul Naveen Raj Jeyaraj; Zope-CMF List
Subject: Re: [Zope-CMF] Problem with portal catalog.


Ok, so you don't have any custom code.  What traceback are you getting?=20
  A traceback looks like this:


Traceback (innermost last):
   File /home/entheos/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py,=20
line 150, in publish_module
   File /home/entheos/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py,=20
line 114, in publish
   File /home/entheos/Zope-2.5.1-src/lib/python/Zope/__init__.py, line=20
159, in zpublisher_exception_hook
     (Object: conf)
   File /home/entheos/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py,=20
line 98, in publish
   File /home/entheos/Zope-2.5.1-src/lib/python/ZPublisher/mapply.py,=20
line 88, in mapply
     (Object: index_html)
   File /home/entheos/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py,=20
line 39, in call_object
     (Object: index_html)
   File=20
/home/entheos/Zope-2.5.1-src/lib/python/Shared/DC/Scripts/Bindings.py,=20
line 252, in __call__
     (Object: index_html)
   File=20
/home/entheos/Zope-2.5.1-src/lib/python/Shared/DC/Scripts/Bindings.py,=20
line 283, in _bindAndExec
     (Object: index_html)
   File=20
/home/entheos/Zope-2.5.1-src/lib/python/Products/PageTemplates/ZopePageT
emplate.py,=20
line 210, in _exec
     (Object: index_html)
   File=20
/home/entheos/Zope-2.5.1-src/lib/python/Products/PageTemplates/PageTempl
ate.py,=20
line 86, in pt_render
     (Object: index_html)
   File /home/entheos/Zope-2.5.1-src/lib/python/TAL/TALInterpreter.py,=20
line 158, in __call__
   File /home/entheos/Zope-2.5.1-src/lib/python/TAL/TALInterpreter.py,=20
line 191, in interpret
   File /home/entheos/Zope-2.5.1-src/lib/python/TAL/TALInterpreter.py,=20
line 510, in do_useMacro
   File=20
/home/entheos/Zope-2.5.1-src/lib/python/Products/PageTemplates/TALES.py,

line 247, in evaluate
   File=20
/home/entheos/Zope-2.5.1-src/lib/python/Products/PageTemplates/Expressio
ns.py,=20
line 198, in __call__
   File=20
/home/entheos/Zope-2.5.1-src/lib/python/Products/PageTemplates/Expressio
ns.py,=20
line 188, in _eval
Undefined: (see above)

You may have to view the document source to find it.  Please send us the

traceback and error message you are getting so we can help you.

Thanks.
Troy

Paul Naveen Raj Jeyaraj wrote:
> Hi,
>=20
> I didn't write any code of my own. I was just trying to catalog 'File'

> objects through 'Find Objects' tab in portal_catalog. I want to=20
> catalog all files under my local file system instance. What would be=20
> the better solution for this requirement? Thank you.
>=20
> Regards,
> Paul.
>=20
> -----Original Message-----
> From: Troy Farrell [mailto:troy@entheossoft.com]
> Sent: Wednesday, March 05, 2003 10:22 PM
> To: Paul Naveen Raj Jeyaraj; Zope-CMF List
> Subject: Re: [Zope-CMF] Problem with portal catalog.
>=20
>=20
> Paul, before we can help you, we need a traceback.  If the script
> causing the problem is custom code, it wouldn't hurt to include the=20
> source of the offending code either. :)
>=20
> Troy
>=20
> Paul Naveen Raj Jeyaraj wrote:
>=20
>>Hi,
>>=20
>>I have a local file system object in my CMF portal. The LFS instance
>>is
>>accessing a shared folder residing in some remote server. Now, when I=20
>>try to find objects of type 'File', I am not able to succeed. Its=20
>>throwing an error. Have I done anything wrong? How do I go about?=20
>>Actually I need to catalog all my files under LFS instance in=20
>>portal_catalog. Please help. Thank you.
>>=20
>>Regards,
>>Paul.