Edit detail for #734 AttributeError when trying to edit a wiki page revision 1 of 1

1
Editor: 192.168.1.21
Time: 2004/03/04 07:22:34 GMT+0
Note:

changed:
-
When I try to edit an existing wiki page, I get the following traceback. I'm using the latest Plone 2.0 RC6.
nate (at) jazkarta.com

This wiki's editform template gave an error. 
Traceback (most recent call last):
  File "/home/skagitwc/zope/instance1/Products/ZWiki/UI.py", line 384, in editform
  File "/home/jazkarta/zope/270/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jazkarta/zope/270/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jazkarta/zope/instance1/LiveProducts/CMFCore/FSPageTemplate.py", line 191, in _exec
    result = self.pt_render(extra_context=bound_names)
  File "/home/jazkarta/zope/instance1/LiveProducts/CMFCore/FSPageTemplate.py", line 124, in pt_render
    result = FSPageTemplate.inheritedAttribute('pt_render')(
  File "/home/jazkarta/zope/270/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
    tal=not source, strictinsert=0)()
  File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter.py", line 189, in __call__
    self.interpret(self.program)
  File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter.py", line 233, in interpret
    handlers[opcode](self, args)
  File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter.py", line 663, in do_useMacro
    self.interpret(macro)
  File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter.py", line 233, in interpret
    handlers[opcode](self, args)
  File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter.py", line 408, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter.py", line 393, in do_optTag
    return self.no_tag(start, program)
  File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter.py", line 388, in no_tag
    self.interpret(program)
  File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter.py", line 233, in interpret
    handlers[opcode](self, args)
  File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter.py", line 686, in do_defineSlot
    self.interpret(slot)
  File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter.py", line 233, in interpret
    handlers[opcode](self, args)
  File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter.py", line 629, in do_condition
    self.interpret(block)
  File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter.py", line 233, in interpret
    handlers[opcode](self, args)
  File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter.py", line 605, in do_loop_tal
    self.interpret(block)
  File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter.py", line 233, in interpret
    handlers[opcode](self, args)
  File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter.py", line 408, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter.py", line 393, in do_optTag
    return self.no_tag(start, program)
  File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter.py", line 388, in no_tag
    self.interpret(program)
  File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter.py", line 233, in interpret
    handlers[opcode](self, args)
  File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter.py", line 459, in do_setLocal_tal
    self.engine.setLocal(name, self.engine.evaluateValue(expr))
  File "/home/jazkarta/zope/270/lib/python/Products/PageTemplates/TALES.py", line 220, in evaluate
    return expression(self)
  File "/home/jazkarta/zope/270/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "type.find('dtml')!=-1 and here.dtmlAllowed()"", line 1, in 
AttributeError: find



From unknown Thu Mar 4 07:22:33 -0800 2004
From: 
Date: Thu, 04 Mar 2004 07:22:33 -0800
Subject: Upgraded to 0.28.0 and the problem went away.
Message-ID: <[email protected]>

Status: open => closed 


Submitted by : 192.168.1.21 at: 2004-03-04T07:09:30+00:00 (17 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

When I try to edit an existing wiki page, I get the following traceback. I'm using the latest Plone 2.0 RC6. nate (at) jazkarta.com

This wiki's editform template gave an error. Traceback (most recent call last):

File "/home/skagitwc/zope/instance1/Products/ZWiki/UI.py", line 384, in editform File "/home/jazkarta/zope/270/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__

return self._bindAndExec(args, kw, None)
File "/home/jazkarta/zope/270/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/jazkarta/zope/instance1/LiveProducts?/CMFCore/FSPageTemplate?.py", line 191, in _exec
result = self.pt_render(extra_context=bound_names)
File "/home/jazkarta/zope/instance1/LiveProducts?/CMFCore/FSPageTemplate?.py", line 124, in pt_render
result = FSPageTemplate?.inheritedAttribute('pt_render')(
File "/home/jazkarta/zope/270/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
tal=not source, strictinsert=0)()
File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter?.py", line 189, in __call__
self.interpret(self.program)
File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter?.py", line 233, in interpret
handlers[opcode]?(self, args)
File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter?.py", line 663, in do_useMacro
self.interpret(macro)
File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter?.py", line 233, in interpret
handlers[opcode]?(self, args)
File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter?.py", line 408, in do_optTag_tal
self.do_optTag(stuff)
File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter?.py", line 393, in do_optTag
return self.no_tag(start, program)
File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter?.py", line 388, in no_tag
self.interpret(program)
File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter?.py", line 233, in interpret
handlers[opcode]?(self, args)
File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter?.py", line 686, in do_defineSlot
self.interpret(slot)
File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter?.py", line 233, in interpret
handlers[opcode]?(self, args)
File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter?.py", line 629, in do_condition
self.interpret(block)
File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter?.py", line 233, in interpret
handlers[opcode]?(self, args)
File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter?.py", line 605, in do_loop_tal
self.interpret(block)
File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter?.py", line 233, in interpret
handlers[opcode]?(self, args)
File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter?.py", line 408, in do_optTag_tal
self.do_optTag(stuff)
File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter?.py", line 393, in do_optTag
return self.no_tag(start, program)
File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter?.py", line 388, in no_tag
self.interpret(program)
File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter?.py", line 233, in interpret
handlers[opcode]?(self, args)
File "/home/jazkarta/zope/270/lib/python/TAL/TALInterpreter?.py", line 459, in do_setLocal_tal
self.engine.setLocal(name, self.engine.evaluateValue(expr))
File "/home/jazkarta/zope/270/lib/python/Products/PageTemplates/TALES.py", line 220, in evaluate
return expression(self)
File "/home/jazkarta/zope/270/lib/python/Products/PageTemplates/ZRPythonExpr?.py", line 47, in __call__
return eval(code, g, {})

File "Python expression "type.find('dtml')!=-1 and here.dtmlAllowed()"", line 1, in

AttributeError?: find

Upgraded to 0.28.0 and the problem went away. --Thu, 04 Mar 2004 07:22:33 -0800 reply

Status: open => closed