[Zope3-Users] How do I learn how to use Zope?

Edward Zwart ed.zwart at softserv.ca
Tue Jun 16 01:13:52 EDT 2009


On Mon, Jun 15, 2009 at 8:51 PM, Andreas Jung<lists at zopyx.com> wrote:
> Consider starting with GROK.

ugh.

> A full traceback is always helpfull.

But of course... my bad.  I think I was legally insane by the end of
that last msg...  I'm better now.  :)  In my template, i have...

<div tal:content="view/render">form goes here?</div>

debug output is:

URL: c:\softserv\clients\ecmg\bw\src\bw\browser\client_display.pt
File 'C:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\paste-1.7.2-py2.4.egg\\paste\\evalexception\\middleware.py',
line 306 in respond
  app_iter = self.application(environ, detect_start_response)
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.app.wsgi-3.4.1-py2.4.egg\\zope\\app\\wsgi\\__init__.py',
line 54 in __call__
  request = publish(request, handle_errors=handle_errors)
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.publisher-3.4.6-py2.4.egg\\zope\\publisher\\publish.py',
line 133 in publish
  result = publication.callObject(request, obj)
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.app.publication-3.4.3-py2.4.egg\\zope\\app\\publication\\zopepublication.py',
line 167 in callObject
  return mapply(ob, request.getPositionalArguments(), request)
<security proxied z3c.pagelet.zcml.ClientDisplayForm instance at 0x048001D0>
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.publisher-3.4.6-py2.4.egg\\zope\\publisher\\publish.py',
line 108 in mapply
  return debug_call(obj, args)
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.publisher-3.4.6-py2.4.egg\\zope\\publisher\\publish.py',
line 114 in debug_call
  return obj(*args)
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\z3c.formui-1.4.2-py2.4.egg\\z3c\\formui\\layout.py',
line 34 in __call__
  return layout(self)
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.app.pagetemplate-3.4.1-py2.4.egg\\zope\\app\\pagetemplate\\viewpagetemplatefile.py',
line 51 in __call__
  sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.pagetemplate-3.4.0-py2.4.egg\\zope\\pagetemplate\\pagetemplate.py',
line 115 in pt_render
  strictinsert=0, sourceAnnotations=sourceAnnotations)()
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.tal-3.4.1-py2.4.egg\\zope\\tal\\talinterpreter.py',
line 271 in __call__
  self.interpret(self.program)
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.tal-3.4.1-py2.4.egg\\zope\\tal\\talinterpreter.py',
line 346 in interpret
  handlers[opcode](self, args)
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.tal-3.4.1-py2.4.egg\\zope\\tal\\talinterpreter.py',
line 745 in do_insertStructure_tal
  structure = self.engine.evaluateStructure(expr)
Line 23, Column 6
In expression: <StringExpr u'pagelet'>
   - Names:
      {'args': (),
       'context': <bw.client.client.Client object at 0x04451A90>,
       'default': <object object at 0x00B5C538>,
       'loop': {},
       'nothing': None,
       'options': {},
       'repeat': {},
       'request': <zope.publisher.browser.BrowserRequest instance
URL=http://localhost:7777/++skin++BW/anut-jemma/index.html>,
       'template':
<zope.app.pagetemplate.viewpagetemplatefile.ViewPageTemplateFile
object at 0x0253B950>,
       'view': <z3c.pagelet.zcml.ClientDisplayForm object at 0x048001D0>,
       'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper
object at 0x04873150>}
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.tales-3.4.0-py2.4.egg\\zope\\tales\\tales.py',
line 696 in evaluate
  return expression(self)
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.contentprovider-3.4.0-py2.4.egg\\zope\\contentprovider\\tales.py',
line 80 in __call__
  return provider.render()
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\z3c.pagelet-1.0.2-py2.4.egg\\z3c\\pagelet\\provider.py',
line 44 in render
  return self.__parent__.render()
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\z3c.formui-1.4.2-py2.4.egg\\z3c\\formui\\form.py',
line 45 in render
  return self.template()
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.app.pagetemplate-3.4.1-py2.4.egg\\zope\\app\\pagetemplate\\viewpagetemplatefile.py',
line 83 in __call__
  return self.im_func(im_self, *args, **kw)
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.app.pagetemplate-3.4.1-py2.4.egg\\zope\\app\\pagetemplate\\viewpagetemplatefile.py',
line 51 in __call__
  sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.pagetemplate-3.4.0-py2.4.egg\\zope\\pagetemplate\\pagetemplate.py',
line 115 in pt_render
  strictinsert=0, sourceAnnotations=sourceAnnotations)()
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.tal-3.4.1-py2.4.egg\\zope\\tal\\talinterpreter.py',
line 271 in __call__
  self.interpret(self.program)
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.tal-3.4.1-py2.4.egg\\zope\\tal\\talinterpreter.py',
line 346 in interpret
  handlers[opcode](self, args)
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.tal-3.4.1-py2.4.egg\\zope\\tal\\talinterpreter.py',
line 623 in do_insertText_tal
  text = self.engine.evaluateText(stuff[0])
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.tales-3.4.0-py2.4.egg\\zope\\tales\\tales.py',
line 704 in evaluateText
  text = self.evaluate(expr)
Line 8
In expression: <PathExpr standard:u'view/render'>
   - Names:
      {'args': (),
       'context': <bw.client.client.Client object at 0x04451A90>,
       'default': <object object at 0x00B5C538>,
       'loop': {},
       'nothing': None,
       'options': {},
       'repeat': {},
       'request': <zope.publisher.browser.BrowserRequest instance
URL=http://localhost:7777/++skin++BW/anut-jemma/index.html>,
       'template':
<zope.app.pagetemplate.viewpagetemplatefile.ViewPageTemplateFile
object at 0x02573110>,
       'view': <z3c.pagelet.zcml.ClientDisplayForm object at 0x048001D0>,
       'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper
object at 0x046EB6D0>}
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.tales-3.4.0-py2.4.egg\\zope\\tales\\tales.py',
line 696 in evaluate
  return expression(self)
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.tales-3.4.0-py2.4.egg\\zope\\tales\\expressions.py',
line 217 in __call__
  return self._eval(econtext)
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.tales-3.4.0-py2.4.egg\\zope\\tales\\expressions.py',
line 211 in _eval
  return ob()
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\z3c.formui-1.4.2-py2.4.egg\\z3c\\formui\\form.py',
line 45 in render
  return self.template()
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.app.pagetemplate-3.4.1-py2.4.egg\\zope\\app\\pagetemplate\\viewpagetemplatefile.py',
line 83 in __call__
  return self.im_func(im_self, *args, **kw)
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.app.pagetemplate-3.4.1-py2.4.egg\\zope\\app\\pagetemplate\\viewpagetemplatefile.py',
line 51 in __call__
  sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.pagetemplate-3.4.0-py2.4.egg\\zope\\pagetemplate\\pagetemplate.py',
line 115 in pt_render
  strictinsert=0, sourceAnnotations=sourceAnnotations)()
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.tal-3.4.1-py2.4.egg\\zope\\tal\\talinterpreter.py',
line 271 in __call__
  self.interpret(self.program)
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.tal-3.4.1-py2.4.egg\\zope\\tal\\talinterpreter.py',
line 346 in interpret
  handlers[opcode](self, args)
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.tal-3.4.1-py2.4.egg\\zope\\tal\\talinterpreter.py',
line 623 in do_insertText_tal
  text = self.engine.evaluateText(stuff[0])
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.tales-3.4.0-py2.4.egg\\zope\\tales\\tales.py',
line 704 in evaluateText
  text = self.evaluate(expr)
Line 8
In expression: <PathExpr standard:u'view/render'>
   - Names:
      {'args': (),
       'context': <bw.client.client.Client object at 0x04451A90>,
       'default': <object object at 0x00B5C538>,
       'loop': {},
       'nothing': None,
       'options': {},
       'repeat': {},
       'request': <zope.publisher.browser.BrowserRequest instance
URL=http://localhost:7777/++skin++BW/anut-jemma/index.html>,
       'template':
<zope.app.pagetemplate.viewpagetemplatefile.ViewPageTemplateFile
object at 0x02573110>,
       'view': <z3c.pagelet.zcml.ClientDisplayForm object at 0x048001D0>,
       'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper
object at 0x046EBF30>}
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.tales-3.4.0-py2.4.egg\\zope\\tales\\tales.py',
line 696 in evaluate
  return expression(self)
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.tales-3.4.0-py2.4.egg\\zope\\tales\\expressions.py',
line 217 in __call__
  return self._eval(econtext)
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.tales-3.4.0-py2.4.egg\\zope\\tales\\expressions.py',
line 211 in _eval
  return ob()
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\z3c.formui-1.4.2-py2.4.egg\\z3c\\formui\\form.py',
line 45 in render
  return self.template()
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.app.pagetemplate-3.4.1-py2.4.egg\\zope\\app\\pagetemplate\\viewpagetemplatefile.py',
line 83 in __call__
  return self.im_func(im_self, *args, **kw)
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.app.pagetemplate-3.4.1-py2.4.egg\\zope\\app\\pagetemplate\\viewpagetemplatefile.py',
line 51 in __call__
  sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.pagetemplate-3.4.0-py2.4.egg\\zope\\pagetemplate\\pagetemplate.py',
line 115 in pt_render
  strictinsert=0, sourceAnnotations=sourceAnnotations)()
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.tal-3.4.1-py2.4.egg\\zope\\tal\\talinterpreter.py',
line 271 in __call__
  self.interpret(self.program)
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.tal-3.4.1-py2.4.egg\\zope\\tal\\talinterpreter.py',
line 346 in interpret
  handlers[opcode](self, args)
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.tal-3.4.1-py2.4.egg\\zope\\tal\\talinterpreter.py',
line 623 in do_insertText_tal
  text = self.engine.evaluateText(stuff[0])
File 'c:\\softserv\\applications\\cygwin\\home\\ed\\buildout-eggs\\zope.tales-3.4.0-py2.4.egg\\zope\\tales\\tales.py',
line 704 in evaluateText
  text = self.evaluate(expr)
Line 8
In expression: <PathExpr standard:u'view/render'>
   - Names:
      {'args': (),
       'context': <bw.client.client.Client object at 0x04451A90>,
       'default': <object object at 0x00B5C538>,
       'loop': {},
       'nothing': None,
       'options': {},
       'repeat': {},
       'request': <zope.publisher.browser.BrowserRequest instance
URL=http://localhost:7777/++skin++BW/anut-jemma/index.html>,
       'template':
<zope.app.pagetemplate.viewpagetemplatefile.ViewPageTemplateFile
object at 0x02573110>,
       'view': <z3c.pagelet.zcml.ClientDisplayForm object at 0x048001D0>,
       'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper
object at 0x04817B70>}

.
.
.
etc, etc, etc, a few hundred times...
.
.
.


CGI Variables
-------------
  CONTENT_LENGTH: '0'
  HTTP_ACCEPT: 'application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'
  HTTP_ACCEPT_CHARSET: 'ISO-8859-1,utf-8;q=0.7,*;q=0.3'
  HTTP_ACCEPT_ENCODING: 'gzip,deflate,bzip2,sdch'
  HTTP_ACCEPT_LANGUAGE: 'en-US,en;q=0.8'
  HTTP_AUTHORIZATION: 'Basic YWRtaW46QiFad2VyeA=='
  HTTP_CACHE_CONTROL: 'max-age=0'
  HTTP_CONNECTION: 'keep-alive'
  HTTP_COOKIE: 'zope3_cs_e9beff6=9izSLXbaPUBba5AX2WX014Cq4nIeBIlKfNx8BgZkFCTwfWaw8ptSwE'
  HTTP_HOST: 'localhost:7777'
  HTTP_REFERER: 'http://localhost:7777/++skin++BW/clientList.html'
  HTTP_USER_AGENT: 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US)
AppleWebKit/531.0 (KHTML, like Gecko) Chrome/3.0.187.1 Safari/531.0'
  PATH_INFO: '/++skin++BW/anut-jemma'
  REMOTE_ADDR: '127.0.0.1'
  REQUEST_METHOD: 'GET'
  SERVER_NAME: '127.0.0.1'
  SERVER_PORT: '7777'
  SERVER_PROTOCOL: 'HTTP/1.1'


WSGI Variables
--------------
  application: <zope.app.wsgi.WSGIPublisherApplication object at 0x015DAF90>
  paste.evalexception: <z3c.evalexception.ZopeEvalException object at
0x015D3F90>
  paste.evalexception.debug_count: 1245117702
  paste.httpserver.thread_pool: <paste.httpserver.ThreadPool object at
0x00E3CCD0>
  paste.throw_errors: True
  wsgi process: 'Multithreaded'
  wsgi.handleErrors: False


More information about the Zope3-users mailing list