Re: [web2py] Re: Web2py binaries

2019-06-23 Thread icodk
The reason I ask is because I got errors running from source with ssl

On Sunday, June 23, 2019 at 11:32:26 AM UTC+2, Nico Zanferrari wrote:
>
> Hi all,
>
> I've just released a new set of the 2.18.5 Web2py frozen binaries, for 
> Windows and MacOs, with Python 2.7.16 and 3.7.3; grab them from my 
> repository  .
>
> The only update is that now the interactive shell is working fine ;-) This 
> was obtained by hacking the fake site.py module provided by PyInstaller 
> with the missing functions from the official cPython. The Mac APP which is 
> still not working at all (probably for Tcl/Tk wrong inclusion, see this 
> bug ), but the 
> Mac CMD program is working fine.
>
> Please, help with testing and report any difference with running from 
> sources.
>
> Cheers,
> Nico
>
> Il giorno gio 13 giu 2019 alle ore 19:33 Dave S  > ha scritto:
>
>>
>>
>> On Thursday, June 13, 2019 at 1:41:53 AM UTC-7, Dave S wrote:
>>>
>>>
>>>
>>> On Friday, April 19, 2019 at 1:16:29 AM UTC-7, Nico Zanferrari wrote:

 Thanks for testing, Dave, I'm happy to hear that it's working fine!

 I think that the Welcome app with latest web2py versions don't look so 
 fine in Windows and python 3, but I cannot see any difference from running 
 it from sources. Let me know if I'm wrong or there are anything else.

 Nico


>>> Still haven't tried running it from sources, but I finally brought over 
>>> another app (just one print to turn to print(), and it looked just fine 
>>> with my old static directory, but I decided I needed try the new static, 
>>> which I copied from the welcome app.  The banner again looked horrible, so 
>>> I did an inspect and clicked here and there and after a brief cloud of 
>>> dust  actually got the black band to show up.
>>>
>>> Looking more into the inspect window, there's a reference to 
>>> shockwave-flash, and I think Chrome doesn't like that (deprecated flash 
>>> years ago).  I don't think this is your problem, but I'm not sure why it's 
>>> in there.  I'm not going to hunt anything more down tonight, either.
>>>
>>> Here's a clue:  clicking on the web2py logo, which is an anchor to the 
>> web2py site, takes me to ... the web2py site, with the black band on top 
>> (for the navbar).  When I click back, my page displays the black band on 
>> top.  Does this indicate a missing resource?
>>
>> /dps
>>
>> -- 
>> 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 web...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/web2py/3ac332e6-3c4b-4ed4-83ff-196f9947894a%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/e9fe90e2-8b61-4b5d-8a67-63df808daa4c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Web2py binaries

2019-06-23 Thread icodk
Does it run with SSL (  -c ca.crt -k ca.key -p 443 ) ?


On Sunday, June 23, 2019 at 11:32:26 AM UTC+2, Nico Zanferrari wrote:
>
> Hi all,
>
> I've just released a new set of the 2.18.5 Web2py frozen binaries, for 
> Windows and MacOs, with Python 2.7.16 and 3.7.3; grab them from my 
> repository  .
>
> The only update is that now the interactive shell is working fine ;-) This 
> was obtained by hacking the fake site.py module provided by PyInstaller 
> with the missing functions from the official cPython. The Mac APP which is 
> still not working at all (probably for Tcl/Tk wrong inclusion, see this 
> bug ), but the 
> Mac CMD program is working fine.
>
> Please, help with testing and report any difference with running from 
> sources.
>
> Cheers,
> Nico
>
> Il giorno gio 13 giu 2019 alle ore 19:33 Dave S  > ha scritto:
>
>>
>>
>> On Thursday, June 13, 2019 at 1:41:53 AM UTC-7, Dave S wrote:
>>>
>>>
>>>
>>> On Friday, April 19, 2019 at 1:16:29 AM UTC-7, Nico Zanferrari wrote:

 Thanks for testing, Dave, I'm happy to hear that it's working fine!

 I think that the Welcome app with latest web2py versions don't look so 
 fine in Windows and python 3, but I cannot see any difference from running 
 it from sources. Let me know if I'm wrong or there are anything else.

 Nico


>>> Still haven't tried running it from sources, but I finally brought over 
>>> another app (just one print to turn to print(), and it looked just fine 
>>> with my old static directory, but I decided I needed try the new static, 
>>> which I copied from the welcome app.  The banner again looked horrible, so 
>>> I did an inspect and clicked here and there and after a brief cloud of 
>>> dust  actually got the black band to show up.
>>>
>>> Looking more into the inspect window, there's a reference to 
>>> shockwave-flash, and I think Chrome doesn't like that (deprecated flash 
>>> years ago).  I don't think this is your problem, but I'm not sure why it's 
>>> in there.  I'm not going to hunt anything more down tonight, either.
>>>
>>> Here's a clue:  clicking on the web2py logo, which is an anchor to the 
>> web2py site, takes me to ... the web2py site, with the black band on top 
>> (for the navbar).  When I click back, my page displays the black band on 
>> top.  Does this indicate a missing resource?
>>
>> /dps
>>
>> -- 
>> 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 web...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/web2py/3ac332e6-3c4b-4ed4-83ff-196f9947894a%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/26244e75-ea40-44ed-8de7-6f6fae8c7e34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Errors using web2py 2.18.5 , python3 and ssl

2019-06-23 Thread icodk
plan web2py 2.18.5 installation on windows from source on Windows 10 
running the welcome application without errors.
However trying to run it with SSL gives the following errors:
Command :
C:\Python37\python.exe C:\temp\web2py\web2py.py -c C:\temp\web2py\cert\ca.crt 
-k C:\temp\web2py\cert\ca.key -a "password" -i 192.168.1.100 -p 443

Errors:

C:\Temp\web2py>C:\Python37\python.exe C:\temp\web2py\web2py.py -c 
C:\temp\web2py\cert\ca.crt -k C:\temp\web2py\cert\ca.key -a "password" -i 
192.168.1.100 -p 443
web2py Web Framework
Created by Massimo Di Pierro, Copyright 2007-2019
Version 2.18.5-stable+timestamp.2019.04.07.21.13.59
Database drivers available: sqlite3, psycopg2, imaplib, pymysql, pyodbc

please visit:
https://192.168.1.100:443/
use "taskkill /f /pid 13408" to shutdown the web2py server


Exception in thread Thread-2:
Traceback (most recent call last):
  File "C:\Python37\lib\threading.py", line 917, in _bootstrap_inner
self.run()
  File "C:\temp\web2py\gluon\rocket.py", line 1268, in run
conn = Connection(*conn)
  File "C:\temp\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-3:
Traceback (most recent call last):
  File "C:\Python37\lib\threading.py", line 917, in _bootstrap_inner
self.run()
  File "C:\temp\web2py\gluon\rocket.py", line 1268, in run
conn = Connection(*conn)
  File "C:\temp\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-5:
Traceback (most recent call last):
  File "C:\Python37\lib\threading.py", line 917, in _bootstrap_inner
self.run()
  File "C:\temp\web2py\gluon\rocket.py", line 1268, in run
conn = Connection(*conn)
  File "C:\temp\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-6:
Traceback (most recent call last):
  File "C:\Python37\lib\threading.py", line 917, in _bootstrap_inner
self.run()
  File "C:\temp\web2py\gluon\rocket.py", line 1268, in run
conn = Connection(*conn)
  File "C:\temp\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-7:
Traceback (most recent call last):
  File "C:\Python37\lib\threading.py", line 917, in _bootstrap_inner
self.run()
  File "C:\temp\web2py\gluon\rocket.py", line 1268, in run
conn = Connection(*conn)
  File "C:\temp\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-8:
Traceback (most recent call last):
  File "C:\Python37\lib\threading.py", line 917, in _bootstrap_inner
self.run()
  File "C:\temp\web2py\gluon\rocket.py", line 1268, in run
conn = Connection(*conn)
  File "C:\temp\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-9:
Traceback (most recent call last):
  File "C:\Python37\lib\threading.py", line 917, in _bootstrap_inner
self.run()
  File "C:\temp\web2py\gluon\rocket.py", line 1268, in run
conn = Connection(*conn)
  File "C:\temp\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

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/e66d8c64-0115-44a4-8ee1-6289496c9538%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Web2py binaries

2019-06-23 Thread Nico Zanferrari
Hi all,

I've just released a new set of the 2.18.5 Web2py frozen binaries, for
Windows and MacOs, with Python 2.7.16 and 3.7.3; grab them from my
repository  .

The only update is that now the interactive shell is working fine ;-) This
was obtained by hacking the fake site.py module provided by PyInstaller
with the missing functions from the official cPython. The Mac APP which is
still not working at all (probably for Tcl/Tk wrong inclusion, see this bug
), but the Mac CMD
program is working fine.

Please, help with testing and report any difference with running from
sources.

Cheers,
Nico

Il giorno gio 13 giu 2019 alle ore 19:33 Dave S  ha
scritto:

>
>
> On Thursday, June 13, 2019 at 1:41:53 AM UTC-7, Dave S wrote:
>>
>>
>>
>> On Friday, April 19, 2019 at 1:16:29 AM UTC-7, Nico Zanferrari wrote:
>>>
>>> Thanks for testing, Dave, I'm happy to hear that it's working fine!
>>>
>>> I think that the Welcome app with latest web2py versions don't look so
>>> fine in Windows and python 3, but I cannot see any difference from running
>>> it from sources. Let me know if I'm wrong or there are anything else.
>>>
>>> Nico
>>>
>>>
>> Still haven't tried running it from sources, but I finally brought over
>> another app (just one print to turn to print(), and it looked just fine
>> with my old static directory, but I decided I needed try the new static,
>> which I copied from the welcome app.  The banner again looked horrible, so
>> I did an inspect and clicked here and there and after a brief cloud of
>> dust  actually got the black band to show up.
>>
>> Looking more into the inspect window, there's a reference to
>> shockwave-flash, and I think Chrome doesn't like that (deprecated flash
>> years ago).  I don't think this is your problem, but I'm not sure why it's
>> in there.  I'm not going to hunt anything more down tonight, either.
>>
>> Here's a clue:  clicking on the web2py logo, which is an anchor to the
> web2py site, takes me to ... the web2py site, with the black band on top
> (for the navbar).  When I click back, my page displays the black band on
> top.  Does this indicate a missing resource?
>
> /dps
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/3ac332e6-3c4b-4ed4-83ff-196f9947894a%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CAAE8D_BVDSzcj82quNrpTo9DioadvDvydbY_DgahubzjCJzCRA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.