Please open a ticket with the traceback. This needs to be fixed quick.
On Sunday, 13 May 2012 03:27:54 UTC-5, sebastian wrote:
>
> Hi All,
>
> I have a table with Field('image1', type='upload', uploadseparate=True,
> autodelete=True), If the file uploaded is missing (because deleted by hand
> for example) then I would get this error trying to delete a row
>
> >>> db(db.service.id==1).delete()
> Traceback (most recent call last):
> File "<console>", line 1, in <module>
> File "/home/sebas/dev/web2py/peerservices/gluon/dal.py", line 7582, in
> delete
> self.delete_uploaded_files()
> File "/home/sebas/dev/web2py/peerservices/gluon/dal.py", line 7643, in
> delete_uploaded_files
> "%s.%s" % (items[0], items[1]),
> IndexError: list index out of range
>
> Is it working as intended ?
>
> thanks
>
> --
> Sebastian E. Ovide
>
>
>
>
>