I do not know. I have never seen this.... that function is
straightforward:

        from google.appengine.api import users
        .... users.create_login_url(request.env.path_info) ....

and you get a GAE error

>   File "/base/python_lib/versions/1/google/appengine/api/users.py", line 179, 
> in create_login_url
>     raise NotAllowedError
> NotAllowedError

Does it work on dev_appserver?


On Feb 19, 7:01 am, Carles G <[email protected]> wrote:
> Hi!
>
> I'm deploying a test aplication on GAE and almost everything woks
> fine, although I can't access appadmin.
>
> When i try to access through https the application fails and i can see
> the following error in the dashboard logs:
>
> In FILE: /base/data/home/apps/professorsecaib/1.339995859017462670/
> applications/professors/controllers/appadmin.py
>
> Traceback (most recent call last):
>   File "/base/data/home/apps/professorsecaib/1.339995859017462670/
> gluon/restricted.py", line 173, in restricted
>     exec ccode in environment
>   File "/base/data/home/apps/professorsecaib/1.339995859017462670/
> applications/professors/controllers/appadmin.py:index", line 33, in
> <module>
>   File "/base/data/home/apps/professorsecaib/1.339995859017462670/
> gluon/fileutils.py", line 271, in check_credentials
>     % users.create_login_url(request.env.path_info)
>   File "/base/python_lib/versions/1/google/appengine/api/users.py",
> line 179, in create_login_url
>     raise NotAllowedError
> NotAllowedError
>
> I searched the list but i couldn't find the answer.
>
> Thanks in advance and sorry for my poor english.

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to