[Zope-DB] Re: Formulator issue with Z Search Interface (Was: Form
evaluation in ZSQL-Method)
Andreas Tille
tillea at rki.de
Thu Sep 25 01:34:04 EDT 2003
On Thu, 25 Sep 2003, Dieter Maurer wrote:
> *Whenever* you report an error (it doesn't matter whether to this
> or the Formulator list) you *must* include the traceback.
> Otherwise, it becomes much more difficult to help you.
Right - I hope I will learn this lesson. Please see below.
Kind regards
Andreas.
Exception traceback
Time 2003/09/25 07:29:34.897 GMT+2
User Name (User Id) tillea (tillea)
Request URL http://wr-linux02.rki.ivbb.bund.de:9673/Test/adr-debug_Form/report.html
Exception Type NameError
Exception Value global name 'field_iditem' is not defined
Traceback (innermost last):
* Module ZPublisher.Publish, line 98, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 39, in call_object
* Module Shared.DC.Scripts.Bindings, line 252, in __call__
* Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
* Module Products.PageTemplates.ZopePageTemplate, line 228, in _exec
* Module Products.PageTemplates.PageTemplate, line 95, in pt_render
<ZopePageTemplate at /Test/adr-debug_Form/report.html>
* Module TAL.TALInterpreter, line 200, in __call__
* Module TAL.TALInterpreter, line 244, in interpret
* Module TAL.TALInterpreter, line 473, in do_setLocal_tal
* Module Products.PageTemplates.TALES, line 217, in evaluate
URL: /Test/adr-debug_Form/report.html
Line 3, Column 2
Expression: standard:'here/test'
Names:
{'container': <Folder instance at 93720b0>,
'default': <Products.PageTemplates.TALES.Default instance at 0x86c1d44>,
'here': <Folder instance at 93720b0>,
'loop': <SafeMapping instance at 9a343d0>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x86bdadc>,
'nothing': None,
'options': {'args': ()},
'repeat': <SafeMapping instance at 9a343d0>,
'request': <HTTPRequest, URL=http://wr-linux02.rki.ivbb.bund.de:9673/Test/adr-debug_Form/report.html>,
'root': <Application instance at 8ea41d0>,
'template': <ZopePageTemplate at /Test/adr-debug_Form/report.html>,
'traverse_subpath': [],
'user': tillea}
* Module Products.PageTemplates.Expressions, line 206, in __call__
* Module Products.PageTemplates.Expressions, line 201, in _eval
* Module Products.PageTemplates.Expressions, line 108, in render
* Module Shared.DC.ZRDB.DA, line 415, in __call__
* Module DocumentTemplate.DT_String, line 474, in __call__
* Module Shared.DC.ZRDB.sqlgroup, line 101, in render
__traceback_info__: sqlgroup
* Module DocumentTemplate.DT_String, line 474, in __call__
* Module DocumentTemplate.DT_Util, line 201, in eval
__traceback_info__: field_iditem
* Module <string>, line 2, in f
NameError: global name 'field_iditem' is not defined
Display traceback as text
REQUEST
form
start 20
cookies
__cp 'x%DA%D3%60b%60%60%C8%04b%86hF%20%A1%C1%0A%24%8AA%DCb%16%20%11%92Z%5CR%CC%07d%24%A6%14%E9%BA%E5%17%E5%96%E6%24%96%E4%17%15%83Te%E6%15%94%96%14s%03Y%E9E%A5%05%05%A9%29%89%25%A5%B9%00%F8%D2%11%8B'
tree-s 'eJyLjlZ3hANPW3UdhWhkkUhb9VggAAC9GAn5'
lazy items
SESSION <bound method SessionDataManager.getSessionData of <SessionDataManager instance at 8ea45a0>>
other
AUTHENTICATION_PATH ''
AcceptCharset <Products.Localizer.Accept.AcceptCharset instance at 0x9b9ff74>
AcceptLanguage <Products.Localizer.Accept.AcceptLanguage instance at 0x8ed5ec4>
PUBLISHED <ZopePageTemplate at /Test/adr-debug_Form/report.html>
traverse_subpath []
SERVER_URL 'http://wr-linux02.rki.ivbb.bund.de:9673'
USER_PREF_LANGUAGES <Products.Localizer.Accept.AcceptLanguage instance at 0x8ed5ec4>
AUTHENTICATED_USER tillea
URL 'http://wr-linux02.rki.ivbb.bund.de:9673/Test/adr-debug_Form/report.html'
TraversalRequestNameStack []
URL0 http://wr-linux02.rki.ivbb.bund.de:9673/Test/adr-debug_Form/report.html
URL1 http://wr-linux02.rki.ivbb.bund.de:9673/Test/adr-debug_Form
URL2 http://wr-linux02.rki.ivbb.bund.de:9673/Test
URL3 http://wr-linux02.rki.ivbb.bund.de:9673
BASE0 http://wr-linux02.rki.ivbb.bund.de:9673
BASE1 http://wr-linux02.rki.ivbb.bund.de:9673
BASE2 http://wr-linux02.rki.ivbb.bund.de:9673/Test
BASE3 http://wr-linux02.rki.ivbb.bund.de:9673/Test/adr-debug_Form
BASE4 http://wr-linux02.rki.ivbb.bund.de:9673/Test/adr-debug_Form/report.html
environ
SCRIPT_NAME ''
HTTP_ACCEPT_ENCODING 'gzip, deflate, compress;q=0.9'
SERVER_PORT '9673'
PATH_TRANSLATED '/Test/adr-debug_Form/report.html'
HTTP_ACCEPT 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1'
GATEWAY_INTERFACE 'CGI/1.1'
HTTP_ACCEPT_LANGUAGE 'de, en;q=0.50'
REMOTE_ADDR '10.15.140.59'
SERVER_NAME 'wr-linux02'
SOFTWARE_HOME '/usr/lib/zope/lib/python'
HTTP_USER_AGENT 'Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020623 Debian/1.2.5-0.woody.1'
HTTP_ACCEPT_CHARSET 'ISO-8859-1, utf-8;q=0.66, *;q=0.66'
CONNECTION_TYPE 'keep-alive'
channel.creation_time 1064467530
QUERY_STRING '&start:int=20'
SERVER_PROTOCOL 'HTTP/1.1'
HTTP_KEEP_ALIVE '300'
HTTP_HOST 'wr-linux02.rki.ivbb.bund.de:9673'
REQUEST_METHOD 'GET'
PATH_INFO '/Test/adr-debug_Form/report.html'
SERVER_SOFTWARE 'Zope/(unreleased version, python 2.1.3, linux2) ZServer/1.1b1'
HTTP_COOKIE '__cp="x%DA%D3%60b%60%60%C8%04b%86hF%20%A1%C1%0A%24%8AA%DCb%16%20%11%92Z%5CR%CC%07d%24%A6%14%E9%BA%E5%17%E5%96%E6%24%96%E4%17%15%83Te%E6%15%94%96%14s%03Y%E9E%A5%05%05%A9%29%89%25%A5%B9%00%F8%D2%11%8B"; tree-s="eJyLjlZ3hANPW3UdhWhkkUhb9VggAAC9GAn5"'
INSTANCE_HOME '/var/lib/zope/instance/default'
HTTP_REFERER 'http://wr-linux02.rki.ivbb.bund.de:9673/Test/adr-debug_Form/report.html'
More information about the Zope-DB
mailing list