[Zope-CMF] Search
Info@sjeems.nl
info@sjeems.nl
Mon, 2 Apr 2001 18:07:47 +0200
This is a multi-part message in MIME format.
------=_NextPart_000_0036_01C0BB9F.D2F8F8A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello can someone help me?
I've setup my CMF portal and everything works fine except for the search =
parts.
If I search with the search form I get this error:
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: IOError
Error Value: [Errno 22] Invalid argument
If I search using the searchbox (and shouldn't get any results) in the =
top bar I get this error:
Zope Error
Zope has encountered an error while publishing this resource.=20
TypeError
Sorry, a Zope error occurred.=20
Traceback (innermost last):
File C:\Program Files\james\lib\python\ZPublisher\Publish.py, line =
223, in publish_module
File C:\Program Files\james\lib\python\ZPublisher\Publish.py, line =
187, in publish
File C:\Program Files\james\lib\python\Zope\__init__.py, line 221, in =
zpublisher_exception_hook
(Object: Traversable)
File C:\Program Files\james\lib\python\ZPublisher\Publish.py, line =
171, in publish
File C:\Program Files\james\lib\python\ZPublisher\mapply.py, line 160, =
in mapply
(Object: search)
File C:\Program Files\james\lib\python\ZPublisher\Publish.py, line =
112, in call_object
(Object: search)
File C:\Program =
Files\james\lib\python\Products\CMFCore\FSDTMLMethod.py, line 218, in =
__call__
(Object: search)
File C:\Program Files\james\lib\python\DocumentTemplate\DT_String.py, =
line 538, in __call__
(Object: search)
File C:\Program Files\james\lib\python\OFS\DTMLMethod.py, line 182, in =
__call__
(Object: standard_html_header)
File C:\Program Files\james\lib\python\DocumentTemplate\DT_String.py, =
line 538, in __call__
(Object: standard_html_header)
File C:\Program Files\james\lib\python\OFS\DTMLMethod.py, line 182, in =
__call__
(Object: actions_box)
File C:\Program Files\james\lib\python\DocumentTemplate\DT_String.py, =
line 538, in __call__
(Object: actions_box)
File C:\Program Files\james\lib\python\DocumentTemplate\DT_Let.py, =
line 146, in render
(Object: isAnon=3D"portal_membership.isAnonymousUser()"
AuthClass=3D"isAnon and 'GuestActions' or 'MemberActions'"
uname=3D"isAnon and 'Guest'
or =
portal_membership.getAuthenticatedMember().getUserName()"
obj=3D"this()"
actions=3D"portal_actions.listFilteredActionsFor(obj)"
user_actions=3D"actions['user']"
folder_actions=3D"actions['folder']"
object_actions=3D"actions['object'] + actions['workflow']"
global_actions=3D"actions['global']")
File C:\Program Files\james\lib\python\DocumentTemplate\DT_Util.py, =
line 334, in eval
(Object: portal_actions.listFilteredActionsFor(obj))
(Info: portal_actions)
File <string>, line 0, in ?
File C:\Program =
Files\james\lib\python\Products\CMFCore\ActionsTool.py, line 162, in =
listFilteredActionsFor
(Object: portal_actions)
File C:\Program =
Files\james\lib\python\Products\CMFCore\WorkflowTool.py, line 222, in =
listActions
(Object: portal_workflow)
File C:\Program =
Files\james\lib\python\Products\CMFCore\DefaultWorkflow.py, line 209, in =
listGlobalActions
File C:\Program =
Files\james\lib\python\Products\CMFCore\CatalogTool.py, line 200, in =
searchResults
(Object: Traversable)
File C:\Program Files\james\lib\python\Products\ZCatalog\ZCatalog.py, =
line 535, in searchResults
(Object: Traversable)
File C:\Program Files\james\lib\python\Products\ZCatalog\Catalog.py, =
line 651, in searchResults
File C:\Program Files\james\lib\python\Products\ZCatalog\Catalog.py, =
line 542, in _indexedSearch
File C:\Program Files\james\lib\python\SearchIndex\UnTextIndex.py, =
line 513, in _apply_index
File C:\Program Files\james\lib\python\SearchIndex\UnTextIndex.py, =
line 576, in query
File C:\Program Files\james\lib\python\SearchIndex\UnTextIndex.py, =
line 616, in evaluate
File C:\Program Files\james\lib\python\SearchIndex\UnTextIndex.py, =
line 448, in __getitem__
TypeError: expected integer key
Thanx,
James
------=_NextPart_000_0036_01C0BB9F.D2F8F8A0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DVerdana>Hello can someone help me?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DVerdana>I've setup my CMF portal and everything works =
fine=20
except for the search parts.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DVerdana>If I search with the search form I get this=20
error:</FONT></DIV>
<DIV> </DIV>
<DIV>
<H2><FONT face=3DVerdana size=3D2><EM>Zope Error</EM></FONT></H2>
<P><FONT face=3DVerdana size=3D2><EM>Zope has encountered an error while =
publishing=20
this resource.</EM></FONT></P>
<P><FONT face=3DVerdana size=3D2><EM>Error Type: IOError<BR>Error Value: =
[Errno 22]=20
Invalid argument</EM></FONT></P>
<P><FONT face=3DVerdana size=3D2></FONT> </P>
<P><FONT face=3DVerdana size=3D2>If I search using the searchbox (and =
shouldn't get=20
any results) in the top bar I get this error:</FONT></P><FONT =
face=3DVerdana=20
size=3D2>
<H2><EM>Zope Error</EM></H2>
<P><EM>Zope has encountered an error while publishing this resource. =
</EM></P>
<P><EM><STRONG>TypeError</STRONG></EM></P>
<P><EM>Sorry, a Zope error occurred. </EM></P>
<P><PRE><FONT size=3D2><EM>Traceback (innermost last):
File C:\Program Files\james\lib\python\ZPublisher\Publish.py, line =
223, in publish_module
File C:\Program Files\james\lib\python\ZPublisher\Publish.py, line =
187, in publish
File C:\Program Files\james\lib\python\Zope\__init__.py, line 221, in =
zpublisher_exception_hook
(Object: Traversable)
File C:\Program Files\james\lib\python\ZPublisher\Publish.py, line =
171, in publish
File C:\Program Files\james\lib\python\ZPublisher\mapply.py, line 160, =
in mapply
(Object: search)
File C:\Program Files\james\lib\python\ZPublisher\Publish.py, line =
112, in call_object
(Object: search)
File C:\Program =
Files\james\lib\python\Products\CMFCore\FSDTMLMethod.py, line 218, in =
__call__
(Object: search)
File C:\Program Files\james\lib\python\DocumentTemplate\DT_String.py, =
line 538, in __call__
(Object: search)
File C:\Program Files\james\lib\python\OFS\DTMLMethod.py, line 182, in =
__call__
(Object: standard_html_header)
File C:\Program Files\james\lib\python\DocumentTemplate\DT_String.py, =
line 538, in __call__
(Object: standard_html_header)
File C:\Program Files\james\lib\python\OFS\DTMLMethod.py, line 182, in =
__call__
(Object: actions_box)
File C:\Program Files\james\lib\python\DocumentTemplate\DT_String.py, =
line 538, in __call__
(Object: actions_box)
File C:\Program Files\james\lib\python\DocumentTemplate\DT_Let.py, =
line 146, in render
(Object: isAnon=3D"portal_membership.isAnonymousUser()"
AuthClass=3D"isAnon and 'GuestActions' or 'MemberActions'"
uname=3D"isAnon and 'Guest'
or =
portal_membership.getAuthenticatedMember().getUserName()"
obj=3D"this()"
actions=3D"portal_actions.listFilteredActionsFor(obj)"
user_actions=3D"actions['user']"
folder_actions=3D"actions['folder']"
object_actions=3D"actions['object'] + actions['workflow']"
global_actions=3D"actions['global']")
File C:\Program Files\james\lib\python\DocumentTemplate\DT_Util.py, =
line 334, in eval
(Object: portal_actions.listFilteredActionsFor(obj))
(Info: portal_actions)
File <string>, line 0, in ?
File C:\Program =
Files\james\lib\python\Products\CMFCore\ActionsTool.py, line 162, in =
listFilteredActionsFor
(Object: portal_actions)
File C:\Program =
Files\james\lib\python\Products\CMFCore\WorkflowTool.py, line 222, in =
listActions
(Object: portal_workflow)
File C:\Program =
Files\james\lib\python\Products\CMFCore\DefaultWorkflow.py, line 209, in =
listGlobalActions
File C:\Program =
Files\james\lib\python\Products\CMFCore\CatalogTool.py, line 200, in =
searchResults
(Object: Traversable)
File C:\Program Files\james\lib\python\Products\ZCatalog\ZCatalog.py, =
line 535, in searchResults
(Object: Traversable)
File C:\Program Files\james\lib\python\Products\ZCatalog\Catalog.py, =
line 651, in searchResults
File C:\Program Files\james\lib\python\Products\ZCatalog\Catalog.py, =
line 542, in _indexedSearch
File C:\Program Files\james\lib\python\SearchIndex\UnTextIndex.py, =
line 513, in _apply_index
File C:\Program Files\james\lib\python\SearchIndex\UnTextIndex.py, =
line 576, in query
File C:\Program Files\james\lib\python\SearchIndex\UnTextIndex.py, =
line 616, in evaluate
File C:\Program Files\james\lib\python\SearchIndex\UnTextIndex.py, =
line 448, in __getitem__
TypeError: expected integer key</EM>
</FONT></PRE></FONT>
<P><FONT face=3DVerdana size=3D2>Thanx,</FONT></P>
<P><FONT face=3DVerdana size=3D2>James</P></FONT></DIV></BODY></HTML>
------=_NextPart_000_0036_01C0BB9F.D2F8F8A0--