Actually, when the tables are used by themselves ! with a simple controller
The first one ( auth_user ) works perfectly ... datas are recorded

but the second one ( user_info ) gives me a clear error on 2.0.9 stable
version

<type 'exceptions.RuntimeError'> Unable to handle upload


but with the codes of the controller shown above, It does not even give me
a ticket to tell me there is an error,

it stops on the second step, no errors,even after the submit button is
pressed

it does not redirect and does not notify me of any errors ... and no data
gets recorded either ( on web2py 2.0.9 nightly build )


what is going on ??? ... please help ...


Can someone help me with this ... I don't know how to trace this or debug
this ??? ... I have tried different things ...


I also tried to take out the following lines of the controller in order to
get something .. somekind of notice

if db.user_info.user_image == defaultuserpics[1] :
             db.user_info.user_picture.default = lambda: open(os.path.join(
request.folder, 'static',defaultfoto[1]), 'rb')
if db.user_info.user_image == defaultuserpics[2] :
             db.user_info.user_picture.default = lambda: open(os.path.join(
request.folder, 'static',defaultfoto[2]), 'rb')

But nothing ! no ticket .. still ..


anyone ???

-- 



Reply via email to