Hi, 
the latest version of web2py doesn't include the most recent pydal.
I'd suggest trying your app with the last development version of web2py.

Paolo

On Monday, August 17, 2015 at 6:48:11 PM UTC+2, Jaime Sempere wrote:
>
> Hi,
>
> I am having problems when I try to deploy my app on local SDK GAE.
>
> I can start the app on my local gae, but when I try to register first 
> user, after fill the form and press submit, I got this:
>
> Traceback (most recent call last):
>   File "/home/jukvoxman/web2py/gluon/restricted.py", line 227, in 
> restricted
>     exec ccode in environment
>   File 
> "/home/jukvoxman/web2py/applications/relatos/controllers/default.py", line 
> 219, in <module>
>   File "/home/jukvoxman/web2py/gluon/globals.py", line 412, in <lambda>
>     self._caller = lambda f: f()
>   File 
> "/home/jukvoxman/web2py/applications/relatos/controllers/default.py", line 
> 196, in user
>     return dict(form=auth())
>   File "/home/jukvoxman/web2py/gluon/tools.py", line 1594, in __call__
>     return getattr(self, args[0])()
>   File "/home/jukvoxman/web2py/gluon/tools.py", line 2901, in register
>     self.settings.create_user_groups % form.vars, description)
>   File "/home/jukvoxman/web2py/gluon/tools.py", line 3636, in add_group
>     role=role, description=description)
>   File "/home/jukvoxman/web2py/gluon/packages/dal/pydal/objects.py", line 
> 691, in insert
>     ret = self._db._adapter.insert(self, self._listify(fields))
>   File 
> "/home/jukvoxman/web2py/gluon/packages/dal/pydal/adapters/google_adapters.py",
>  
> line 549, in insert
>     dfields=dict((f.name,self.represent(v,f.type)) for f,v in fields)
>   File 
> "/home/jukvoxman/web2py/gluon/packages/dal/pydal/adapters/google_adapters.py",
>  
> line 549, in <genexpr>
>     dfields=dict((f.name,self.represent(v,f.type)) for f,v in fields)
>   File 
> "/home/jukvoxman/web2py/gluon/packages/dal/pydal/adapters/google_adapters.py",
>  
> line 171, in represent
>     obj = NoSQLAdapter.represent(self, obj, fieldtype)
>   File "/home/jukvoxman/web2py/gluon/packages/dal/pydal/adapters/base.py", 
> line 1858, in represent
>     obj = to_unicode(obj)
>   File "/home/jukvoxman/web2py/gluon/packages/dal/pydal/_compat.py", line 
> 27, in to_unicode
>     return unicode(obj)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 15: 
> ordinal not in range(128)
>
>
> I have done everything: look for other posts, I have deleted any special 
> character found on my code (0xc3 is supposed to be an Á, which is strange 
> because I have not found any of them on code), deleted the 'list:strings' 
> fields, and so on.... I have tried with 2.11.2 version and the just 
> released one.
>
> I have tried a lot of things, but I have just given up... could any one 
> give some light on my issue? 
>
> I'd really appreciate it. Thanks in advance!
>
>

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