python - Problems with Tornado Web Server -


I am using OSX 10.58 with the following versions:

  curl - change Curl 7.16.4 (libidium / i565) libcurl / 7.21.0 OpenSSL / 0.9.7l zlib / 1.2.3 Protocol: IPv6 Largefile NTLM: dict file FTP FTPS http https imap IMAPS ldap pop3 RTSP smtp smtps telnet TFTP Features POP3S ldaps pycurl 7.16.2.1 processing pycurl: SSL pycurl == 7.16.2.1 Search for best match setups for setuptools processing dependencies /library/Python/2.5/site-packages/setuptools-0.6c11-py2.5 for setuptools Deprecation of .egg processing dependencies Io libz-7.16.2.1-py2.5-macosx-10.5-i386.egg pycurl 7.16.2.1 Using / Library / Python/2.5/site-packages/pycurl-7.16.2.1-py2 already easy to install.pth The active version is simplejson 2.1.1 processing simplejson-2.1.1-py2.5-: pycurl == pycurl == 7.16.2.1 for search for simplejson best match 7.16.2.1 for finished processing dependencies .5-macosx- 10.5-i386.egg processing dependence MacCox-10.5-Eye .386.GG Simple Generation 2.1.1 is already for simplejson   

I founded Torneda and is only a demo, which seems to work helloworld. When I provide my Google Certification credentials, the rest demo hangs. I feel that it may have to be done with my paul / curl editions because it took me a long time to compile and build. I am hoping that there is no mismatch.

Thanks - Joe

Seeing the Python process running the demo here:

  ./ demos / auth / authdemo.py [I 100728 14:20:39 web: 824] 302 GET / (127.0.0.1) 1.41ms [I 100728 14:20:39 web: 824] 302 GET / Auth / login? Next =% 2F (127.0.0.1) 0.81ms [I 100728 14:20:40 httpclient: 498] Get https://www.google.com/accounts/o8/ud?openid.op_endpoint=https%3A% 2F% 2Fwww.google.com% 2Faccounts% 2Fo8% 2Fud & amp; Openid.sig = 1cEG6lxPr87e6hcOmTge% 2BhM7Yvk% 3D & amp; Openid.ext1.type.email = http% 3A% 2F% 2Faxschema.org% 2Fcontact% 2Femail & amp; Openid Ext1.value.firstname = firstname & amp; Openid.response_nonce = 2010-07-28T18% 3A20% 3A40ZWatqZPv83GqxXg & amp; Openid.ext1.mode = fetch_response & amp; Openid.ext1.type.lastname = http% 3A% 2F% 2Faxschema.org% 2FnamePerson% 2Flast & amp; Openid.return_to = http% 3A% 2F% 2Flocalhost% 3A8888% 2Fauth% 2Flogin & amp; Openid.ext1.value.language = en-USA & amp; Openid.claimed_id = https% 3A% 2F% 2Fwww.google.com% 2Faccounts% 2Fo8% 2Fid% 3Fid% 3DAItOa wnuikv4sbZBpYTPyZHhtozdE1H8u44OzTM & amp; Openid.ns.ext1 = http% 3A% 2F% 2Fopenid.net% 2Fsrv% 2Fax% 2F1.0 & amp; Openid.signed = op_endpoint% 2claimed_id% 2Cidentity% 2Creturn_to% 2Cresponse_nonce% 2Cassoc_handle% 2Cns.ext1% 2Cext1.mode% 2Cext1.type.firstname% 2Cext1.value.firstname% 2Cext1.type.email% 2Cext1.value.email% 2Cext1. Type.language% 2Cext1.value.language% 2Cext1.type.lastname% 2Cext1.value.lastname & amp; Openid Ext1.value.lastname = mylastname & amp; Openid.ext1.value.email = myname% 40gmail.com & amp; Openid.assoc_handle = AOQobUdxlHZ0vMhEpSLIS5MbkynzadEc7XuFx4IOl5kN2sq3SeWvpVIc & amp; Openid.ns = http% 3A% 2F% 2Fspecs.openid.net% 2Fauth% 2F2.0 & amp; Openid.mode = check_authentication & amp; Openid.identity = https% 3A% 2F% 2Fwww.google.com% 2Faccounts% 2Fo8% 2Fid% 3Fid% 3DAItOawnuikv4sbZBpYTPyZHhtozdE1H8u44OzTM & amp; Openid.ext1.type.firstname = http% 3A% 2F% 2Faxschema.org% 2FnamePerson% 2Ffirst & amp; Openid.ext1.type.language = http% 3A% 2F% 2Faxschema.org% 2Fpref% 2Flanguage  

It seems that the cap using Python 2.5, try to use only the 2.6-2.7 version of Python, it should help.

Tornado prerequisites:

On Python 2.6 and 2.7, there is no dependency outside the Python Standard Library, although PycURL (Version 7.18.2 or higher required; 7.21.1 or higher recommended) can be used if desired.

On Python 2.5, SideJason and Python development headers (usually from Pathon-Dev, your operating system)


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -