Hi Massimo , Thank you very much! Error still happens. I think it's corrupt data in DB, because when removing the DB and repeating the same actions it's OK.
Thanks , On Friday, June 20, 2014 6:04:34 AM UTC+3, Massimo Di Pierro wrote: > > Download this: > > https://github.com/web2py/web2py/archive/master.zip > > Unzip it and copy web2py over the old one. > > On Thursday, 19 June 2014 17:28:41 UTC-5, Omri Levy wrote: >> >> Hi Massimo, >> >> Thanks , I experience this bug a lot, I think it's when I update list of >> references to the same table in the db. >> Can you please explain how to update? (do I need Git?) / Manually fix it? >> >> Thanks again , >> >> Omri. >> >> On Friday, June 20, 2014 1:17:08 AM UTC+3, Massimo Di Pierro wrote: >>> >>> think it is a bug. pushing a new version that should fix that. Check >>> trunk in 5 minutes. >>> >>> On Monday, 16 June 2014 09:17:01 UTC-5, Omri Levy wrote: >>>> >>>> >>>> <type 'exceptions.TypeError'> sequence item 0: expected string, long >>>> foundVersionweb2py™Version 2.9.5-stable+timestamp.2014.03.16.02.35.39 >>>> PythonPython 2.7.6: C:\Python27\python.exe (prefix: C:\Python27) >>>> Traceback >>>> >>>> 1. >>>> 2. >>>> 3. >>>> 4. >>>> 5. >>>> 6. >>>> 7. >>>> 8. >>>> 9. >>>> 10. >>>> 11. >>>> 12. >>>> 13. >>>> >>>> Traceback (most recent call last): >>>> File "G:\Dropbox\Coding Projects\web2py\gluon\restricted.py", line 220, >>>> in restricted >>>> exec ccode in environment >>>> File "G:/Dropbox/Coding >>>> Projects/web2py/applications/goals/views/appadmin.html" >>>> <http://192.168.1.14:8000/admin/default/edit/goals/views/appadmin.html>, >>>> line 183, in <module> >>>> <h4>{{=T("DISK")}}</h4> >>>> File "G:\Dropbox\Coding Projects\web2py\gluon\sqlhtml.py", line 3049, in >>>> __init__ >>>> r = represent(field, r or [], record) >>>> File "G:\Dropbox\Coding Projects\web2py\gluon\sqlhtml.py", line 59, in >>>> represent >>>> return f(value) >>>> File "G:\Dropbox\Coding Projects\web2py\gluon\dal.py", line 7252, in >>>> list_ref_repr >>>> return (refs and ', '.join(f(r,x.id) for x in refs) or '') >>>> TypeError: sequence item 0: expected string, long found >>>> >>>> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.