Submitted by : simon at: 2003-10-26T21:32:04+00:00 (14 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

Wherever I try to subscribe on Zwiki.org, I get the same error:

 This wiki's subscribeform template gave an error, perhaps due to an old  version in the wiki folder. Suggestion: remove it. 
 Traceback (most recent call last):
  File "/usr/local/zope/instance/Products/ZWiki/UI.py", line 296, in subscribeform
    return form.__of__(self)(self, REQUEST)
  File "/usr/local/zope/software/lib/python/Shared/DC/Scripts/Bindings.py", line 252, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/local/zope/software/lib/python/Shared/DC/Scripts/Bindings.py", line 283, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/usr/local/zope/software/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 228, in _exec
    result = self.pt_render(extra_context=bound_names)
  File "/usr/local/zope/software/lib/python/Products/PageTemplates/PageTemplate.py", line 95, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/local/zope/software/lib/python/TAL/TALInterpreter.py", line 200, in __call__
    self.interpret(self.program)
  File "/usr/local/zope/software/lib/python/TAL/TALInterpreter.py", line 244, in interpret
    handlers[opcode](self, args)
  File "/usr/local/zope/software/lib/python/TAL/TALInterpreter.py", line 669, in do_condition
    self.interpret(block)
  File "/usr/local/zope/software/lib/python/TAL/TALInterpreter.py", line 244, in interpret
    handlers[opcode](self, args)
  File "/usr/local/zope/software/lib/python/TAL/TALInterpreter.py", line 473, in do_setLocal_tal
    self.engine.setLocal(name, self.engine.evaluateValue(expr))
  File "/usr/local/zope/software/lib/python/Products/PageTemplates/TALES.py", line 217, in evaluate
    return expression(self)
  File "/usr/local/zope/software/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 48, in __call__
    return eval(code, g, {})
  File "Python expression "request.RESPONSE.setCookie('email',request.email,path='/',expires=(ZopeTime() + 365).rfc822())"", line 2, in f
 NameError: global name 'ZopeTime' is not defined

weird, it worked for me --SimonMichael, 2003/06/09 17:10 GMT
just now. Do you have something weird in your email cookie ? Try setting it or forgetting it in UserOptions? and try the subscribe form again.

property change --SimonMichael, 2003/06/09 17:11 GMT
Severity: serious => normal


comments:

presumed resolved --SimonMichael, 2003/08/03 00:24 GMT reply
Status: open => closed