I've been plugging along with a routes and SQL based app, with BFG
0.8.0.  I just changed my buildout.cfg to get BFG 0.9.1 -- and any new
versions of other packages -- but it's now throwing exceptions when
trying to render. I've removed any *.py, *.pyc and *.cache files from my
templates/ dir, but no help.

Paster starts up but when I try to access the top page, it bombs with
this excerpt:

  Exception happened during processing of request from ('127.0.0.1', 57115)
    ...
    File 
"/usr/local/cshenton/Projects/koansys/accounting-0.4/accounting/accounting/views.py",
 line 30, in home
      master=get_template('templates/master.pt'),
    ...
    File 
"/usr/local/cshenton/Projects/koansys/accounting-0.4/eggs/chameleon.core-1.0b34-py2.6.egg/chameleon/core/template.py",
 line 305, in cook_and_render
      args, slots, macro, global_scope)
    File 
"/usr/local/cshenton/Projects/koansys/accounting-0.4/eggs/chameleon.core-1.0b34-py2.6.egg/chameleon/core/template.py",
 line 182, in cook_and_render
      return func(econtext, rcontext)
    File 
"/usr/local/cshenton/Projects/koansys/accounting-0.4/accounting/accounting/templates/home.pt.py",
 line 33, in render
      _metal.render(_tmp, _out=_out, _write=_write, _domain=_domain, 
econtext=econtext)
  TypeError: render() takes exactly 1 non-keyword argument (2 given)



Maybe I'm getting incompatible versions of various packages with my buildout:

  [buildout]
  find-links = http://dist.repoze.org/bfg/current/simple
               http://pypi.python.org/packages/source/z/zope.sqlalchemy/
               http://pypi.python.org/packages/source/t/transaction/
               http://pypi.python.org/packages/source/S/SQLAlchemy/
               http://pypi.python.org/packages/source/r/repoze.who/
               http://formalchemy.googlecode.com/files/FormAlchemy-1.2.tar.gz

  parts = bfg
  develop = accounting

  [bfg]
  recipe  = zc.recipe.egg
  index   = http://dist.repoze.org/bfg/current/simple
  dependent-scripts = true
  eggs    = repoze.bfg
            accounting
            formalchemy
  interpreter = python-bfg


Any suggestions? 
Thanks!
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to