#1200: kid: easy_install default kid-0.9.4 toolbox catwalk, widget browser 
errors
-----------------------------+----------------------------------------------
 Reporter:  jeffk            |       Owner:  anonymous                  
     Type:  defect           |      Status:  new                        
 Priority:  normal           |   Milestone:                             
Component:  Toolbox.Catwalk  |     Version:  trunk                      
 Severity:  normal           |    Keywords:  kid catwalk widgets toolbox
-----------------------------+----------------------------------------------
 from svn trunk checkout, installed with "python setup.py develop",
 kid-0.9.4 is downloaded from PyPI (or it might reasonably have been
 installed/upgraded manually).

 tg-admin toolbox' catwalk and widget browser have the following similar
 errors with kid-0.9.4. Perhaps an easy and localized fix is available
 which can make toolbox more tolerant of upgraded kid package versions
 until these migrate from kid to genshi.

 {{{
 http://localhost:7654/widgets/

 500 Internal error

 The server encountered an unexpected condition which prevented it from
 fulfilling the request.

 Page handler: <function _wrapper at 0x889ebc4>
 Traceback (most recent call last):
   File "/usr/lib/python2.4/site-
 packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cphttptools.py", line 105, in
 _run
     self.main()
   File "/usr/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 "/software/svn/turbogears/turbogears/identity/conditions.py", line
 275, in _wrapper
     return fn( *args, **kw )
   File "<string>", line 3, in index
   File "/software/svn/turbogears/turbogears/controllers.py", line 284, in
 expose
     output = database.run_with_transaction(
   File "<string>", line 5, in run_with_transaction
   File "/software/svn/turbogears/turbogears/database.py", line 251, in
 so_rwt
     retval = func(*args, **kw)
   File "<string>", line 5, in _expose
   File "/software/svn/turbogears/turbogears/controllers.py", line 301, in
 <lambda>
     mapping, fragment, args, kw)))
   File "/software/svn/turbogears/turbogears/controllers.py", line 341, in
 _execute_func
     return _process_output(output, template, format, content_type,
 mapping, fragment)
   File "/software/svn/turbogears/turbogears/controllers.py", line 81, in
 _process_output
     mapping=mapping, content_type=content_type,fragment=fragment)
   File "/software/svn/turbogears/turbogears/view/base.py", line 125, in
 render
     return adapt_call(engine.render, **dict(info=info, format=format,
 fragment=fragment, template=template, mapping=mapping))
   File "/software/svn/turbogears/turbogears/util.py", line 165, in
 adapt_call
     return func(*args, **kw)
   File "/usr/lib/python2.4/site-
 packages/TurboKid-0.9.9-py2.4.egg/turbokid/kidsupport.py", line 174, in
 render
     return t.serialize(encoding=self.defaultencoding, output=format,
 fragment=fragment)
   File "/usr/lib/python2.4/site-
 packages/kid-0.9.4-py2.4.egg/kid/__init__.py", line 283, in serialize
     return serializer.serialize(self, encoding, fragment, format)
   File "/usr/lib/python2.4/site-
 packages/kid-0.9.4-py2.4.egg/kid/serialization.py", line 109, in serialize
     text = ''.join(tuple(
   File "/usr/lib/python2.4/site-
 packages/kid-0.9.4-py2.4.egg/kid/serialization.py", line 630, in generate
     for ev, item in self.apply_filters(stream, format):
   File "/usr/lib/python2.4/site-
 packages/kid-0.9.4-py2.4.egg/kid/serialization.py", line 165, in
 format_stream
     for ev, item in stream:
   File "/usr/lib/python2.4/site-
 packages/kid-0.9.4-py2.4.egg/kid/parser.py", line 218, in _coalesce
     for ev, item in stream:
   File "/usr/lib/python2.4/site-
 packages/kid-0.9.4-py2.4.egg/kid/serialization.py", line 480, in
 inject_meta_tags
     for ev, item in stream:
   File "/usr/lib/python2.4/site-
 packages/kid-0.9.4-py2.4.egg/kid/parser.py", line 174, in _track
     for p in stream:
   File "/usr/lib/python2.4/site-
 packages/kid-0.9.4-py2.4.egg/kid/filter.py", line 22, in apply_matches
     for ev, item in stream:
   File "/usr/lib/python2.4/site-
 packages/kid-0.9.4-py2.4.egg/kid/parser.py", line 174, in _track
     for p in stream:
   File "/usr/lib/python2.4/site-
 packages/kid-0.9.4-py2.4.egg/kid/parser.py", line 218, in _coalesce
     for ev, item in stream:
   File "/software/svn/turbogears/turbogears/toolbox/widgets/widgets.py",
 line 167, in _pull
 TypeError: generate_content() takes exactly 1 argument (2 given)

 Powered by CherryPy 2.2.1
 }}}

 {{{
 http://localhost:7654/catwalk/

 500 Internal error

 The server encountered an unexpected condition which prevented it from
 fulfilling the request.

 Page handler: <function _wrapper at 0x88db95c>
 Traceback (most recent call last):
   File "/usr/lib/python2.4/site-
 packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cphttptools.py", line 105, in
 _run
     self.main()
   File "/usr/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 "/software/svn/turbogears/turbogears/identity/conditions.py", line
 275, in _wrapper
     return fn( *args, **kw )
   File "<string>", line 3, in index
   File "/software/svn/turbogears/turbogears/controllers.py", line 284, in
 expose
     output = database.run_with_transaction(
   File "<string>", line 5, in run_with_transaction
   File "/software/svn/turbogears/turbogears/database.py", line 251, in
 so_rwt
     retval = func(*args, **kw)
   File "<string>", line 5, in _expose
   File "/software/svn/turbogears/turbogears/controllers.py", line 301, in
 <lambda>
     mapping, fragment, args, kw)))
   File "/software/svn/turbogears/turbogears/controllers.py", line 341, in
 _execute_func
     return _process_output(output, template, format, content_type,
 mapping, fragment)
   File "/software/svn/turbogears/turbogears/controllers.py", line 81, in
 _process_output
     mapping=mapping, content_type=content_type,fragment=fragment)
   File "/software/svn/turbogears/turbogears/view/base.py", line 125, in
 render
     return adapt_call(engine.render, **dict(info=info, format=format,
 fragment=fragment, template=template, mapping=mapping))
   File "/software/svn/turbogears/turbogears/util.py", line 165, in
 adapt_call
     return func(*args, **kw)
   File "/usr/lib/python2.4/site-
 packages/TurboKid-0.9.9-py2.4.egg/turbokid/kidsupport.py", line 174, in
 render
     return t.serialize(encoding=self.defaultencoding, output=format,
 fragment=fragment)
   File "/usr/lib/python2.4/site-
 packages/kid-0.9.4-py2.4.egg/kid/__init__.py", line 283, in serialize
   File "/usr/lib/python2.4/site-
 packages/kid-0.9.4-py2.4.egg/kid/serialization.py", line 109, in serialize
   File "/usr/lib/python2.4/site-
 packages/kid-0.9.4-py2.4.egg/kid/serialization.py", line 630, in generate
   File "/usr/lib/python2.4/site-
 packages/kid-0.9.4-py2.4.egg/kid/serialization.py", line 165, in
 format_stream
   File "/usr/lib/python2.4/site-
 packages/kid-0.9.4-py2.4.egg/kid/parser.py", line 218, in _coalesce
   File "/usr/lib/python2.4/site-
 packages/kid-0.9.4-py2.4.egg/kid/serialization.py", line 480, in
 inject_meta_tags
   File "/usr/lib/python2.4/site-
 packages/kid-0.9.4-py2.4.egg/kid/parser.py", line 174, in _track
   File "/usr/lib/python2.4/site-
 packages/kid-0.9.4-py2.4.egg/kid/filter.py", line 22, in apply_matches
   File "/usr/lib/python2.4/site-
 packages/kid-0.9.4-py2.4.egg/kid/parser.py", line 174, in _track
   File "/usr/lib/python2.4/site-
 packages/kid-0.9.4-py2.4.egg/kid/parser.py", line 218, in _coalesce
   File "/software/svn/turbogears/turbogears/toolbox/catwalk/catwalk.py",
 line 37, in _pull
 TypeError: generate_content() takes exactly 1 argument (2 given)

 Powered by CherryPy 2.2.1
 }}}

-- 
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/1200>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears Tickets" 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-tickets?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to