Also the Python Version I am using is 2.6.6 On Wed, Sep 19, 2012 at 10:56 AM, Andrew Evans <ade.ca...@gmail.com> wrote:
> yea I just tried trunk and does not work for me either... > > Maybe I am writing my code wrong? > > Any ideas? > > > > > On Wed, Sep 19, 2012 at 10:47 AM, Andrew Evans <ade.ca...@gmail.com>wrote: > >> I upgraded to the nightly build and it still doesn't fix my issue :-( >> Version 2.0.9 (2012-09-18 20:11:26) stable (Taken from Nightly) >> MySQL 5.1.63-0+squeeze1 >> >> Any ideas >> >> and ty for the help >> >> Traceback (most recent call last >> ): >> >> File "/var/www/web2py/gluon/restricted.py", line 209, in restricted >> >> >> exec ccode in environment >> File "/var/www/web2py/applications/sc_coast/controllers/edit.py" >> <https://85.25.242.165/admin/default/edit/sc_coast/controllers/edit.py>, >> line 57, in <module> >> >> >> File "/var/www/web2py/gluon/globals.py", line 186, in <lambda> >> >> >> self._caller = lambda f: f >> () >> >> File "/var/www/web2py/gluon/tools.py", line 2832, in f >> >> >> return action(*a, **b) >> File "/var/www/web2py/applications/sc_coast/controllers/edit.py" >> <https://85.25.242.165/admin/default/edit/sc_coast/controllers/edit.py>, >> line 35, in listing >> >> >> form = >> crud.update(db.listing,int(listing_id),next=URL('control_panel','listing')) >> >> >> File "/var/www/web2py/gluon/tools.py", line 3422, in update >> >> >> detect_record_change = self.settings.detect_record_change): >> >> >> File "/var/www/web2py/gluon/sqlhtml.py", line 1368, in accepts >> >> >> fields[fieldname] = safe_int(value) >> File "/var/www/web2py/gluon/sqlhtml.py", line 63, in safe_int >> >> >> return int(x) >> TypeError: int() argument must be a string or a number, not 'list' >> >> >> >> >> On Tue, Sep 18, 2012 at 5:38 AM, Massimo Di Pierro < >> massimo.dipie...@gmail.com> wrote: >> >>> You should always consider the nightly built. It usually contains most >>> of the fixes as trunk but is a snapshot that we think relatively stable. >>> >>> >>> On Monday, 17 September 2012 22:13:48 UTC-5, Andrew Evans wrote: >>>> >>>> Will do I saw it was fixed in Trunk >>>> >>>> Does Trunk mean the not released version? >>>> >>>> *cheers >>>> >>>> Andrew >>>> >>> -- >>> >>> >>> >>> >> >> > --