Re: [web2py] Re: How to solve the OSError: [Errno 9] Bad file descriptor error

2019-07-11 Thread Maurice Waka
Oh. OK. Let me have a look at it.
Kind regards

On Thu, 11 Jul 2019, 18:50 Jim Steil  wrote:

> Then you're just starting web2py normally, not using nginx and uwsgi.
>
> Have you gone through all the steps in the digital ocean write-up?
>
> Note, there were significant changes in ubuntu between 14.04 and 18 where
> the 14.04 scripts and install notes may not work.
>
> But, if you look in the web2py scripts folder I believe there is a script
> to install web2py on ubuntu 16 and later using nginx and uwsgi that should
> work.
>
> -Jim
>
>
> On Thu, Jul 11, 2019 at 10:46 AM Maurice Waka 
> wrote:
>
>> I do cd web2py, then python3 web2py.py
>>
>> On Thu, 11 Jul 2019, 18:41 Jim Steil  wrote:
>>
>>> Ok, how are you starting your web2py server in this environment?
>>>
>>> On Thu, Jul 11, 2019 at 10:37 AM Maurice Waka 
>>> wrote:
>>>
 Unfortunately, they cant be opened with text editor

 On Thu, Jul 11, 2019 at 6:28 PM Jim Steil  wrote:

> Can't you open the files with a text editor?  Right-click and 'Open
> With Text Editor'
>
> -Jim
>
> On Thu, Jul 11, 2019 at 10:22 AM Maurice Waka 
> wrote:
>
>> FYI
>>
>> On Thu, Jul 11, 2019 at 6:03 PM Lovedie JC 
>> wrote:
>>
>>> How do I show them.
>>> I can see them in the folders but can't show them.
>>>
>>> On Thu, 11 Jul 2019 at 17:27, Jim Steil  wrote:
>>>
 Can you show:

 /etc/nginx/sites-enabled/web2py

 and

 /etc/uwsgi/web2py.ini

 -Jim

 On Thu, Jul 11, 2019 at 9:21 AM Lovedie JC 
 wrote:

> Web2py works well on the local machine. But when I follow the
> steps shown on the links, I get the error message.
>
> On Thu, 11 Jul 2019 at 17:13, Jim Steil 
> wrote:
>
>> Does it work on your local Ubuntu install?
>>
>> -Jim
>>
>> On Thu, Jul 11, 2019 at 9:08 AM Lovedie JC 
>> wrote:
>>
>>> I'm using Ubuntu 18.04 web2py, python 3.6.
>>> I was trying to deploy to digital Ocean
>>>
>>> On Thu, 11 Jul 2019, 16:28 Jim Steil 
>>> wrote:
>>>
 On Windows?  Linux?  Digital Ocean?

 On Thu, Jul 11, 2019 at 8:26 AM Maurice Waka <
 mauricew...@gmail.com> wrote:

> The problem is with the welcome app. I haven't tried any other
> app.
>
>
> On Thu, 11 Jul 2019, 16:23 Jim Steil 
> wrote:
>
>> Sorry then, I'm having trouble following what your problem
>> is.  The first link you gave references a question on a windows 
>> machine
>> having SSL errors.  The traceback here is on a linux machine and 
>> the link
>> at the bottom references installing on Digital Ocean.
>>
>> Could you state the problem you're having now?  Are you
>> seeing the problem with one of your apps or with the welcome 
>> app?  Or,
>> maybe someone else could just in that understands what is going 
>> on.
>>
>> -Jim
>>
>>
>> On Thu, Jul 11, 2019 at 7:40 AM Maurice Waka <
>> mauricew...@gmail.com> wrote:
>>
>>> This has nothing to do with web2py code. The code works well
>>> but only using the above links I showed did I get the error.
>>> Regards
>>>
>>> On Thu, Jul 11, 2019 at 3:04 PM Jim S 
>>> wrote:
>>>
 Can you show some code?  The controller and view where this
 is happening?

 -Jim

 On Thursday, July 11, 2019 at 2:00:44 AM UTC-5, Maurice
 Waka wrote:
>
> I couldn't get an answer on this link
> 
> .
>
> My traceback is this
>
> ERROR:Rocket.Errors.Port8000:Traceback (most recent call
> last):
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line
> 555, in listen
> sock = self.wrap_socket(sock)
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line
> 507, in wrap_socket
> ssl_version=ssl.PROTOCOL_SSLv23)
>   File "/usr/lib/python3.6/ssl.py", line 1158, in
> wrap_socket
> ciphers=ciphers)
>   File "/usr/lib/python3.6/ssl.py", line 817, in __init__
> self.do_handshake()
>   File 

Re: [web2py] Re: How to solve the OSError: [Errno 9] Bad file descriptor error

2019-07-11 Thread Jim Steil
Then you're just starting web2py normally, not using nginx and uwsgi.

Have you gone through all the steps in the digital ocean write-up?

Note, there were significant changes in ubuntu between 14.04 and 18 where
the 14.04 scripts and install notes may not work.

But, if you look in the web2py scripts folder I believe there is a script
to install web2py on ubuntu 16 and later using nginx and uwsgi that should
work.

-Jim


On Thu, Jul 11, 2019 at 10:46 AM Maurice Waka  wrote:

> I do cd web2py, then python3 web2py.py
>
> On Thu, 11 Jul 2019, 18:41 Jim Steil  wrote:
>
>> Ok, how are you starting your web2py server in this environment?
>>
>> On Thu, Jul 11, 2019 at 10:37 AM Maurice Waka 
>> wrote:
>>
>>> Unfortunately, they cant be opened with text editor
>>>
>>> On Thu, Jul 11, 2019 at 6:28 PM Jim Steil  wrote:
>>>
 Can't you open the files with a text editor?  Right-click and 'Open
 With Text Editor'

 -Jim

 On Thu, Jul 11, 2019 at 10:22 AM Maurice Waka 
 wrote:

> FYI
>
> On Thu, Jul 11, 2019 at 6:03 PM Lovedie JC  wrote:
>
>> How do I show them.
>> I can see them in the folders but can't show them.
>>
>> On Thu, 11 Jul 2019 at 17:27, Jim Steil  wrote:
>>
>>> Can you show:
>>>
>>> /etc/nginx/sites-enabled/web2py
>>>
>>> and
>>>
>>> /etc/uwsgi/web2py.ini
>>>
>>> -Jim
>>>
>>> On Thu, Jul 11, 2019 at 9:21 AM Lovedie JC 
>>> wrote:
>>>
 Web2py works well on the local machine. But when I follow the steps
 shown on the links, I get the error message.

 On Thu, 11 Jul 2019 at 17:13, Jim Steil 
 wrote:

> Does it work on your local Ubuntu install?
>
> -Jim
>
> On Thu, Jul 11, 2019 at 9:08 AM Lovedie JC 
> wrote:
>
>> I'm using Ubuntu 18.04 web2py, python 3.6.
>> I was trying to deploy to digital Ocean
>>
>> On Thu, 11 Jul 2019, 16:28 Jim Steil  wrote:
>>
>>> On Windows?  Linux?  Digital Ocean?
>>>
>>> On Thu, Jul 11, 2019 at 8:26 AM Maurice Waka <
>>> mauricew...@gmail.com> wrote:
>>>
 The problem is with the welcome app. I haven't tried any other
 app.


 On Thu, 11 Jul 2019, 16:23 Jim Steil 
 wrote:

> Sorry then, I'm having trouble following what your problem
> is.  The first link you gave references a question on a windows 
> machine
> having SSL errors.  The traceback here is on a linux machine and 
> the link
> at the bottom references installing on Digital Ocean.
>
> Could you state the problem you're having now?  Are you seeing
> the problem with one of your apps or with the welcome app?  Or, 
> maybe
> someone else could just in that understands what is going on.
>
> -Jim
>
>
> On Thu, Jul 11, 2019 at 7:40 AM Maurice Waka <
> mauricew...@gmail.com> wrote:
>
>> This has nothing to do with web2py code. The code works well
>> but only using the above links I showed did I get the error.
>> Regards
>>
>> On Thu, Jul 11, 2019 at 3:04 PM Jim S 
>> wrote:
>>
>>> Can you show some code?  The controller and view where this
>>> is happening?
>>>
>>> -Jim
>>>
>>> On Thursday, July 11, 2019 at 2:00:44 AM UTC-5, Maurice Waka
>>> wrote:

 I couldn't get an answer on this link
 
 .

 My traceback is this

 ERROR:Rocket.Errors.Port8000:Traceback (most recent call
 last):
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 555
 , in listen
 sock = self.wrap_socket(sock)
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 507
 , in wrap_socket
 ssl_version=ssl.PROTOCOL_SSLv23)
   File "/usr/lib/python3.6/ssl.py", line 1158, in
 wrap_socket
 ciphers=ciphers)
   File "/usr/lib/python3.6/ssl.py", line 817, in __init__
 self.do_handshake()
   File "/usr/lib/python3.6/ssl.py", line 1077, in
 do_handshake
 self._sslobj.do_handshake()
   File "/usr/lib/python3.6/ssl.py", line 689, in
 do_handshake
 self._sslobj.do_handshake()
 OSError: [Errno 0] 

Re: [web2py] Re: How to solve the OSError: [Errno 9] Bad file descriptor error

2019-07-11 Thread Maurice Waka
I do cd web2py, then python3 web2py.py

On Thu, 11 Jul 2019, 18:41 Jim Steil  wrote:

> Ok, how are you starting your web2py server in this environment?
>
> On Thu, Jul 11, 2019 at 10:37 AM Maurice Waka 
> wrote:
>
>> Unfortunately, they cant be opened with text editor
>>
>> On Thu, Jul 11, 2019 at 6:28 PM Jim Steil  wrote:
>>
>>> Can't you open the files with a text editor?  Right-click and 'Open With
>>> Text Editor'
>>>
>>> -Jim
>>>
>>> On Thu, Jul 11, 2019 at 10:22 AM Maurice Waka 
>>> wrote:
>>>
 FYI

 On Thu, Jul 11, 2019 at 6:03 PM Lovedie JC  wrote:

> How do I show them.
> I can see them in the folders but can't show them.
>
> On Thu, 11 Jul 2019 at 17:27, Jim Steil  wrote:
>
>> Can you show:
>>
>> /etc/nginx/sites-enabled/web2py
>>
>> and
>>
>> /etc/uwsgi/web2py.ini
>>
>> -Jim
>>
>> On Thu, Jul 11, 2019 at 9:21 AM Lovedie JC 
>> wrote:
>>
>>> Web2py works well on the local machine. But when I follow the steps
>>> shown on the links, I get the error message.
>>>
>>> On Thu, 11 Jul 2019 at 17:13, Jim Steil  wrote:
>>>
 Does it work on your local Ubuntu install?

 -Jim

 On Thu, Jul 11, 2019 at 9:08 AM Lovedie JC 
 wrote:

> I'm using Ubuntu 18.04 web2py, python 3.6.
> I was trying to deploy to digital Ocean
>
> On Thu, 11 Jul 2019, 16:28 Jim Steil  wrote:
>
>> On Windows?  Linux?  Digital Ocean?
>>
>> On Thu, Jul 11, 2019 at 8:26 AM Maurice Waka <
>> mauricew...@gmail.com> wrote:
>>
>>> The problem is with the welcome app. I haven't tried any other
>>> app.
>>>
>>>
>>> On Thu, 11 Jul 2019, 16:23 Jim Steil 
>>> wrote:
>>>
 Sorry then, I'm having trouble following what your problem is.
 The first link you gave references a question on a windows machine 
 having
 SSL errors.  The traceback here is on a linux machine and the link 
 at the
 bottom references installing on Digital Ocean.

 Could you state the problem you're having now?  Are you seeing
 the problem with one of your apps or with the welcome app?  Or, 
 maybe
 someone else could just in that understands what is going on.

 -Jim


 On Thu, Jul 11, 2019 at 7:40 AM Maurice Waka <
 mauricew...@gmail.com> wrote:

> This has nothing to do with web2py code. The code works well
> but only using the above links I showed did I get the error.
> Regards
>
> On Thu, Jul 11, 2019 at 3:04 PM Jim S 
> wrote:
>
>> Can you show some code?  The controller and view where this
>> is happening?
>>
>> -Jim
>>
>> On Thursday, July 11, 2019 at 2:00:44 AM UTC-5, Maurice Waka
>> wrote:
>>>
>>> I couldn't get an answer on this link
>>> 
>>> .
>>>
>>> My traceback is this
>>>
>>> ERROR:Rocket.Errors.Port8000:Traceback (most recent call
>>> last):
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 555,
>>> in listen
>>> sock = self.wrap_socket(sock)
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 507,
>>> in wrap_socket
>>> ssl_version=ssl.PROTOCOL_SSLv23)
>>>   File "/usr/lib/python3.6/ssl.py", line 1158, in
>>> wrap_socket
>>> ciphers=ciphers)
>>>   File "/usr/lib/python3.6/ssl.py", line 817, in __init__
>>> self.do_handshake()
>>>   File "/usr/lib/python3.6/ssl.py", line 1077, in
>>> do_handshake
>>> self._sslobj.do_handshake()
>>>   File "/usr/lib/python3.6/ssl.py", line 689, in
>>> do_handshake
>>> self._sslobj.do_handshake()
>>> OSError: [Errno 0] Error
>>>
>>>
>>> Exception in thread Thread-10:
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python3.6/threading.py", line 916, in
>>> _bootstrap_inner
>>> self.run()
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268
>>> , in run
>>> conn = Connection(*conn)
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105,
>>> in __init__
>>> self.socket.settimeout(SOCKET_TIMEOUT)
>>> OSError: [Errno 9] Bad file 

Re: [web2py] Re: How to solve the OSError: [Errno 9] Bad file descriptor error

2019-07-11 Thread Jim Steil
Ok, how are you starting your web2py server in this environment?

On Thu, Jul 11, 2019 at 10:37 AM Maurice Waka  wrote:

> Unfortunately, they cant be opened with text editor
>
> On Thu, Jul 11, 2019 at 6:28 PM Jim Steil  wrote:
>
>> Can't you open the files with a text editor?  Right-click and 'Open With
>> Text Editor'
>>
>> -Jim
>>
>> On Thu, Jul 11, 2019 at 10:22 AM Maurice Waka 
>> wrote:
>>
>>> FYI
>>>
>>> On Thu, Jul 11, 2019 at 6:03 PM Lovedie JC  wrote:
>>>
 How do I show them.
 I can see them in the folders but can't show them.

 On Thu, 11 Jul 2019 at 17:27, Jim Steil  wrote:

> Can you show:
>
> /etc/nginx/sites-enabled/web2py
>
> and
>
> /etc/uwsgi/web2py.ini
>
> -Jim
>
> On Thu, Jul 11, 2019 at 9:21 AM Lovedie JC  wrote:
>
>> Web2py works well on the local machine. But when I follow the steps
>> shown on the links, I get the error message.
>>
>> On Thu, 11 Jul 2019 at 17:13, Jim Steil  wrote:
>>
>>> Does it work on your local Ubuntu install?
>>>
>>> -Jim
>>>
>>> On Thu, Jul 11, 2019 at 9:08 AM Lovedie JC 
>>> wrote:
>>>
 I'm using Ubuntu 18.04 web2py, python 3.6.
 I was trying to deploy to digital Ocean

 On Thu, 11 Jul 2019, 16:28 Jim Steil  wrote:

> On Windows?  Linux?  Digital Ocean?
>
> On Thu, Jul 11, 2019 at 8:26 AM Maurice Waka <
> mauricew...@gmail.com> wrote:
>
>> The problem is with the welcome app. I haven't tried any other
>> app.
>>
>>
>> On Thu, 11 Jul 2019, 16:23 Jim Steil  wrote:
>>
>>> Sorry then, I'm having trouble following what your problem is.
>>> The first link you gave references a question on a windows machine 
>>> having
>>> SSL errors.  The traceback here is on a linux machine and the link 
>>> at the
>>> bottom references installing on Digital Ocean.
>>>
>>> Could you state the problem you're having now?  Are you seeing
>>> the problem with one of your apps or with the welcome app?  Or, 
>>> maybe
>>> someone else could just in that understands what is going on.
>>>
>>> -Jim
>>>
>>>
>>> On Thu, Jul 11, 2019 at 7:40 AM Maurice Waka <
>>> mauricew...@gmail.com> wrote:
>>>
 This has nothing to do with web2py code. The code works well
 but only using the above links I showed did I get the error.
 Regards

 On Thu, Jul 11, 2019 at 3:04 PM Jim S 
 wrote:

> Can you show some code?  The controller and view where this is
> happening?
>
> -Jim
>
> On Thursday, July 11, 2019 at 2:00:44 AM UTC-5, Maurice Waka
> wrote:
>>
>> I couldn't get an answer on this link
>> 
>> .
>>
>> My traceback is this
>>
>> ERROR:Rocket.Errors.Port8000:Traceback (most recent call last
>> ):
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 555,
>> in listen
>> sock = self.wrap_socket(sock)
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 507,
>> in wrap_socket
>> ssl_version=ssl.PROTOCOL_SSLv23)
>>   File "/usr/lib/python3.6/ssl.py", line 1158, in wrap_socket
>> ciphers=ciphers)
>>   File "/usr/lib/python3.6/ssl.py", line 817, in __init__
>> self.do_handshake()
>>   File "/usr/lib/python3.6/ssl.py", line 1077, in
>> do_handshake
>> self._sslobj.do_handshake()
>>   File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
>> self._sslobj.do_handshake()
>> OSError: [Errno 0] Error
>>
>>
>> Exception in thread Thread-10:
>> Traceback (most recent call last):
>>   File "/usr/lib/python3.6/threading.py", line 916, in
>> _bootstrap_inner
>> self.run()
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268,
>> in run
>> conn = Connection(*conn)
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105,
>> in __init__
>> self.socket.settimeout(SOCKET_TIMEOUT)
>> OSError: [Errno 9] Bad file descriptor
>>
>>
>> Exception in thread Thread-11:
>> Traceback (most recent call last):
>>   File "/usr/lib/python3.6/threading.py", line 916, in
>> _bootstrap_inner
>> self.run()

Re: [web2py] Re: How to solve the OSError: [Errno 9] Bad file descriptor error

2019-07-11 Thread Maurice Waka
Unfortunately, they cant be opened with text editor

On Thu, Jul 11, 2019 at 6:28 PM Jim Steil  wrote:

> Can't you open the files with a text editor?  Right-click and 'Open With
> Text Editor'
>
> -Jim
>
> On Thu, Jul 11, 2019 at 10:22 AM Maurice Waka 
> wrote:
>
>> FYI
>>
>> On Thu, Jul 11, 2019 at 6:03 PM Lovedie JC  wrote:
>>
>>> How do I show them.
>>> I can see them in the folders but can't show them.
>>>
>>> On Thu, 11 Jul 2019 at 17:27, Jim Steil  wrote:
>>>
 Can you show:

 /etc/nginx/sites-enabled/web2py

 and

 /etc/uwsgi/web2py.ini

 -Jim

 On Thu, Jul 11, 2019 at 9:21 AM Lovedie JC  wrote:

> Web2py works well on the local machine. But when I follow the steps
> shown on the links, I get the error message.
>
> On Thu, 11 Jul 2019 at 17:13, Jim Steil  wrote:
>
>> Does it work on your local Ubuntu install?
>>
>> -Jim
>>
>> On Thu, Jul 11, 2019 at 9:08 AM Lovedie JC 
>> wrote:
>>
>>> I'm using Ubuntu 18.04 web2py, python 3.6.
>>> I was trying to deploy to digital Ocean
>>>
>>> On Thu, 11 Jul 2019, 16:28 Jim Steil  wrote:
>>>
 On Windows?  Linux?  Digital Ocean?

 On Thu, Jul 11, 2019 at 8:26 AM Maurice Waka 
 wrote:

> The problem is with the welcome app. I haven't tried any other app.
>
>
> On Thu, 11 Jul 2019, 16:23 Jim Steil  wrote:
>
>> Sorry then, I'm having trouble following what your problem is.
>> The first link you gave references a question on a windows machine 
>> having
>> SSL errors.  The traceback here is on a linux machine and the link 
>> at the
>> bottom references installing on Digital Ocean.
>>
>> Could you state the problem you're having now?  Are you seeing
>> the problem with one of your apps or with the welcome app?  Or, maybe
>> someone else could just in that understands what is going on.
>>
>> -Jim
>>
>>
>> On Thu, Jul 11, 2019 at 7:40 AM Maurice Waka <
>> mauricew...@gmail.com> wrote:
>>
>>> This has nothing to do with web2py code. The code works well but
>>> only using the above links I showed did I get the error.
>>> Regards
>>>
>>> On Thu, Jul 11, 2019 at 3:04 PM Jim S 
>>> wrote:
>>>
 Can you show some code?  The controller and view where this is
 happening?

 -Jim

 On Thursday, July 11, 2019 at 2:00:44 AM UTC-5, Maurice Waka
 wrote:
>
> I couldn't get an answer on this link
> 
> .
>
> My traceback is this
>
> ERROR:Rocket.Errors.Port8000:Traceback (most recent call last
> ):
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 555,
> in listen
> sock = self.wrap_socket(sock)
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 507,
> in wrap_socket
> ssl_version=ssl.PROTOCOL_SSLv23)
>   File "/usr/lib/python3.6/ssl.py", line 1158, in wrap_socket
> ciphers=ciphers)
>   File "/usr/lib/python3.6/ssl.py", line 817, in __init__
> self.do_handshake()
>   File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
> self._sslobj.do_handshake()
>   File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
> self._sslobj.do_handshake()
> OSError: [Errno 0] Error
>
>
> Exception in thread Thread-10:
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/threading.py", line 916, in
> _bootstrap_inner
> self.run()
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268,
> in run
> conn = Connection(*conn)
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105,
> in __init__
> self.socket.settimeout(SOCKET_TIMEOUT)
> OSError: [Errno 9] Bad file descriptor
>
>
> Exception in thread Thread-11:
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/threading.py", line 916, in
> _bootstrap_inner
> self.run()
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268,
> in run
> conn = Connection(*conn)
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105,
> in __init__
> self.socket.settimeout(SOCKET_TIMEOUT)
> OSError: [Errno 9] 

Re: [web2py] Re: How to solve the OSError: [Errno 9] Bad file descriptor error

2019-07-11 Thread Jim Steil
Can't you open the files with a text editor?  Right-click and 'Open With
Text Editor'

-Jim

On Thu, Jul 11, 2019 at 10:22 AM Maurice Waka  wrote:

> FYI
>
> On Thu, Jul 11, 2019 at 6:03 PM Lovedie JC  wrote:
>
>> How do I show them.
>> I can see them in the folders but can't show them.
>>
>> On Thu, 11 Jul 2019 at 17:27, Jim Steil  wrote:
>>
>>> Can you show:
>>>
>>> /etc/nginx/sites-enabled/web2py
>>>
>>> and
>>>
>>> /etc/uwsgi/web2py.ini
>>>
>>> -Jim
>>>
>>> On Thu, Jul 11, 2019 at 9:21 AM Lovedie JC  wrote:
>>>
 Web2py works well on the local machine. But when I follow the steps
 shown on the links, I get the error message.

 On Thu, 11 Jul 2019 at 17:13, Jim Steil  wrote:

> Does it work on your local Ubuntu install?
>
> -Jim
>
> On Thu, Jul 11, 2019 at 9:08 AM Lovedie JC  wrote:
>
>> I'm using Ubuntu 18.04 web2py, python 3.6.
>> I was trying to deploy to digital Ocean
>>
>> On Thu, 11 Jul 2019, 16:28 Jim Steil  wrote:
>>
>>> On Windows?  Linux?  Digital Ocean?
>>>
>>> On Thu, Jul 11, 2019 at 8:26 AM Maurice Waka 
>>> wrote:
>>>
 The problem is with the welcome app. I haven't tried any other app.


 On Thu, 11 Jul 2019, 16:23 Jim Steil  wrote:

> Sorry then, I'm having trouble following what your problem is.
> The first link you gave references a question on a windows machine 
> having
> SSL errors.  The traceback here is on a linux machine and the link at 
> the
> bottom references installing on Digital Ocean.
>
> Could you state the problem you're having now?  Are you seeing the
> problem with one of your apps or with the welcome app?  Or, maybe 
> someone
> else could just in that understands what is going on.
>
> -Jim
>
>
> On Thu, Jul 11, 2019 at 7:40 AM Maurice Waka <
> mauricew...@gmail.com> wrote:
>
>> This has nothing to do with web2py code. The code works well but
>> only using the above links I showed did I get the error.
>> Regards
>>
>> On Thu, Jul 11, 2019 at 3:04 PM Jim S 
>> wrote:
>>
>>> Can you show some code?  The controller and view where this is
>>> happening?
>>>
>>> -Jim
>>>
>>> On Thursday, July 11, 2019 at 2:00:44 AM UTC-5, Maurice Waka
>>> wrote:

 I couldn't get an answer on this link
 
 .

 My traceback is this

 ERROR:Rocket.Errors.Port8000:Traceback (most recent call last):
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 555, in
 listen
 sock = self.wrap_socket(sock)
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 507, in
 wrap_socket
 ssl_version=ssl.PROTOCOL_SSLv23)
   File "/usr/lib/python3.6/ssl.py", line 1158, in wrap_socket
 ciphers=ciphers)
   File "/usr/lib/python3.6/ssl.py", line 817, in __init__
 self.do_handshake()
   File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
 self._sslobj.do_handshake()
   File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
 self._sslobj.do_handshake()
 OSError: [Errno 0] Error


 Exception in thread Thread-10:
 Traceback (most recent call last):
   File "/usr/lib/python3.6/threading.py", line 916, in
 _bootstrap_inner
 self.run()
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268,
 in run
 conn = Connection(*conn)
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
 __init__
 self.socket.settimeout(SOCKET_TIMEOUT)
 OSError: [Errno 9] Bad file descriptor


 Exception in thread Thread-11:
 Traceback (most recent call last):
   File "/usr/lib/python3.6/threading.py", line 916, in
 _bootstrap_inner
 self.run()
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268,
 in run
 conn = Connection(*conn)
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
 __init__
 self.socket.settimeout(SOCKET_TIMEOUT)
 OSError: [Errno 9] Bad file descriptor


 Exception in thread Thread-12:
 Traceback (most recent call last):
   File "/usr/lib/python3.6/threading.py", line 916, in
 _bootstrap_inner
 

Re: [web2py] Re: How to solve the OSError: [Errno 9] Bad file descriptor error

2019-07-11 Thread Maurice Waka
FYI

On Thu, Jul 11, 2019 at 6:03 PM Lovedie JC  wrote:

> How do I show them.
> I can see them in the folders but can't show them.
>
> On Thu, 11 Jul 2019 at 17:27, Jim Steil  wrote:
>
>> Can you show:
>>
>> /etc/nginx/sites-enabled/web2py
>>
>> and
>>
>> /etc/uwsgi/web2py.ini
>>
>> -Jim
>>
>> On Thu, Jul 11, 2019 at 9:21 AM Lovedie JC  wrote:
>>
>>> Web2py works well on the local machine. But when I follow the steps
>>> shown on the links, I get the error message.
>>>
>>> On Thu, 11 Jul 2019 at 17:13, Jim Steil  wrote:
>>>
 Does it work on your local Ubuntu install?

 -Jim

 On Thu, Jul 11, 2019 at 9:08 AM Lovedie JC  wrote:

> I'm using Ubuntu 18.04 web2py, python 3.6.
> I was trying to deploy to digital Ocean
>
> On Thu, 11 Jul 2019, 16:28 Jim Steil  wrote:
>
>> On Windows?  Linux?  Digital Ocean?
>>
>> On Thu, Jul 11, 2019 at 8:26 AM Maurice Waka 
>> wrote:
>>
>>> The problem is with the welcome app. I haven't tried any other app.
>>>
>>>
>>> On Thu, 11 Jul 2019, 16:23 Jim Steil  wrote:
>>>
 Sorry then, I'm having trouble following what your problem is.  The
 first link you gave references a question on a windows machine having 
 SSL
 errors.  The traceback here is on a linux machine and the link at the
 bottom references installing on Digital Ocean.

 Could you state the problem you're having now?  Are you seeing the
 problem with one of your apps or with the welcome app?  Or, maybe 
 someone
 else could just in that understands what is going on.

 -Jim


 On Thu, Jul 11, 2019 at 7:40 AM Maurice Waka 
 wrote:

> This has nothing to do with web2py code. The code works well but
> only using the above links I showed did I get the error.
> Regards
>
> On Thu, Jul 11, 2019 at 3:04 PM Jim S  wrote:
>
>> Can you show some code?  The controller and view where this is
>> happening?
>>
>> -Jim
>>
>> On Thursday, July 11, 2019 at 2:00:44 AM UTC-5, Maurice Waka
>> wrote:
>>>
>>> I couldn't get an answer on this link
>>> 
>>> .
>>>
>>> My traceback is this
>>>
>>> ERROR:Rocket.Errors.Port8000:Traceback (most recent call last):
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 555, in
>>> listen
>>> sock = self.wrap_socket(sock)
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 507, in
>>> wrap_socket
>>> ssl_version=ssl.PROTOCOL_SSLv23)
>>>   File "/usr/lib/python3.6/ssl.py", line 1158, in wrap_socket
>>> ciphers=ciphers)
>>>   File "/usr/lib/python3.6/ssl.py", line 817, in __init__
>>> self.do_handshake()
>>>   File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
>>> self._sslobj.do_handshake()
>>>   File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
>>> self._sslobj.do_handshake()
>>> OSError: [Errno 0] Error
>>>
>>>
>>> Exception in thread Thread-10:
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python3.6/threading.py", line 916, in
>>> _bootstrap_inner
>>> self.run()
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in
>>> run
>>> conn = Connection(*conn)
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
>>> __init__
>>> self.socket.settimeout(SOCKET_TIMEOUT)
>>> OSError: [Errno 9] Bad file descriptor
>>>
>>>
>>> Exception in thread Thread-11:
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python3.6/threading.py", line 916, in
>>> _bootstrap_inner
>>> self.run()
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in
>>> run
>>> conn = Connection(*conn)
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
>>> __init__
>>> self.socket.settimeout(SOCKET_TIMEOUT)
>>> OSError: [Errno 9] Bad file descriptor
>>>
>>>
>>> Exception in thread Thread-12:
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python3.6/threading.py", line 916, in
>>> _bootstrap_inner
>>> self.run()
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in
>>> run
>>> conn = Connection(*conn)
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
>>> __init__
>>> self.socket.settimeout(SOCKET_TIMEOUT)
>>> OSError: [Errno 9] Bad 

Re: [web2py] Re: How to solve the OSError: [Errno 9] Bad file descriptor error

2019-07-11 Thread Jim S
Can't you copy/paste them or take a screenshot?

Or, on digital ocean, are they in a different location?  I've not worked 
with digital ocean but use nginx/uwsgi on my ubuntu server.

-Jim

On Thursday, July 11, 2019 at 10:03:13 AM UTC-5, Lovedie JC wrote:
>
> How do I show them. 
> I can see them in the folders but can't show them.
>
> On Thu, 11 Jul 2019 at 17:27, Jim Steil > 
> wrote:
>
>> Can you show:
>>
>> /etc/nginx/sites-enabled/web2py
>>
>> and 
>>
>> /etc/uwsgi/web2py.ini
>>
>> -Jim
>>
>> On Thu, Jul 11, 2019 at 9:21 AM Lovedie JC > > wrote:
>>
>>> Web2py works well on the local machine. But when I follow the steps 
>>> shown on the links, I get the error message.
>>>
>>> On Thu, 11 Jul 2019 at 17:13, Jim Steil > 
>>> wrote:
>>>
 Does it work on your local Ubuntu install?

 -Jim

 On Thu, Jul 11, 2019 at 9:08 AM Lovedie JC >>> > wrote:

> I'm using Ubuntu 18.04 web2py, python 3.6.
> I was trying to deploy to digital Ocean 
>
> On Thu, 11 Jul 2019, 16:28 Jim Steil > 
> wrote:
>
>> On Windows?  Linux?  Digital Ocean?
>>
>> On Thu, Jul 11, 2019 at 8:26 AM Maurice Waka > > wrote:
>>
>>> The problem is with the welcome app. I haven't tried any other app.
>>>
>>>
>>> On Thu, 11 Jul 2019, 16:23 Jim Steil >> > wrote:
>>>
 Sorry then, I'm having trouble following what your problem is.  The 
 first link you gave references a question on a windows machine having 
 SSL 
 errors.  The traceback here is on a linux machine and the link at the 
 bottom references installing on Digital Ocean.

 Could you state the problem you're having now?  Are you seeing the 
 problem with one of your apps or with the welcome app?  Or, maybe 
 someone 
 else could just in that understands what is going on.

 -Jim


 On Thu, Jul 11, 2019 at 7:40 AM Maurice Waka >>> > wrote:

> This has nothing to do with web2py code. The code works well but 
> only using the above links I showed did I get the error.
> Regards
>
> On Thu, Jul 11, 2019 at 3:04 PM Jim S  > wrote:
>
>> Can you show some code?  The controller and view where this is 
>> happening?
>>
>> -Jim
>>
>> On Thursday, July 11, 2019 at 2:00:44 AM UTC-5, Maurice Waka 
>> wrote:
>>>
>>> I couldn't get an answer on this link 
>>> 
>>> .
>>>
>>> My traceback is this
>>>
>>> ERROR:Rocket.Errors.Port8000:Traceback (most recent call last):
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 555, in 
>>> listen
>>> sock = self.wrap_socket(sock)
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 507, in 
>>> wrap_socket
>>> ssl_version=ssl.PROTOCOL_SSLv23)
>>>   File "/usr/lib/python3.6/ssl.py", line 1158, in wrap_socket
>>> ciphers=ciphers)
>>>   File "/usr/lib/python3.6/ssl.py", line 817, in __init__
>>> self.do_handshake()
>>>   File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
>>> self._sslobj.do_handshake()
>>>   File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
>>> self._sslobj.do_handshake()
>>> OSError: [Errno 0] Error
>>>
>>>
>>> Exception in thread Thread-10:
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python3.6/threading.py", line 916, in 
>>> _bootstrap_inner
>>> self.run()
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in 
>>> run
>>> conn = Connection(*conn)
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in 
>>> __init__
>>> self.socket.settimeout(SOCKET_TIMEOUT)
>>> OSError: [Errno 9] Bad file descriptor
>>>
>>>
>>> Exception in thread Thread-11:
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python3.6/threading.py", line 916, in 
>>> _bootstrap_inner
>>> self.run()
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in 
>>> run
>>> conn = Connection(*conn)
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in 
>>> __init__
>>> self.socket.settimeout(SOCKET_TIMEOUT)
>>> OSError: [Errno 9] Bad file descriptor
>>>
>>>
>>> Exception in thread Thread-12:
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python3.6/threading.py", line 916, in 
>>> _bootstrap_inner
>>> self.run()
>>>   File 

Re: [web2py] Re: How to solve the OSError: [Errno 9] Bad file descriptor error

2019-07-11 Thread Lovedie JC
How do I show them.
I can see them in the folders but can't show them.

On Thu, 11 Jul 2019 at 17:27, Jim Steil  wrote:

> Can you show:
>
> /etc/nginx/sites-enabled/web2py
>
> and
>
> /etc/uwsgi/web2py.ini
>
> -Jim
>
> On Thu, Jul 11, 2019 at 9:21 AM Lovedie JC  wrote:
>
>> Web2py works well on the local machine. But when I follow the steps shown
>> on the links, I get the error message.
>>
>> On Thu, 11 Jul 2019 at 17:13, Jim Steil  wrote:
>>
>>> Does it work on your local Ubuntu install?
>>>
>>> -Jim
>>>
>>> On Thu, Jul 11, 2019 at 9:08 AM Lovedie JC  wrote:
>>>
 I'm using Ubuntu 18.04 web2py, python 3.6.
 I was trying to deploy to digital Ocean

 On Thu, 11 Jul 2019, 16:28 Jim Steil  wrote:

> On Windows?  Linux?  Digital Ocean?
>
> On Thu, Jul 11, 2019 at 8:26 AM Maurice Waka 
> wrote:
>
>> The problem is with the welcome app. I haven't tried any other app.
>>
>>
>> On Thu, 11 Jul 2019, 16:23 Jim Steil  wrote:
>>
>>> Sorry then, I'm having trouble following what your problem is.  The
>>> first link you gave references a question on a windows machine having 
>>> SSL
>>> errors.  The traceback here is on a linux machine and the link at the
>>> bottom references installing on Digital Ocean.
>>>
>>> Could you state the problem you're having now?  Are you seeing the
>>> problem with one of your apps or with the welcome app?  Or, maybe 
>>> someone
>>> else could just in that understands what is going on.
>>>
>>> -Jim
>>>
>>>
>>> On Thu, Jul 11, 2019 at 7:40 AM Maurice Waka 
>>> wrote:
>>>
 This has nothing to do with web2py code. The code works well but
 only using the above links I showed did I get the error.
 Regards

 On Thu, Jul 11, 2019 at 3:04 PM Jim S  wrote:

> Can you show some code?  The controller and view where this is
> happening?
>
> -Jim
>
> On Thursday, July 11, 2019 at 2:00:44 AM UTC-5, Maurice Waka wrote:
>>
>> I couldn't get an answer on this link
>> 
>> .
>>
>> My traceback is this
>>
>> ERROR:Rocket.Errors.Port8000:Traceback (most recent call last):
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 555, in
>> listen
>> sock = self.wrap_socket(sock)
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 507, in
>> wrap_socket
>> ssl_version=ssl.PROTOCOL_SSLv23)
>>   File "/usr/lib/python3.6/ssl.py", line 1158, in wrap_socket
>> ciphers=ciphers)
>>   File "/usr/lib/python3.6/ssl.py", line 817, in __init__
>> self.do_handshake()
>>   File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
>> self._sslobj.do_handshake()
>>   File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
>> self._sslobj.do_handshake()
>> OSError: [Errno 0] Error
>>
>>
>> Exception in thread Thread-10:
>> Traceback (most recent call last):
>>   File "/usr/lib/python3.6/threading.py", line 916, in
>> _bootstrap_inner
>> self.run()
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in
>> run
>> conn = Connection(*conn)
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
>> __init__
>> self.socket.settimeout(SOCKET_TIMEOUT)
>> OSError: [Errno 9] Bad file descriptor
>>
>>
>> Exception in thread Thread-11:
>> Traceback (most recent call last):
>>   File "/usr/lib/python3.6/threading.py", line 916, in
>> _bootstrap_inner
>> self.run()
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in
>> run
>> conn = Connection(*conn)
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
>> __init__
>> self.socket.settimeout(SOCKET_TIMEOUT)
>> OSError: [Errno 9] Bad file descriptor
>>
>>
>> Exception in thread Thread-12:
>> Traceback (most recent call last):
>>   File "/usr/lib/python3.6/threading.py", line 916, in
>> _bootstrap_inner
>> self.run()
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in
>> run
>> conn = Connection(*conn)
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
>> __init__
>> self.socket.settimeout(SOCKET_TIMEOUT)
>> OSError: [Errno 9] Bad file descriptor
>>
>>
>> Exception in thread Thread-9:
>> Traceback (most recent call last):
>>   File "/usr/lib/python3.6/threading.py", line 916, in
>> 

Re: [web2py] Re: How to solve the OSError: [Errno 9] Bad file descriptor error

2019-07-11 Thread Jim Steil
Can you show:

/etc/nginx/sites-enabled/web2py

and

/etc/uwsgi/web2py.ini

-Jim

On Thu, Jul 11, 2019 at 9:21 AM Lovedie JC  wrote:

> Web2py works well on the local machine. But when I follow the steps shown
> on the links, I get the error message.
>
> On Thu, 11 Jul 2019 at 17:13, Jim Steil  wrote:
>
>> Does it work on your local Ubuntu install?
>>
>> -Jim
>>
>> On Thu, Jul 11, 2019 at 9:08 AM Lovedie JC  wrote:
>>
>>> I'm using Ubuntu 18.04 web2py, python 3.6.
>>> I was trying to deploy to digital Ocean
>>>
>>> On Thu, 11 Jul 2019, 16:28 Jim Steil  wrote:
>>>
 On Windows?  Linux?  Digital Ocean?

 On Thu, Jul 11, 2019 at 8:26 AM Maurice Waka 
 wrote:

> The problem is with the welcome app. I haven't tried any other app.
>
>
> On Thu, 11 Jul 2019, 16:23 Jim Steil  wrote:
>
>> Sorry then, I'm having trouble following what your problem is.  The
>> first link you gave references a question on a windows machine having SSL
>> errors.  The traceback here is on a linux machine and the link at the
>> bottom references installing on Digital Ocean.
>>
>> Could you state the problem you're having now?  Are you seeing the
>> problem with one of your apps or with the welcome app?  Or, maybe someone
>> else could just in that understands what is going on.
>>
>> -Jim
>>
>>
>> On Thu, Jul 11, 2019 at 7:40 AM Maurice Waka 
>> wrote:
>>
>>> This has nothing to do with web2py code. The code works well but
>>> only using the above links I showed did I get the error.
>>> Regards
>>>
>>> On Thu, Jul 11, 2019 at 3:04 PM Jim S  wrote:
>>>
 Can you show some code?  The controller and view where this is
 happening?

 -Jim

 On Thursday, July 11, 2019 at 2:00:44 AM UTC-5, Maurice Waka wrote:
>
> I couldn't get an answer on this link
> 
> .
>
> My traceback is this
>
> ERROR:Rocket.Errors.Port8000:Traceback (most recent call last):
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 555, in
> listen
> sock = self.wrap_socket(sock)
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 507, in
> wrap_socket
> ssl_version=ssl.PROTOCOL_SSLv23)
>   File "/usr/lib/python3.6/ssl.py", line 1158, in wrap_socket
> ciphers=ciphers)
>   File "/usr/lib/python3.6/ssl.py", line 817, in __init__
> self.do_handshake()
>   File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
> self._sslobj.do_handshake()
>   File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
> self._sslobj.do_handshake()
> OSError: [Errno 0] Error
>
>
> Exception in thread Thread-10:
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/threading.py", line 916, in
> _bootstrap_inner
> self.run()
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in
> run
> conn = Connection(*conn)
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
> __init__
> self.socket.settimeout(SOCKET_TIMEOUT)
> OSError: [Errno 9] Bad file descriptor
>
>
> Exception in thread Thread-11:
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/threading.py", line 916, in
> _bootstrap_inner
> self.run()
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in
> run
> conn = Connection(*conn)
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
> __init__
> self.socket.settimeout(SOCKET_TIMEOUT)
> OSError: [Errno 9] Bad file descriptor
>
>
> Exception in thread Thread-12:
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/threading.py", line 916, in
> _bootstrap_inner
> self.run()
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in
> run
> conn = Connection(*conn)
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
> __init__
> self.socket.settimeout(SOCKET_TIMEOUT)
> OSError: [Errno 9] Bad file descriptor
>
>
> Exception in thread Thread-9:
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/threading.py", line 916, in
> _bootstrap_inner
> self.run()
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in
> run
> conn = Connection(*conn)
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
> __init__
> 

Re: [web2py] Re: How to solve the OSError: [Errno 9] Bad file descriptor error

2019-07-11 Thread Lovedie JC
Web2py works well on the local machine. But when I follow the steps shown
on the links, I get the error message.

On Thu, 11 Jul 2019 at 17:13, Jim Steil  wrote:

> Does it work on your local Ubuntu install?
>
> -Jim
>
> On Thu, Jul 11, 2019 at 9:08 AM Lovedie JC  wrote:
>
>> I'm using Ubuntu 18.04 web2py, python 3.6.
>> I was trying to deploy to digital Ocean
>>
>> On Thu, 11 Jul 2019, 16:28 Jim Steil  wrote:
>>
>>> On Windows?  Linux?  Digital Ocean?
>>>
>>> On Thu, Jul 11, 2019 at 8:26 AM Maurice Waka 
>>> wrote:
>>>
 The problem is with the welcome app. I haven't tried any other app.


 On Thu, 11 Jul 2019, 16:23 Jim Steil  wrote:

> Sorry then, I'm having trouble following what your problem is.  The
> first link you gave references a question on a windows machine having SSL
> errors.  The traceback here is on a linux machine and the link at the
> bottom references installing on Digital Ocean.
>
> Could you state the problem you're having now?  Are you seeing the
> problem with one of your apps or with the welcome app?  Or, maybe someone
> else could just in that understands what is going on.
>
> -Jim
>
>
> On Thu, Jul 11, 2019 at 7:40 AM Maurice Waka 
> wrote:
>
>> This has nothing to do with web2py code. The code works well but only
>> using the above links I showed did I get the error.
>> Regards
>>
>> On Thu, Jul 11, 2019 at 3:04 PM Jim S  wrote:
>>
>>> Can you show some code?  The controller and view where this is
>>> happening?
>>>
>>> -Jim
>>>
>>> On Thursday, July 11, 2019 at 2:00:44 AM UTC-5, Maurice Waka wrote:

 I couldn't get an answer on this link
 
 .

 My traceback is this

 ERROR:Rocket.Errors.Port8000:Traceback (most recent call last):
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 555, in
 listen
 sock = self.wrap_socket(sock)
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 507, in
 wrap_socket
 ssl_version=ssl.PROTOCOL_SSLv23)
   File "/usr/lib/python3.6/ssl.py", line 1158, in wrap_socket
 ciphers=ciphers)
   File "/usr/lib/python3.6/ssl.py", line 817, in __init__
 self.do_handshake()
   File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
 self._sslobj.do_handshake()
   File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
 self._sslobj.do_handshake()
 OSError: [Errno 0] Error


 Exception in thread Thread-10:
 Traceback (most recent call last):
   File "/usr/lib/python3.6/threading.py", line 916, in
 _bootstrap_inner
 self.run()
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in
 run
 conn = Connection(*conn)
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
 __init__
 self.socket.settimeout(SOCKET_TIMEOUT)
 OSError: [Errno 9] Bad file descriptor


 Exception in thread Thread-11:
 Traceback (most recent call last):
   File "/usr/lib/python3.6/threading.py", line 916, in
 _bootstrap_inner
 self.run()
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in
 run
 conn = Connection(*conn)
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
 __init__
 self.socket.settimeout(SOCKET_TIMEOUT)
 OSError: [Errno 9] Bad file descriptor


 Exception in thread Thread-12:
 Traceback (most recent call last):
   File "/usr/lib/python3.6/threading.py", line 916, in
 _bootstrap_inner
 self.run()
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in
 run
 conn = Connection(*conn)
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
 __init__
 self.socket.settimeout(SOCKET_TIMEOUT)
 OSError: [Errno 9] Bad file descriptor


 Exception in thread Thread-9:
 Traceback (most recent call last):
   File "/usr/lib/python3.6/threading.py", line 916, in
 _bootstrap_inner
 self.run()
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in
 run
 conn = Connection(*conn)
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
 __init__
 self.socket.settimeout(SOCKET_TIMEOUT)
 OSError: [Errno 9] Bad file descriptor

 Is there any solution to this?

 I'm trying out my app on digitalocean, on this link
 

Re: [web2py] Re: How to solve the OSError: [Errno 9] Bad file descriptor error

2019-07-11 Thread Jim Steil
Does it work on your local Ubuntu install?

-Jim

On Thu, Jul 11, 2019 at 9:08 AM Lovedie JC  wrote:

> I'm using Ubuntu 18.04 web2py, python 3.6.
> I was trying to deploy to digital Ocean
>
> On Thu, 11 Jul 2019, 16:28 Jim Steil  wrote:
>
>> On Windows?  Linux?  Digital Ocean?
>>
>> On Thu, Jul 11, 2019 at 8:26 AM Maurice Waka 
>> wrote:
>>
>>> The problem is with the welcome app. I haven't tried any other app.
>>>
>>>
>>> On Thu, 11 Jul 2019, 16:23 Jim Steil  wrote:
>>>
 Sorry then, I'm having trouble following what your problem is.  The
 first link you gave references a question on a windows machine having SSL
 errors.  The traceback here is on a linux machine and the link at the
 bottom references installing on Digital Ocean.

 Could you state the problem you're having now?  Are you seeing the
 problem with one of your apps or with the welcome app?  Or, maybe someone
 else could just in that understands what is going on.

 -Jim


 On Thu, Jul 11, 2019 at 7:40 AM Maurice Waka 
 wrote:

> This has nothing to do with web2py code. The code works well but only
> using the above links I showed did I get the error.
> Regards
>
> On Thu, Jul 11, 2019 at 3:04 PM Jim S  wrote:
>
>> Can you show some code?  The controller and view where this is
>> happening?
>>
>> -Jim
>>
>> On Thursday, July 11, 2019 at 2:00:44 AM UTC-5, Maurice Waka wrote:
>>>
>>> I couldn't get an answer on this link
>>> 
>>> .
>>>
>>> My traceback is this
>>>
>>> ERROR:Rocket.Errors.Port8000:Traceback (most recent call last):
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 555, in
>>> listen
>>> sock = self.wrap_socket(sock)
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 507, in
>>> wrap_socket
>>> ssl_version=ssl.PROTOCOL_SSLv23)
>>>   File "/usr/lib/python3.6/ssl.py", line 1158, in wrap_socket
>>> ciphers=ciphers)
>>>   File "/usr/lib/python3.6/ssl.py", line 817, in __init__
>>> self.do_handshake()
>>>   File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
>>> self._sslobj.do_handshake()
>>>   File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
>>> self._sslobj.do_handshake()
>>> OSError: [Errno 0] Error
>>>
>>>
>>> Exception in thread Thread-10:
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python3.6/threading.py", line 916, in
>>> _bootstrap_inner
>>> self.run()
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
>>> conn = Connection(*conn)
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
>>> __init__
>>> self.socket.settimeout(SOCKET_TIMEOUT)
>>> OSError: [Errno 9] Bad file descriptor
>>>
>>>
>>> Exception in thread Thread-11:
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python3.6/threading.py", line 916, in
>>> _bootstrap_inner
>>> self.run()
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
>>> conn = Connection(*conn)
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
>>> __init__
>>> self.socket.settimeout(SOCKET_TIMEOUT)
>>> OSError: [Errno 9] Bad file descriptor
>>>
>>>
>>> Exception in thread Thread-12:
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python3.6/threading.py", line 916, in
>>> _bootstrap_inner
>>> self.run()
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
>>> conn = Connection(*conn)
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
>>> __init__
>>> self.socket.settimeout(SOCKET_TIMEOUT)
>>> OSError: [Errno 9] Bad file descriptor
>>>
>>>
>>> Exception in thread Thread-9:
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python3.6/threading.py", line 916, in
>>> _bootstrap_inner
>>> self.run()
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
>>> conn = Connection(*conn)
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
>>> __init__
>>> self.socket.settimeout(SOCKET_TIMEOUT)
>>> OSError: [Errno 9] Bad file descriptor
>>>
>>> Is there any solution to this?
>>>
>>> I'm trying out my app on digitalocean, on this link
>>> 
>>>
>>> Regards
>>>
>>> --
>> 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)

Re: [web2py] Re: How to solve the OSError: [Errno 9] Bad file descriptor error

2019-07-11 Thread Lovedie JC
I'm using Ubuntu 18.04 web2py, python 3.6.
I was trying to deploy to digital Ocean

On Thu, 11 Jul 2019, 16:28 Jim Steil  wrote:

> On Windows?  Linux?  Digital Ocean?
>
> On Thu, Jul 11, 2019 at 8:26 AM Maurice Waka 
> wrote:
>
>> The problem is with the welcome app. I haven't tried any other app.
>>
>>
>> On Thu, 11 Jul 2019, 16:23 Jim Steil  wrote:
>>
>>> Sorry then, I'm having trouble following what your problem is.  The
>>> first link you gave references a question on a windows machine having SSL
>>> errors.  The traceback here is on a linux machine and the link at the
>>> bottom references installing on Digital Ocean.
>>>
>>> Could you state the problem you're having now?  Are you seeing the
>>> problem with one of your apps or with the welcome app?  Or, maybe someone
>>> else could just in that understands what is going on.
>>>
>>> -Jim
>>>
>>>
>>> On Thu, Jul 11, 2019 at 7:40 AM Maurice Waka 
>>> wrote:
>>>
 This has nothing to do with web2py code. The code works well but only
 using the above links I showed did I get the error.
 Regards

 On Thu, Jul 11, 2019 at 3:04 PM Jim S  wrote:

> Can you show some code?  The controller and view where this is
> happening?
>
> -Jim
>
> On Thursday, July 11, 2019 at 2:00:44 AM UTC-5, Maurice Waka wrote:
>>
>> I couldn't get an answer on this link
>> 
>> .
>>
>> My traceback is this
>>
>> ERROR:Rocket.Errors.Port8000:Traceback (most recent call last):
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 555, in
>> listen
>> sock = self.wrap_socket(sock)
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 507, in
>> wrap_socket
>> ssl_version=ssl.PROTOCOL_SSLv23)
>>   File "/usr/lib/python3.6/ssl.py", line 1158, in wrap_socket
>> ciphers=ciphers)
>>   File "/usr/lib/python3.6/ssl.py", line 817, in __init__
>> self.do_handshake()
>>   File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
>> self._sslobj.do_handshake()
>>   File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
>> self._sslobj.do_handshake()
>> OSError: [Errno 0] Error
>>
>>
>> Exception in thread Thread-10:
>> Traceback (most recent call last):
>>   File "/usr/lib/python3.6/threading.py", line 916, in
>> _bootstrap_inner
>> self.run()
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
>> conn = Connection(*conn)
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
>> __init__
>> self.socket.settimeout(SOCKET_TIMEOUT)
>> OSError: [Errno 9] Bad file descriptor
>>
>>
>> Exception in thread Thread-11:
>> Traceback (most recent call last):
>>   File "/usr/lib/python3.6/threading.py", line 916, in
>> _bootstrap_inner
>> self.run()
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
>> conn = Connection(*conn)
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
>> __init__
>> self.socket.settimeout(SOCKET_TIMEOUT)
>> OSError: [Errno 9] Bad file descriptor
>>
>>
>> Exception in thread Thread-12:
>> Traceback (most recent call last):
>>   File "/usr/lib/python3.6/threading.py", line 916, in
>> _bootstrap_inner
>> self.run()
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
>> conn = Connection(*conn)
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
>> __init__
>> self.socket.settimeout(SOCKET_TIMEOUT)
>> OSError: [Errno 9] Bad file descriptor
>>
>>
>> Exception in thread Thread-9:
>> Traceback (most recent call last):
>>   File "/usr/lib/python3.6/threading.py", line 916, in
>> _bootstrap_inner
>> self.run()
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
>> conn = Connection(*conn)
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
>> __init__
>> self.socket.settimeout(SOCKET_TIMEOUT)
>> OSError: [Errno 9] Bad file descriptor
>>
>> Is there any solution to this?
>>
>> I'm trying out my app on digitalocean, on this link
>> 
>>
>> Regards
>>
>> --
> 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 a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> 

Re: [web2py] Re: How to solve the OSError: [Errno 9] Bad file descriptor error

2019-07-11 Thread Jim Steil
On Windows?  Linux?  Digital Ocean?

On Thu, Jul 11, 2019 at 8:26 AM Maurice Waka  wrote:

> The problem is with the welcome app. I haven't tried any other app.
>
>
> On Thu, 11 Jul 2019, 16:23 Jim Steil  wrote:
>
>> Sorry then, I'm having trouble following what your problem is.  The first
>> link you gave references a question on a windows machine having SSL
>> errors.  The traceback here is on a linux machine and the link at the
>> bottom references installing on Digital Ocean.
>>
>> Could you state the problem you're having now?  Are you seeing the
>> problem with one of your apps or with the welcome app?  Or, maybe someone
>> else could just in that understands what is going on.
>>
>> -Jim
>>
>>
>> On Thu, Jul 11, 2019 at 7:40 AM Maurice Waka 
>> wrote:
>>
>>> This has nothing to do with web2py code. The code works well but only
>>> using the above links I showed did I get the error.
>>> Regards
>>>
>>> On Thu, Jul 11, 2019 at 3:04 PM Jim S  wrote:
>>>
 Can you show some code?  The controller and view where this is
 happening?

 -Jim

 On Thursday, July 11, 2019 at 2:00:44 AM UTC-5, Maurice Waka wrote:
>
> I couldn't get an answer on this link
> .
>
> My traceback is this
>
> ERROR:Rocket.Errors.Port8000:Traceback (most recent call last):
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 555, in listen
> sock = self.wrap_socket(sock)
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 507, in
> wrap_socket
> ssl_version=ssl.PROTOCOL_SSLv23)
>   File "/usr/lib/python3.6/ssl.py", line 1158, in wrap_socket
> ciphers=ciphers)
>   File "/usr/lib/python3.6/ssl.py", line 817, in __init__
> self.do_handshake()
>   File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
> self._sslobj.do_handshake()
>   File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
> self._sslobj.do_handshake()
> OSError: [Errno 0] Error
>
>
> Exception in thread Thread-10:
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/threading.py", line 916, in
> _bootstrap_inner
> self.run()
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
> conn = Connection(*conn)
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
> __init__
> self.socket.settimeout(SOCKET_TIMEOUT)
> OSError: [Errno 9] Bad file descriptor
>
>
> Exception in thread Thread-11:
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/threading.py", line 916, in
> _bootstrap_inner
> self.run()
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
> conn = Connection(*conn)
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
> __init__
> self.socket.settimeout(SOCKET_TIMEOUT)
> OSError: [Errno 9] Bad file descriptor
>
>
> Exception in thread Thread-12:
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/threading.py", line 916, in
> _bootstrap_inner
> self.run()
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
> conn = Connection(*conn)
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
> __init__
> self.socket.settimeout(SOCKET_TIMEOUT)
> OSError: [Errno 9] Bad file descriptor
>
>
> Exception in thread Thread-9:
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/threading.py", line 916, in
> _bootstrap_inner
> self.run()
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
> conn = Connection(*conn)
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
> __init__
> self.socket.settimeout(SOCKET_TIMEOUT)
> OSError: [Errno 9] Bad file descriptor
>
> Is there any solution to this?
>
> I'm trying out my app on digitalocean, on this link
> 
>
> Regards
>
> --
 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 a topic in the
 Google Groups "web2py-users" group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/web2py/pEYZ6BmYS8U/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 web2py+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/web2py/6ebbaead-0b80-4bcc-8f5c-7390e4747898%40googlegroups.com
 

Re: [web2py] Re: How to solve the OSError: [Errno 9] Bad file descriptor error

2019-07-11 Thread Maurice Waka
The problem is with the welcome app. I haven't tried any other app.


On Thu, 11 Jul 2019, 16:23 Jim Steil  wrote:

> Sorry then, I'm having trouble following what your problem is.  The first
> link you gave references a question on a windows machine having SSL
> errors.  The traceback here is on a linux machine and the link at the
> bottom references installing on Digital Ocean.
>
> Could you state the problem you're having now?  Are you seeing the problem
> with one of your apps or with the welcome app?  Or, maybe someone else
> could just in that understands what is going on.
>
> -Jim
>
>
> On Thu, Jul 11, 2019 at 7:40 AM Maurice Waka 
> wrote:
>
>> This has nothing to do with web2py code. The code works well but only
>> using the above links I showed did I get the error.
>> Regards
>>
>> On Thu, Jul 11, 2019 at 3:04 PM Jim S  wrote:
>>
>>> Can you show some code?  The controller and view where this is happening?
>>>
>>> -Jim
>>>
>>> On Thursday, July 11, 2019 at 2:00:44 AM UTC-5, Maurice Waka wrote:

 I couldn't get an answer on this link
 .

 My traceback is this

 ERROR:Rocket.Errors.Port8000:Traceback (most recent call last):
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 555, in listen
 sock = self.wrap_socket(sock)
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 507, in
 wrap_socket
 ssl_version=ssl.PROTOCOL_SSLv23)
   File "/usr/lib/python3.6/ssl.py", line 1158, in wrap_socket
 ciphers=ciphers)
   File "/usr/lib/python3.6/ssl.py", line 817, in __init__
 self.do_handshake()
   File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
 self._sslobj.do_handshake()
   File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
 self._sslobj.do_handshake()
 OSError: [Errno 0] Error


 Exception in thread Thread-10:
 Traceback (most recent call last):
   File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
 self.run()
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
 conn = Connection(*conn)
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
 __init__
 self.socket.settimeout(SOCKET_TIMEOUT)
 OSError: [Errno 9] Bad file descriptor


 Exception in thread Thread-11:
 Traceback (most recent call last):
   File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
 self.run()
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
 conn = Connection(*conn)
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
 __init__
 self.socket.settimeout(SOCKET_TIMEOUT)
 OSError: [Errno 9] Bad file descriptor


 Exception in thread Thread-12:
 Traceback (most recent call last):
   File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
 self.run()
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
 conn = Connection(*conn)
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
 __init__
 self.socket.settimeout(SOCKET_TIMEOUT)
 OSError: [Errno 9] Bad file descriptor


 Exception in thread Thread-9:
 Traceback (most recent call last):
   File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
 self.run()
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
 conn = Connection(*conn)
   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in
 __init__
 self.socket.settimeout(SOCKET_TIMEOUT)
 OSError: [Errno 9] Bad file descriptor

 Is there any solution to this?

 I'm trying out my app on digitalocean, on this link
 

 Regards

 --
>>> 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 a topic in the
>>> Google Groups "web2py-users" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/web2py/pEYZ6BmYS8U/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> web2py+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/web2py/6ebbaead-0b80-4bcc-8f5c-7390e4747898%40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> Resources:
>> - http://web2py.com
>> - 

Re: [web2py] Re: How to solve the OSError: [Errno 9] Bad file descriptor error

2019-07-11 Thread Jim Steil
Sorry then, I'm having trouble following what your problem is.  The first
link you gave references a question on a windows machine having SSL
errors.  The traceback here is on a linux machine and the link at the
bottom references installing on Digital Ocean.

Could you state the problem you're having now?  Are you seeing the problem
with one of your apps or with the welcome app?  Or, maybe someone else
could just in that understands what is going on.

-Jim


On Thu, Jul 11, 2019 at 7:40 AM Maurice Waka  wrote:

> This has nothing to do with web2py code. The code works well but only
> using the above links I showed did I get the error.
> Regards
>
> On Thu, Jul 11, 2019 at 3:04 PM Jim S  wrote:
>
>> Can you show some code?  The controller and view where this is happening?
>>
>> -Jim
>>
>> On Thursday, July 11, 2019 at 2:00:44 AM UTC-5, Maurice Waka wrote:
>>>
>>> I couldn't get an answer on this link
>>> .
>>>
>>> My traceback is this
>>>
>>> ERROR:Rocket.Errors.Port8000:Traceback (most recent call last):
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 555, in listen
>>> sock = self.wrap_socket(sock)
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 507, in
>>> wrap_socket
>>> ssl_version=ssl.PROTOCOL_SSLv23)
>>>   File "/usr/lib/python3.6/ssl.py", line 1158, in wrap_socket
>>> ciphers=ciphers)
>>>   File "/usr/lib/python3.6/ssl.py", line 817, in __init__
>>> self.do_handshake()
>>>   File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
>>> self._sslobj.do_handshake()
>>>   File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
>>> self._sslobj.do_handshake()
>>> OSError: [Errno 0] Error
>>>
>>>
>>> Exception in thread Thread-10:
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
>>> self.run()
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
>>> conn = Connection(*conn)
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in __init__
>>> self.socket.settimeout(SOCKET_TIMEOUT)
>>> OSError: [Errno 9] Bad file descriptor
>>>
>>>
>>> Exception in thread Thread-11:
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
>>> self.run()
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
>>> conn = Connection(*conn)
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in __init__
>>> self.socket.settimeout(SOCKET_TIMEOUT)
>>> OSError: [Errno 9] Bad file descriptor
>>>
>>>
>>> Exception in thread Thread-12:
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
>>> self.run()
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
>>> conn = Connection(*conn)
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in __init__
>>> self.socket.settimeout(SOCKET_TIMEOUT)
>>> OSError: [Errno 9] Bad file descriptor
>>>
>>>
>>> Exception in thread Thread-9:
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
>>> self.run()
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
>>> conn = Connection(*conn)
>>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in __init__
>>> self.socket.settimeout(SOCKET_TIMEOUT)
>>> OSError: [Errno 9] Bad file descriptor
>>>
>>> Is there any solution to this?
>>>
>>> I'm trying out my app on digitalocean, on this link
>>> 
>>>
>>> Regards
>>>
>>> --
>> 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 a topic in the
>> Google Groups "web2py-users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/web2py/pEYZ6BmYS8U/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> web2py+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/web2py/6ebbaead-0b80-4bcc-8f5c-7390e4747898%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 a topic in the
> Google Groups "web2py-users" 

Re: [web2py] Re: How to solve the OSError: [Errno 9] Bad file descriptor error

2019-07-11 Thread Maurice Waka
This has nothing to do with web2py code. The code works well but only using
the above links I showed did I get the error.
Regards

On Thu, Jul 11, 2019 at 3:04 PM Jim S  wrote:

> Can you show some code?  The controller and view where this is happening?
>
> -Jim
>
> On Thursday, July 11, 2019 at 2:00:44 AM UTC-5, Maurice Waka wrote:
>>
>> I couldn't get an answer on this link
>> .
>>
>> My traceback is this
>>
>> ERROR:Rocket.Errors.Port8000:Traceback (most recent call last):
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 555, in listen
>> sock = self.wrap_socket(sock)
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 507, in
>> wrap_socket
>> ssl_version=ssl.PROTOCOL_SSLv23)
>>   File "/usr/lib/python3.6/ssl.py", line 1158, in wrap_socket
>> ciphers=ciphers)
>>   File "/usr/lib/python3.6/ssl.py", line 817, in __init__
>> self.do_handshake()
>>   File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
>> self._sslobj.do_handshake()
>>   File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
>> self._sslobj.do_handshake()
>> OSError: [Errno 0] Error
>>
>>
>> Exception in thread Thread-10:
>> Traceback (most recent call last):
>>   File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
>> self.run()
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
>> conn = Connection(*conn)
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in __init__
>> self.socket.settimeout(SOCKET_TIMEOUT)
>> OSError: [Errno 9] Bad file descriptor
>>
>>
>> Exception in thread Thread-11:
>> Traceback (most recent call last):
>>   File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
>> self.run()
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
>> conn = Connection(*conn)
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in __init__
>> self.socket.settimeout(SOCKET_TIMEOUT)
>> OSError: [Errno 9] Bad file descriptor
>>
>>
>> Exception in thread Thread-12:
>> Traceback (most recent call last):
>>   File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
>> self.run()
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
>> conn = Connection(*conn)
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in __init__
>> self.socket.settimeout(SOCKET_TIMEOUT)
>> OSError: [Errno 9] Bad file descriptor
>>
>>
>> Exception in thread Thread-9:
>> Traceback (most recent call last):
>>   File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
>> self.run()
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
>> conn = Connection(*conn)
>>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in __init__
>> self.socket.settimeout(SOCKET_TIMEOUT)
>> OSError: [Errno 9] Bad file descriptor
>>
>> Is there any solution to this?
>>
>> I'm trying out my app on digitalocean, on this link
>> 
>>
>> Regards
>>
>> --
> 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 a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/pEYZ6BmYS8U/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/6ebbaead-0b80-4bcc-8f5c-7390e4747898%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/CALkNK57PZ0YzCvCZJJSzKzwNUW7KyiyzGnAuWmzfvikWkMVGjw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: How to solve the OSError: [Errno 9] Bad file descriptor error

2019-07-11 Thread Jim S
Can you show some code?  The controller and view where this is happening?

-Jim

On Thursday, July 11, 2019 at 2:00:44 AM UTC-5, Maurice Waka wrote:
>
> I couldn't get an answer on this link 
> .
>
> My traceback is this
>
> ERROR:Rocket.Errors.Port8000:Traceback (most recent call last):
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 555, in listen
> sock = self.wrap_socket(sock)
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 507, in 
> wrap_socket
> ssl_version=ssl.PROTOCOL_SSLv23)
>   File "/usr/lib/python3.6/ssl.py", line 1158, in wrap_socket
> ciphers=ciphers)
>   File "/usr/lib/python3.6/ssl.py", line 817, in __init__
> self.do_handshake()
>   File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
> self._sslobj.do_handshake()
>   File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
> self._sslobj.do_handshake()
> OSError: [Errno 0] Error
>
>
> Exception in thread Thread-10:
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
> self.run()
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
> conn = Connection(*conn)
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in __init__
> self.socket.settimeout(SOCKET_TIMEOUT)
> OSError: [Errno 9] Bad file descriptor
>
>
> Exception in thread Thread-11:
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
> self.run()
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
> conn = Connection(*conn)
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in __init__
> self.socket.settimeout(SOCKET_TIMEOUT)
> OSError: [Errno 9] Bad file descriptor
>
>
> Exception in thread Thread-12:
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
> self.run()
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
> conn = Connection(*conn)
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in __init__
> self.socket.settimeout(SOCKET_TIMEOUT)
> OSError: [Errno 9] Bad file descriptor
>
>
> Exception in thread Thread-9:
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
> self.run()
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 1268, in run
> conn = Connection(*conn)
>   File "/home/mauricewaka/web2py/gluon/rocket.py", line 105, in __init__
> self.socket.settimeout(SOCKET_TIMEOUT)
> OSError: [Errno 9] Bad file descriptor
>
> Is there any solution to this?
>
> I'm trying out my app on digitalocean, on this link 
> 
>
> Regards
>
>

-- 
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/6ebbaead-0b80-4bcc-8f5c-7390e4747898%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.