On Apr 8, 2006, at 7:54 PM, Jorge Godoy wrote:
> I am getting this for an AutoCompleteField:
>
> ====================================================================== 
> ==========
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/CherryPy-2.2.0-py2.4.egg/ 
> cherrypy/_cphttptools.py", line 106, in _run
>     self.main()
>   File "/usr/lib/python2.4/site-packages/CherryPy-2.2.0-py2.4.egg/ 
> cherrypy/_cphttptools.py", line 255, in main
>     body = page_handler(*virtual_path, **self.params)
>   File "<string>", line 3, in search_produtos
>   File "/home/godoy/desenvolvimento/python/TurboGears/trunk/ 
> turbogears/controllers.py", line 206, in expose
>     output = database.run_with_transaction(expose._expose,func,  
> accept, allow_json, allow_json_from_config,*args, **kw)
>   File "/home/godoy/desenvolvimento/python/TurboGears/trunk/ 
> turbogears/database.py", line 216, in run_with_transaction
>     retval = func(*args, **kw)
>   File "<string>", line 5, in _expose
>   File "/home/godoy/desenvolvimento/python/TurboGears/trunk/ 
> turbogears/controllers.py", line 223, in <lambda>
>     lambda _func, accept,  allow_json,  
> allow_json_from_config,*args, **kw: _execute_func(
>   File "/home/godoy/desenvolvimento/python/TurboGears/trunk/ 
> turbogears/controllers.py", line 250, in _execute_func
>     output = errorhandling.try_call(func, *args, **kw)
>   File "/home/godoy/desenvolvimento/python/TurboGears/trunk/ 
> turbogears/errorhandling.py", line 71, in try_call
>     output = func(self, *args, **kw)
> TypeError: search_produtos() got an unexpected keyword argument  
> 'tg_format'
> ====================================================================== 
> ==========
>
> For my own code it looks like you solved the problem since not I am  
> being able
> to save my data :-)

Good :)

> There's just the above error, now.  :-)

No clue about that... :/ Maybe a little more context would help.

Regards,
Alberto

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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-trunk
-~----------~----~----~----~------~----~------~--~---

Reply via email to