Hello,

The fastdata has been removed but my code depends on it and I got a weird 
error. Can original fastdata author help? 

I got this traceback:

Page handler: <function _wrapper at 0x016CBE30>
Traceback (most recent call last):
  File 
"c:\python24\lib\site-packages\cherrypy-2.2.0-py2.4.egg\cherrypy\_cphttptools.py",
 line 106, in _run
    self.main()
  File 
"c:\python24\lib\site-packages\cherrypy-2.2.0-py2.4.egg\cherrypy\_cphttptools.py",
 line 255, in main
    body = page_handler(*virtual_path, **self.params)
  File "d:\projects\3rd-party\turbogears\turbogears\identity\conditions.py", 
line 274, in _wrapper
    return fn( *args, **kw )
  File "<string>", line 3, in default
  File "d:\projects\3rd-party\turbogears\turbogears\controllers.py", line 211, 
in expose
    output = database.run_with_transaction(expose._expose,func, accept, 
allow_json, allow_json_from_config,*args, **kw)
  File "d:\projects\3rd-party\turbogears\turbogears\database.py", line 216, in 
run_with_transaction
    retval = func(*args, **kw)
  File "<string>", line 5, in _expose
  File "d:\projects\3rd-party\turbogears\turbogears\controllers.py", line 232, 
in <lambda>
    expose._expose.when(rule)(lambda _func, accept, allow_json, 
allow_json_from_config,*args,**kw: _execute_func(
  File "d:\projects\3rd-party\turbogears\turbogears\controllers.py", line 255, 
in _execute_func
    output = errorhandling.try_call(func, *args, **kw)
  File "d:\projects\3rd-party\turbogears\turbogears\errorhandling.py", line 71, 
in try_call
    output = func(self, *args, **kw)
  File 
"d:\projects\3rd-party\turbogears\turbogears\fastdata\datacontroller.py", line 
64, in default
    return self.show(item, *vpath, **params)
  File "d:\projects\3rd-party\turbogears\turbogears\identity\conditions.py", 
line 274, in _wrapper
    return fn( *args, **kw )
  File "<string>", line 3, in show
  File "d:\projects\3rd-party\turbogears\turbogears\controllers.py", line 208, 
in expose
    output = expose._expose(func, accept, allow_json, allow_json_from_config, 
*args, **kw)
  File "<string>", line 5, in _expose
  File "d:\projects\3rd-party\turbogears\turbogears\controllers.py", line 232, 
in <lambda>
    expose._expose.when(rule)(lambda _func, accept, allow_json, 
allow_json_from_config,*args,**kw: _execute_func(
  File "d:\projects\3rd-party\turbogears\turbogears\controllers.py", line 255, 
in _execute_func
    output = errorhandling.try_call(func, *args, **kw)
  File "d:\projects\3rd-party\turbogears\turbogears\errorhandling.py", line 71, 
in try_call
    output = func(self, *args, **kw)
  File "D:\Projects\Spaca\spaca\controllers.py", line 352, in show
    super(BaseDashboardController, self).show(obj)
  File "<string>", line 3, in show
  File "d:\projects\3rd-party\turbogears\turbogears\controllers.py", line 208, 
in expose
    output = expose._expose(func, accept, allow_json, allow_json_from_config, 
*args, **kw)
  File "<string>", line 5, in _expose
  File "d:\projects\3rd-party\turbogears\turbogears\controllers.py", line 232, 
in <lambda>
    expose._expose.when(rule)(lambda _func, accept, allow_json, 
allow_json_from_config,*args,**kw: _execute_func(
  File "d:\projects\3rd-party\turbogears\turbogears\controllers.py", line 255, 
in _execute_func
    output = errorhandling.try_call(func, *args, **kw)
  File "d:\projects\3rd-party\turbogears\turbogears\errorhandling.py", line 71, 
in try_call
    output = func(self, *args, **kw)
  File 
"d:\projects\3rd-party\turbogears\turbogears\fastdata\datacontroller.py", line 
275, in show
    column_list = [
KeyError: 'members'

I suspect the error caused by the fact that 'members' is a foreing key on that 
object class. But how to fix the method?




--~--~---------~--~----~------------~-------~--~----~
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