what do you mean?
On Feb 10, 1:58 pm, mdipierro <[email protected]> wrote:
> Do you have the traceback from the ticket?
>
> Massimo
>
> On Feb 9, 11:51 pm, INeedHelp <[email protected]> wrote:
>
>
>
> > def import_file():
> > form=FORM(INPUT(_type='file',_name='data'),INPUT
> > (_type='submit'))
> > if form.accepts(request.vars):
> > db.import_from_csv_file(form.vars.data.file)
> > # for every table
> > for table in db.tables: # for every uuid, delete
> > all but the most
> > items = db(db[table].id>0).select(db[table].id,
> > db[table].uuid,orderby=~db[table].modified_on,
> > groupby=db[table].uuid)
> > for item in items:
> > db((db[table].uuid==item.uuid)&(db[table].id!=
> > item.id)).delete
> > return dict(form=form)
>
> > with error:
> > TypeError: long() argument must be a string or a number, not 'list'- Hide
> > quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---