On Thursday, October 29, 2015 at 12:46:11 AM UTC-7, Alex Glaros wrote:
>
> update,
>
> every single field gets passed correctly except adminName1, which clearly 
> shows as "California" in the raw data
>


That's item 0; the error is in item 1 (the French localtion).  the 
"backslash-c-e" sequence shows in that one and in the error message you had 
in the original post.

 /dps


> {{cc=[]}}  
>
>      {{for x in location_data_from_postal_code['postalcodes']:}}
>         {{c=x['countryCode']}}
>    {{countryCode=x['countryCode']}}
> {{adminCode1=x['adminCode1']}}
> {{adminName1=x['adminName1']}}
> {{adminCode2=x['adminCode2']}} 
> {{adminName2=x['adminName2']}} 
>
>         {{if c not in cc:}}                           
> {{countryName=db(db.Country.countryCode==c).select(limitby=(0,1)).first()}}
> <h3>{{=A(countryName.countryName, 
> _href=URL('default','verify_correct_location', vars=dict(countryCode=c, 
> adminCode1=adminCode1, adminName1=adminName1,  adminCode2=adminCode2, 
> adminName2=adminName2, your_postal_code=your_postal_code, 
> location_data_from_postal_code=location_data_from_postal_code, 
> populating_address_type=populating_address_type)))}}</h3>
>   {{pass}}
>     {{pass}}  <!-- adminName1 causes crash in the next function -->
>

-- 
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.

Reply via email to