Re: [web2py] GAE is converting Integers to Longs and len() breaks

2013-08-17 Thread Jonathan Lundell
On 17 Aug 2013, at 1:40 PM, David Gawlowski wrote: > Shoot, thanks, you're right, that field was a string and I changed it to do > math on elsewhere... > > Do you know how to take the far right number of a two digit number? Will > something like field[-1] work like it does on strings? > You c

Re: [web2py] GAE is converting Integers to Longs and len() breaks

2013-08-17 Thread David Gawlowski
Shoot, thanks, you're right, that field was a string and I changed it to do math on elsewhere... Do you know how to take the far right number of a two digit number? Will something like field[-1] work like it does on strings? On Aug 17, 2013 4:14 PM, "Jonathan Lundell" wrote: > On 17 Aug 2013, a

Re: [web2py] GAE is converting Integers to Longs and len() breaks

2013-08-17 Thread Jonathan Lundell
On 17 Aug 2013, at 1:06 PM, davedigerati wrote: > My app is working locally fine with a field defined as > Field('Q2V','integer'), > > then in the controller I have been able to > len(Q2V) > > but after upload to Google App Engine I am tripping with > object of type 'long' has no le

[web2py] GAE is converting Integers to Longs and len() breaks

2013-08-17 Thread davedigerati
My app is working locally fine with a field defined as Field('Q2V','integer'), then in the controller I have been able to len(Q2V) but after upload to Google App Engine I am tripping with object of type 'long' has no len() I've been abel to discover that apparently GAE will map Inte