On Dec 20, 2006, at 3:21 AM, [EMAIL PROTECTED] wrote:
Hi:
Thanks! I give it a try and found both TG with SO and SA are not work.
In controllers.py
from model import User
from fastdata2.tgdatacontroller import *
usermin = TGDataController(User)
when I try to run the start-ooo.py, I got following error:
D:\demo\ooo>start-ooo.py
Traceback (most recent call last):
File "D:\demo\ooo\start-ooo.py", line 23, in ?
from ooo.controllers import Root
File "D:\demo\ooo\ooo\controllers.py", line 8, in ?
from fastdata2.tgdatacontroller import *
File "d:\workplane\fastdata\fastdata2\tgdatacontroller.py", line 10,
in ?
from fastdata2.controller import IDataHandler
File "d:\workplane\fastdata\fastdata2\controller.py", line 3, in ?
class IDataHandler(object):
File "d:\workplane\fastdata\fastdata2\meta.py", line 16, in __new__
methods = [(name, getattr(new_,name,None)) for name in names]
TypeError: Error when calling the metaclass bases
iteration over non-sequence
Sorry, should have made that clearer:
"BTW, tgdatacontroller is half baked and will probably break in a
thousand places... beware ;)."
I haven't finished it yet.... hope to have it ready soon. Sorry for
the dissapointment.
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?hl=en
-~----------~----~----~----~------~----~------~--~---