Hi,

sorry for not joining you on #web2py the other day, but as I said in
my mail I am currently busy moving house and had a system GoLive this
weekend. Not sure whether this is still relevant to you but my last
w2popenid commit (http://bitbucket.org/hc/w2popenid) does not include
Web2PyFetcher anymore, as it is  not actually required by GAE. The
Janrain lib works fine. I will try to put another provider together,
otherwise just get rid of the line where openid is told to use
Web2PyFetcher as its default fetcher.

Will try to catch you on IRC... what timezone are you in. It's GTM+2
over here.

HC

On Aug 9, 9:12 am, Bottiger <bottig...@gmail.com> wrote:
> I have been trying to create anOpenIDversion of Auth.
>
> I stumbled upon a very puzzling behavior that I think may be an
> underlying consequence of using exec. I do not know for sure though
> because the bug is very strange.
>
> First the setup. I am using hcvst'sopenidprovider so I can test
> locally.
>
> However, if I try to use it by using 
> theOpenIDauth:http://127.0.0.1:8000/cas/default/user/login
>
> then the provider address:http://127.0.0.1:8000/provider/openid/id/test
>
> will complain:
>
>   File "C:/Users/admin/Desktop/web2py/applications/provider/
> controllers/openid.py", line 7, in <module>
>     fromw2popenidimport Web2pyFetcher
> ImportError: cannot import name Web2pyFetcher
>
> Obviously,w2popeniddoes exist, and Web2pyFetcher is in the file but
> web2py chokes! But then I figured out if I restarted the server and
> then first visited:
>
> http://127.0.0.1:8000/provider/openid/id/test
>
> Then it worked just fine!
>
> So I am wondering if anyone can explain this bizarre behavior.
>
> Note: the "cas" application version ofw2popeniddoes not have a
> Web2pyFetcher but the "provider" one does. This does not excuse Web2Py
> though.
>
> Source Code:http://www.codexon.com/temp/bug.zip
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to