Alberto Valverde schrieb:
> Try enabling toscawidgets in app.cfg:
>
> toscawidgets.on = True
Now I get the following:
Page handler: <bound method DBMechanic.index of
<dbsprockets.dbmechanic.frameworks.tg.dbmechanic.DBMechanic object at
0x01E4C630>>
Traceback (most recent call last):
File
"c:\programme\python25\lib\site-packages\cherrypy-2.3.0-py2.5.egg\cherrypy\_cphttptools.py",
line 121, in _run
self.main()
File
"c:\programme\python25\lib\site-packages\cherrypy-2.3.0-py2.5.egg\cherrypy\_cphttptools.py",
line 264, in main
body = page_handler(*virtual_path, **self.params)
File "<string>", line 3, in index
File
"d:\data\projekte\svn\turbogears\branches\1.0\turbogears\controllers.py",
line 344, in expose
*args, **kw)
File "<string>", line 5, in run_with_transaction
File
"d:\data\projekte\svn\turbogears\branches\1.0\turbogears\database.py",
line 406, in sa_rwt
retval = func(*args, **kw)
File "<string>", line 5, in _expose
File
"d:\data\projekte\svn\turbogears\branches\1.0\turbogears\controllers.py",
line 359, in <lambda>
mapping, fragment, args, kw)))
File
"d:\data\projekte\svn\turbogears\branches\1.0\turbogears\controllers.py",
line 399, in _execute_func
return _process_output(output, template, format, content_type,
mapping, fragment)
File
"d:\data\projekte\svn\turbogears\branches\1.0\turbogears\controllers.py",
line 86, in _process_output
fragment=fragment)
File
"d:\data\projekte\svn\turbogears\branches\1.0\turbogears\view\base.py",
line 129, in render
return engine.render(**kw)
File
"C:\Programme\Python25\lib\site-packages\genshi-0.4.4-py2.5.egg\genshi\template\plugin.py",
line 104, in render
return self.transform(info, template).render(**kwargs)
File
"C:\Programme\Python25\lib\site-packages\genshi-0.4.4-py2.5.egg\genshi\core.py",
line 154, in render
return encode(generator, method=method, encoding=encoding)
File
"C:\Programme\Python25\lib\site-packages\genshi-0.4.4-py2.5.egg\genshi\output.py",
line 45, in encode
output = u''.join(list(iterator))
File
"C:\Programme\Python25\lib\site-packages\genshi-0.4.4-py2.5.egg\genshi\output.py",
line 369, in __call__
for kind, data, pos in stream:
File
"C:\Programme\Python25\lib\site-packages\genshi-0.4.4-py2.5.egg\genshi\output.py",
line 618, in __call__
for kind, data, pos in stream:
File
"C:\Programme\Python25\lib\site-packages\genshi-0.4.4-py2.5.egg\genshi\output.py",
line 679, in __call__
for kind, data, pos in chain(stream, [(None, None, None)]):
File
"C:\Programme\Python25\lib\site-packages\genshi-0.4.4-py2.5.egg\genshi\output.py",
line 459, in __call__
for ev in stream:
File
"C:\Programme\Python25\lib\site-packages\genshi-0.4.4-py2.5.egg\genshi\core.py",
line 212, in _ensure
for event in stream:
File
"C:\Programme\Python25\lib\site-packages\genshi-0.4.4-py2.5.egg\genshi\template\markup.py",
line 252, in _include
for event in stream:
File
"C:\Programme\Python25\lib\site-packages\genshi-0.4.4-py2.5.egg\genshi\template\markup.py",
line 322, in _match
content = list(self._include(content, ctxt))
File
"C:\Programme\Python25\lib\site-packages\genshi-0.4.4-py2.5.egg\genshi\template\markup.py",
line 252, in _include
for event in stream:
File
"C:\Programme\Python25\lib\site-packages\genshi-0.4.4-py2.5.egg\genshi\template\markup.py",
line 297, in _match
for event in stream:
File
"C:\Programme\Python25\lib\site-packages\genshi-0.4.4-py2.5.egg\genshi\template\markup.py",
line 286, in _strip
event = stream.next()
File
"C:\Programme\Python25\lib\site-packages\genshi-0.4.4-py2.5.egg\genshi\template\markup.py",
line 242, in _exec
for event in stream:
File
"C:\Programme\Python25\lib\site-packages\genshi-0.4.4-py2.5.egg\genshi\template\base.py",
line 432, in _eval
for event in substream:
File
"C:\Programme\Python25\lib\site-packages\genshi-0.4.4-py2.5.egg\genshi\template\base.py",
line 398, in _eval
for kind, data, pos in stream:
ValueError: need more than 2 values to unpack
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---