avatar is  commonly used when user registers. But auth.table_user
dosen't has this field.

Maybe I can add a Field('avatar', 'upload') to auth.table_user. I did
do it, but failed: an error occured.
ERROR:Rocket.Errors.Thread-7:Traceback (most recent call last):
  File "E:\web2py\gluon\rocket.py", line 747, in run
    self.run_app(conn)
  File "E:\web2py\gluon\rocket.py", line 1162, in run_app
    sections = len(output)
  File "C:\Python25\lib\cgi.py", line 633, in __len__
    return len(self.keys())
  File "C:\Python25\lib\cgi.py", line 609, in keys
    raise TypeError, "not indexable"
TypeError: not indexable

this error can be reproduced, i try it on different platforms, dear
friends, you can try it by yourself.

Is there another solution ?
thanks


-- 
Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en

Reply via email to