Traceback included:

Page handler: <bound method Root.default of
<gotoed.controllers.news.Root object at 0x2a9a170d50>>
Traceback (most recent call last):
  File
"/usr/local/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cphttptools.py",
line 105, in _run
    self.main()
  File
"/usr/local/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cphttptools.py",
line 254, in main
    body = page_handler(*virtual_path, **self.params)
  File "<string>", line 3, in default
  File
"/usr/local/lib/python2.4/site-packages/TurboGears-0.9a6-py2.4.egg/turbogears/controllers.py",
line 273, in expose
    output = database.run_with_transaction(
  File
"/usr/local/lib/python2.4/site-packages/TurboGears-0.9a6-py2.4.egg/turbogears/database.py",
line 221, in run_with_transaction
    retval = func(*args, **kw)
  File "<string>", line 5, in _expose
  File
"/usr/local/lib/python2.4/site-packages/TurboGears-0.9a6-py2.4.egg/turbogears/controllers.py",
line 290, in <lambda>
    mapping, fragment, *args, **kw)))
  File
"/usr/local/lib/python2.4/site-packages/TurboGears-0.9a6-py2.4.egg/turbogears/controllers.py",
line 314, in _execute_func
    output = errorhandling.try_call(func, *args, **kw)
  File
"/usr/local/lib/python2.4/site-packages/TurboGears-0.9a6-py2.4.egg/turbogears/errorhandling.py",
line 71, in try_call
    return func(self, *args, **kw)
  File "/www/gotoed/gotoed/controllers/news.py", line 119, in default
    return self.drug(d)
  File "<string>", line 3, in drug
  File
"/usr/local/lib/python2.4/site-packages/TurboGears-0.9a6-py2.4.egg/turbogears/controllers.py",
line 269, in expose
    output = func._expose(func, accept, func._allow_json,
  File "<string>", line 5, in _expose
  File
"/usr/local/lib/python2.4/site-packages/TurboGears-0.9a6-py2.4.egg/turbogears/controllers.py",
line 290, in <lambda>
    mapping, fragment, *args, **kw)))
  File
"/usr/local/lib/python2.4/site-packages/TurboGears-0.9a6-py2.4.egg/turbogears/controllers.py",
line 324, in _execute_func
    return _process_output(output, template, format, content_type,
mapping, fragment)
  File
"/usr/local/lib/python2.4/site-packages/TurboGears-0.9a6-py2.4.egg/turbogears/controllers.py",
line 65, in _process_output
    fragment=fragment)
  File
"/usr/local/lib/python2.4/site-packages/TurboGears-0.9a6-py2.4.egg/turbogears/view/base.py",
line 131, in render
    return engine.render(**kw)
  File
"/usr/local/lib/python2.4/site-packages/TurboKid-0.9.5-py2.4.egg/turbokid/kidsupport.py",
line 156, in render
    return t.serialize(encoding=self.defaultencoding, output=format,
fragment=fragment)
  File
"/usr/local/lib/python2.4/site-packages/kid-0.9.1-py2.4.egg/kid/__init__.py",
line 236, in serialize
    return serializer.serialize(self, encoding, fragment)
  File
"/usr/local/lib/python2.4/site-packages/kid-0.9.1-py2.4.egg/kid/serialization.py",
line 51, in serialize
    text = list(self.generate(stream, encoding, fragment))
  File
"/usr/local/lib/python2.4/site-packages/kid-0.9.1-py2.4.egg/kid/serialization.py",
line 324, in generate
    stream = iter(stream)
  File
"/usr/local/lib/python2.4/site-packages/kid-0.9.1-py2.4.egg/kid/__init__.py",
line 261, in __iter__
    return iter(self.transform())
  File
"/usr/local/lib/python2.4/site-packages/kid-0.9.1-py2.4.egg/kid/__init__.py",
line 316, in transform
    stream = self.pull()
  File
"/usr/local/lib/python2.4/site-packages/kid-0.9.1-py2.4.egg/kid/__init__.py",
line 275, in pull
    self.initialize()
  File "/www/gotoed/gotoed/templates/news_drug.py", line 22, in initialize
  File "/www/gotoed/gotoed/templates/master.py", line 25, in initialize
TypeError: 'NoneType' object is not callable


Robin Haswell wrote:
> Just a fresher for this thread, I'm still getting this intermittently
> (nearly identical tracebacks) on .9a6. I have SQLObject calls in my
> template, and my errors are on line 25 of master.py. Sorry I lost my
> tracebacks applying the kid.precompiled fixes (which failed
> spectacularly, by the way), however I will let you know if it comes back.
> 
> It's very odd, I've been developing this site for a week and it's only
> just shown up now.
> 
> Is there a way to stop Kid deleting its .py files so I can see the code
> that was failing?
> 
> More info as it comes.]
> 
> Cheers
> 
> -Rob
> 
> > 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to