i have this error also after i using the latest web2py
TypeError: long() argument must be a string or a number, not 'list'

On Feb 6, 2:34 pm, INeedHelp <zhang.kil...@gmail.com> wrote:
> HI
> i using the code provide above and try to run but when i try to import
> back the exported file. i have this error
> ValueError: Mixing iteration and read methods would lose data
>
> can help please
>
> and is it possibel to set the file exported in notepad/text doc/ms
> excel format??
>
> thank in advance
>
> On Dec 28 2008, 11:23 pm, Fran <francisb...@googlemail.com> wrote:
>
>
>
> > On Dec 27, 1:20 pm, Fran <francisb...@googlemail.com> wrote:
>
> > > Fixed it :)
>
> > & if you need to display an image instead of just having the name of
> > the uploaded file, then can use the very long:
>
> > db.table.field.display=lambda uuid: DIV(A(IMG(_src=URL
> > (r=request,f='download',args=[db(db.table2.uuid==uuid).select()
> > [0].image]),_height=100),_class='zoom',_href='#zoom-table-field-%s' %
> > uuid),DIV(IMG(_src=URL(r=request,f='download',args=[db
> > (db.table2.uuid==uuid).select()[0].image]),_width=600),_id='zoom-table-
> > field-%s' % uuid,_class='hidden'))
>
> > F- 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 web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to