I'm having some problems using the AutoComplete widget, I tried to
follow the example at
http://trac.turbogears.org/turbogears/wiki/AutoCompleteField, but when
I try and type something in the field nothing happens, for some reason
it doesn't seem to find the search function.
Traceback (most recent call last):
File
"/usr/lib/python2.4/site-packages/CherryPy-2.2.0beta-py2.4.egg/cherrypy/_cphttptools.py",
line 99, in _run
self.main()
File
"/usr/lib/python2.4/site-packages/CherryPy-2.2.0beta-py2.4.egg/cherrypy/_cphttptools.py",
line 248, in main
body = page_handler(*virtual_path, **self.params)
File "<string>", line 3, in index
File "/home/randallr/turbogears/turbogears/controllers.py", line 210,
in expose
tg_format, html, fragment, *args, **kw)
File "/home/randallr/turbogears/turbogears/database.py", line 193, in
run_with_transaction
retval = func(*args, **kw)
File "/home/randallr/turbogears/turbogears/controllers.py", line 233,
in _execute_func
return _process_output(tg_format, output, html, fragment)
File "/home/randallr/turbogears/turbogears/controllers.py", line 69,
in _process_output
fragment=fragment)
File "/home/randallr/turbogears/turbogears/view.py", line 55, in
render
return jsonify.encode(info)
File "/home/randallr/turbogears/turbogears/jsonify.py", line 75, in
encode
return _instance.encode(obj)
File
"build/bdist.darwin-8.3.0-Power_Macintosh/egg/simplejson/encoder.py",
line 259, in encode
File
"build/bdist.darwin-8.3.0-Power_Macintosh/egg/simplejson/encoder.py",
line 212, in _iterencode
File
"build/bdist.darwin-8.3.0-Power_Macintosh/egg/simplejson/encoder.py",
line 185, in _iterencode_dict
File
"build/bdist.darwin-8.3.0-Power_Macintosh/egg/simplejson/encoder.py",
line 220, in _iterencode
File
"build/bdist.darwin-8.3.0-Power_Macintosh/egg/simplejson/encoder.py",
line 226, in _iterencode_default
File "/home/randallr/turbogears/turbogears/jsonify.py", line 70, in
default
return jsonify(obj)
File "<string>", line 5, in jsonify
File "_speedups.pyx", line 376, in
_speedups.BaseDispatcher.__getitem__
File "build/bdist.linux-i686/egg/dispatch/interfaces.py", line 15, in
__call__
NoApplicableMethods: <unprintable instance object>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---