I tried to install it

It answers:

"This extension should not be used with Python 2.6 or later (already built
in), and has not been tested with Python 2.3.4 or earlier."

It looks like it is currently installed

In the console of python i could import ssl

I am working with the  release: "1.3.7" of GAE Sandbox.

Any idea ? I really apreciate any help, I need to go to production as soon
as posible.

Thanks!



On Mon, Oct 18, 2010 at 4:16 PM, Michele Comitini <
michele.comit...@gmail.com> wrote:

> The import was just to test if your application was able to import the
> "ssl" module.
>
> Since it does not work it is not installed, see here:
>
> http://pypi.python.org/pypi/ssl/1.15
>
> install it in your python (the python you use for GAE) and try again!
>
> mic
>
>
> 2010/10/18 Napoleon Moreno <napoleo...@gmail.com>:
> > Thanks for your answer.
> >
> > where should i import ssl?
> >
> > I am try in db.py and the facebook.py. it does not work.
> >
> > best regards
> > Napoleon
> >
> > On Mon, Oct 18, 2010 at 2:12 PM, Michele Comitini
> > <michele.comit...@gmail.com> wrote:
> >>
> >> That error is usually because you are using a python version that does
> >> not find the ssl module.
> >>
> >> in your GAE env try the following:
> >>
> >>
> >> import ssl
> >>
> >> mic
> >>
> >>
> >> 2010/10/18 Napoleon Moreno <napoleo...@gmail.com>:
> >> > Good day
> >> >
> >> > Thanks a lot for share this code.
> >> >
> >> > It works well in my local sqlite environment.
> >> >
> >> > I can't make it work in my local GAE.
> >> >
> >> > It looks like it  makes the authentication in facebook , but when it
> >> > returns
> >> > it raise the error in P.D
> >> >
> >> > Best regard
> >> > Napoleon
> >> >
> >> > Traceback (most recent call last):
> >> >   File "/home/napoleon/triviaapp/web2py/gluon/restricted.py", line
> 188,
> >> > in
> >> > restricted
> >> >     exec ccode in environment
> >> >   File
> >> >
> >> >
> "/home/napoleon/triviaapp/web2py/applications/welcome/controllers/default.py:user",
> >> > line 312, in <module>
> >> >   File "/home/napoleon/triviaapp/web2py/gluon/globals.py", line 96, in
> >> > <lambda>
> >> >     self._caller = lambda f: f()
> >> >   File
> >> >
> >> >
> "/home/napoleon/triviaapp/web2py/applications/welcome/controllers/default.py:user",
> >> > line 291, in user
> >> >   File "/home/napoleon/triviaapp/web2py/gluon/tools.py", line 1023, in
> >> > __call__
> >> >     return self.login()
> >> >   File "/home/napoleon/triviaapp/web2py/gluon/tools.py", line 1462, in
> >> > login
> >> >     cas_user = cas.get_user()
> >> >   File
> >> > "/home/napoleon/triviaapp/web2py/applications/welcome/models/db.py",
> >> > line 119, in get_user
> >> >     user = self.graph.get_object("me")
> >> >   File
> >> >
> >> >
> "/home/napoleon/triviaapp/web2py/applications/welcome/modules/facebook.py",
> >> > line 96, in get_object
> >> >     return self.request(id, args)
> >> >   File
> >> >
> >> >
> "/home/napoleon/triviaapp/web2py/applications/welcome/modules/facebook.py",
> >> > line 180, in request
> >> >     urllib.urlencode(args), post_data)
> >> >   File "/usr/lib/python2.6/urllib.py", line 86, in urlopen
> >> >     return opener.open(url)
> >> >   File "/usr/lib/python2.6/urllib.py", line 202, in open
> >> >     return self.open_unknown(fullurl, data)
> >> >   File "/usr/lib/python2.6/urllib.py", line 214, in open_unknown
> >> >     raise IOError, ('url error', 'unknown url type', type)
> >> > IOError: [Errno url error] unknown url type: 'https'
> >> >
> >> >
> >> > On Mon, Sep 27, 2010 at 9:49 PM, bally boy <ballybo...@gmail.com>
> wrote:
> >> >>
> >> >> Looks real cool Mic.. thanks!
> >> >>
> >> >> On Tue, Sep 28, 2010 at 2:16 AM, Michele Comitini
> >> >> <michele.comit...@gmail.com> wrote:
> >> >>>
> >> >>> Hi!
> >> >>>
> >> >>> You can start here:
> >> >>>
> >> >>>
> >> >>>
> >> >>>
> http://code.google.com/r/michelecomitini-facebookaccess/source/browse/#hg/applications/helloFacebook
> >> >>>
> >> >>> you can look and even copy! ;-)
> >> >>>
> >> >>> mic
> >> >>>
> >> >>> 2010/9/27 bally boy <ballybo...@gmail.com>:
> >> >>> > Hi has anyone here created any facebook apps using web2py.. would
> >> >>> > love
> >> >>> > to
> >> >>> > have a look!
> >> >>> > ( and well if anyone has ever documented anything.. that would be
> a
> >> >>> > treat!)
> >> >>> >
> >> >>
> >> >
> >> >
> >
> >
>

Reply via email to