Thanks Warren - good catch, I just committed a fix (rev1036).
Cheers.
Ronald
On Mar 28, 2006, at 9:51 PM, wrb wrote:
>
> Howdy,
>
> Nice new interface for catwalk. Here is a problem I encountered today
> while using the
> "Manage Columns" functionality.
>
> It works fine for single changes but I get the following errors when I
> tried to modify and save two or more of the action "change the column
> to use as label" action:
>
>
> Page handler: <bound method Browse.save_columns of
> <turbogears.toolbox.catwalk.browse.Browse object at 0x40a2b98c>>
> Traceback (most recent call last):
> File
> "/usr/local/lib/python2.4/site-packages/CherryPy-2.2.0rc1-py2.4.egg/
> cherrypy/_cphttptools.py",
> line 99, in _run
> self.main()
> File
> "/usr/local/lib/python2.4/site-packages/CherryPy-2.2.0rc1-py2.4.egg/
> cherrypy/_cphttptools.py",
> line 248, in main
> body = page_handler(*virtual_path, **self.params)
> File "<string>", line 3, in save_columns
> File
> "/usr/local/lib/python2.4/site-packages/TurboGears-0.9a2-py2.4.egg/
> turbogears/controllers.py",
> line 207, in expose
> output = database.run_with_transaction(expose._expose,func,
> accept,
> allow_json, allow_json_from_config,*args, **kw)
> File
> "/usr/local/lib/python2.4/site-packages/TurboGears-0.9a2-py2.4.egg/
> turbogears/database.py",
> line 216, in run_with_transaction
> retval = func(*args, **kw)
> File "<string>", line 5, in _expose
> File
> "/usr/local/lib/python2.4/site-packages/TurboGears-0.9a2-py2.4.egg/
> turbogears/controllers.py",
> line 228, in <lambda>
> expose._expose.when(rule)(lambda _func, accept, allow_json,
> allow_json_from_config,*args,**kw: _execute_func(
> File
> "/usr/local/lib/python2.4/site-packages/TurboGears-0.9a2-py2.4.egg/
> turbogears/controllers.py",
> line 246, in _execute_func
> output = errorhandling.try_call(func, *args, **kw)
> File
> "/usr/local/lib/python2.4/site-packages/TurboGears-0.9a2-py2.4.egg/
> turbogears/errorhandling.py",
> line 59, in try_call
> output = func(self, *args, **kw)
> File
> "/usr/local/lib/python2.4/site-packages/TurboGears-0.9a2-py2.4.egg/
> turbogears/toolbox/catwalk/browse.py",
> line 44, in save_columns
> object,column_name = updated_fk_labels.split(':')
> ValueError: too many values to unpack
>
> I hope this helps.
>
> --- warren
>
>
>
________________________________
Ronald Jaramillo
mail: ronald AT checkandshare DOT com
blog: http://www.checkandshare.com/blog
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---