Thanks!
On Jul 15, 1:06 am, mdipierro <[email protected]> wrote: > this has been fixed in trunk. Will repost today. > > On 14 Lug, 23:57, Rob <[email protected]> wrote: > > > > > Hi guys! > > > I just got this traceback: > > Traceback (most recent call last): > > File "/home/rhd/Desktop/web2py/gluon/restricted.py", line 178, in > > restricted > > exec ccode in environment > > File "/home/rhd/Desktop/web2py/applications/list/controllers/ > > default.py", line 124, in <module> > > File "/home/rhd/Desktop/web2py/gluon/globals.py", line 96, in > > <lambda> > > self._caller = lambda f: f() > > File "/home/rhd/Desktop/web2py/applications/list/controllers/ > > default.py", line 72, in delete_item > > db(db.Item.id == int(item)).delete() > > File "/home/rhd/Desktop/web2py/gluon/sql.py", line 3277, in delete > > self.delete_uploaded_files() > > File "/home/rhd/Desktop/web2py/gluon/sql.py", line 3358, in > > delete_uploaded_files > > if self.uploadseparate: > > AttributeError: 'Set' object has no attribute 'uploadseparate' > > > I just added autodelete to my model: > > db.define_table('Item', > > Field('category', db.Category), > > Field('description'), > > Field('need', 'boolean'), > > Field('image', 'upload', autodelete=True), > > Field('image_thumb', 'upload', autodelete=True, > > writable=False, readable=False)) > > > Let me know if you need anything else or if I did something wrong.

