Hello,

I am trying to run Web2py 2.18.5 on Windows 10. I am using Python 3.6.5

python web2py.py -a passw -k server.key -c server.crt -p 443 -i 0.0.0.0

Upon loading a web2py page, I get socket errors continuously, and pages do 
not load. This is the trace:

-p 443 -c server.crt -k server.key -a passwException in thread Thread-2:
Traceback (most recent call last):
  File "c:\Python36\Lib\threading.py", line 916, in _bootstrap_inner
    self.run()
  File "C:\Users\Clara\projects\connectcap2\web2py\gluon\rocket.py", line 
1268, in run
    conn = Connection(*conn)
  File "C:\Users\Clara\projects\connectcap2\web2py\gluon\rocket.py", line 
105, in __init__
    self.socket.settimeout(SOCKET_TIMEOUT)
OSError: [WinError 10038] An operation was attempted on something that is 
not a socket

Exception in thread Thread-4:
Traceback (most recent call last):
  File "c:\Python36\Lib\threading.py", line 916, in _bootstrap_inner
    self.run()
  File "C:\Users\Clara\projects\connectcap2\web2py\gluon\rocket.py", line 
1268, in run
    conn = Connection(*conn)
  File "C:\Users\Clara\projects\connectcap2\web2py\gluon\rocket.py", line 
105, in __init__
    self.socket.settimeout(SOCKET_TIMEOUT)
OSError: [WinError 10038] An operation was attempted on something that is 
not a socket

I tried running Python 2.7 and pages load, so the issue is aparently 
strictly related to python 3.6...

Has anyone been able to run SSL on windows with Python 3.6? Any help will 
be appreciated.

Regards,

Clara


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