Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1366 (closed defect: invalid)

Opened 12 years ago

Last modified 12 years ago

AjaxGrid broken on widget browser

Reported by: alberto Owned by: anonymous
Priority: normal Milestone: 1.0.3
Component: TurboGears Version: 1.0.1
Severity: major Keywords:


Although it looks like a deeper bug somewhere in controllers.py:

::1 - - [21/Apr/2007:16:12:54] "GET /widgets/turbogears.widgets.AjaxGrid/update?tg_random=1177164774565&tg_format=json HTTP/1.1" 500 2216 "http://localhost:7654/widgets/" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en) AppleWebKit/419 (KHTML, like Gecko) Safari/419.3"
2007-04-21 16:12:55,458 turbogears.database DEBUG Starting SQLObject transaction
2007-04-21 16:12:55,459 turbogears.controllers DEBUG Calling <function update at 0x1731b70> with *((AjaxGridDesc(name='Ajax Grid'),)), **({})
21/Apr/2007:16:12:55 HTTP INFO Page handler: <bound method AjaxGridDesc.update of AjaxGridDesc(name='Ajax Grid')>
Traceback (most recent call last):
  File "/Users/alberto/src/python/environments/Turbogears/lib/python2.4/CherryPy-2.2.1-py2.4.egg/cherrypy/_cphttptools.py", line 105, in _run
  File "/Users/alberto/src/python/environments/Turbogears/lib/python2.4/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 update
  File "/Users/alberto/src/python/checkouts/turbogears/turbogears/controllers.py", line 334, in expose
    output = database.run_with_transaction(
  File "<string>", line 5, in run_with_transaction
  File "/Users/alberto/src/python/checkouts/turbogears/turbogears/database.py", line 303, in so_rwt
    retval = func(*args, **kw)
  File "<string>", line 5, in _expose
  File "/Users/alberto/src/python/checkouts/turbogears/turbogears/controllers.py", line 229, in <lambda>
    lambda _func, accept, allow_json,
  File "/Users/alberto/src/python/checkouts/turbogears/turbogears/controllers.py", line 391, in _execute_func
    return _process_output(output, template, format, content_type, mapping, fragment)
  File "/Users/alberto/src/python/checkouts/turbogears/turbogears/controllers.py", line 100, in _process_output
    output = unicodechars.sub(
TypeError: expected string or buffer


Change History

comment:1 Changed 12 years ago by alberto

  • Milestone changed from 1.0.2 to 1.0.3

comment:2 Changed 12 years ago by alberto

  • Status changed from new to closed
  • Resolution set to invalid

Hmm, weird. AjaxGrid is working fine now in the widget browser. Must have been some other issue.

Since no one seems to have had the same problem I'll close as invalid.


Note: See TracTickets for help on using tickets.