[Zope] type error / issue dealer

Andreas Jung lists at andreas-jung.com
Fri Mar 10 06:08:34 EST 2006


Why don't you report such bugs direcctly to the author of the program?
Developers hate fishing bug reports from lots of list instead of receiving 
a report directly. I have really no idea why people don't follow the direct 
way?

-aj

--On 10. März 2006 12:04:59 +0100 Einar Næss Jensen 
<einar.nass.jensen at gmail.com> wrote:

> having trouble understanding this error.
> what does unsubscriptable mean?
> is it due to insufficent rights?
>
> Error Type: TypeError
> Error Value: unsubscriptable object
>
> Time      2006/03/10 11:40:23.001 GMT+1
> User Name (User Id)     einar (einar)
> Request URL     http://host.name:8080/xxx/logging2/search
> Exception Type     TypeError
> Exception Value     unsubscriptable object
>
> Traceback (innermost last):
>
>     * Module ZPublisher.Publish, line 100, in publish
>     * Module ZPublisher.mapply, line 88, in mapply
>     * Module ZPublisher.Publish, line 40, in call_object
>     * Module Shared.DC.Scripts.Bindings, line 261, in __call__
>     * Module Shared.DC.Scripts.Bindings, line 292, in _bindAndExec
>     * Module Products.PageTemplates.PageTemplateFile, line 106, in _exec
>     * Module Products.PageTemplates.PageTemplate , line 96, in pt_render
>       <PageTemplateFile at /xxx/logging2/search>
>     * Module TAL.TALInterpreter, line 189, in __call__
>     * Module TAL.TALInterpreter, line 233, in interpret
>     * Module TAL.TALInterpreter , line 642, in do_defineMacro
>     * Module TAL.TALInterpreter, line 233, in interpret
>     * Module TAL.TALInterpreter, line 408, in do_optTag_tal
>     * Module TAL.TALInterpreter, line 393, in do_optTag
>     * Module TAL.TALInterpreter, line 388, in no_tag
>     * Module TAL.TALInterpreter, line 233, in interpret
>     * Module TAL.TALInterpreter, line 605, in do_loop_tal
>     * Module TAL.TALInterpreter, line 233, in interpret
>     * Module TAL.TALInterpreter, line 408, in do_optTag_tal
>     * Module TAL.TALInterpreter, line 393, in do_optTag
>     * Module TAL.TALInterpreter, line 388, in no_tag
>     * Module TAL.TALInterpreter, line 233, in interpret
>     * Module TAL.TALInterpreter, line 483, in do_insertText_tal
>     * Module Products.PageTemplates.TALES, line 226, in evaluateText
>     * Module Products.PageTemplateissue dealers.TALES, line 220, in
> evaluate       URL: search
>       Line 96, Column 1
>       Expression: <PythonExpr item.render_contents_as_text[:200]>
>       Names:
>
>       {'container': <issue_dealer instance at 41743050>,
>        'context': <issue_dealer instance at 41743050>,
>        'default': <Products.PageTemplates.TALES.Default instance at
> 0x4088348c>,
>        'here': <issue_dealer instance at 41743050>,
>        'loop': <SafeMapping instance at 411aa650>,
>        'modules': <
> Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at
> 0x4088330c>,
>        'nothing': None,
>        'options': {'args': ()},
>        'repeat': <SafeMapping instance at 411aa650>,
>        'request': <HTTPRequest, URL=
> http://host.name:8080/xxx/logging2/search>,
>        'root': <Application instance at 415676e0>,
>        'template': <PageTemplateFile at /xxx/logging2/search>,
>        'traverse_subpath': [],
>        'user': einar}
>
>     * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
>       __traceback_info__: item.render_contents_as_text[:200]
>     * Module Python expression " item.render_contents_as_text[:200]", line
> 1, in <expression>
>     * Module AccessControl.ZopeGuards, line 64, in guarded_getitem
>
> TypeError: unsubscriptable object
>
> --
> --
> Einar Næss Jensen
> http://einar.nidelven-it.no/einarblog
> http://www.homemade.no
> tlf: +47 90990249
> (\__/)
> (='.'=)This is Bunny. Copy and paste bunny into your
> (")_(")signature to help him gain world domination.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20060310/7b0a4c99/attachment-0001.bin


More information about the Zope mailing list