what can I do with this error: Getaadrinfo Failed.

38 views
Skip to first unread message

Maurice Waka

unread,
Sep 20, 2015, 1:29:06 AM9/20/15
to web2py-users

When trying to custom pack and download my app as .exe, I get this error:

[Errno socket error] [Errno 11004] getaddrinfo failed 

How can I resolve it?

Massimo Di Pierro

unread,
Sep 20, 2015, 11:32:09 AM9/20/15
to web2py-users
Please submit a bug report. Do you have any more detail about the error and the OS you are using to build and to run the exe code?

Maurice Waka

unread,
Sep 23, 2015, 7:32:49 AM9/23/15
to web...@googlegroups.com
This is the error I got.
Kind 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/dPYVvZW38o8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ticket admin_127.0.0.1.2015-09-21.16-57-43.81abec65-da86-4d5d-85a6-68536f8dc1da.html

Maurice Waka

unread,
Sep 23, 2015, 7:33:24 AM9/23/15
to web...@googlegroups.com
ERROR.py

Leonel Câmara

unread,
Sep 23, 2015, 7:35:33 AM9/23/15
to web2py-users
This seems like a temporary error where your DNS wasn't working so it couldn't download the web2py_win from web2py.com which is the first step to make an exe with your application.

Leonel Câmara

unread,
Sep 23, 2015, 7:45:03 AM9/23/15
to web2py-users
So looking at ERROR.py you're also having problems checking for a new version in admin. I think you have some kind of proxy involved that is creating problems. Maybe a work VPN or something like that.

Maurice Waka

unread,
Sep 23, 2015, 9:30:25 AM9/23/15
to web...@googlegroups.com
I thought I could download my app(what ia have developed) as .exe

On Wed, Sep 23, 2015 at 2:35 PM, Leonel Câmara <leonel...@gmail.com> wrote:
This seems like a temporary error where your DNS wasn't working so it couldn't download the web2py_win from web2py.com which is the first step to make an exe with your application.

--

Leonel Câmara

unread,
Sep 23, 2015, 9:44:45 AM9/23/15
to web2py-users
You can, however the way this works is:

1 - Download the web2py windows executable version
2 - Put your Application in it
3 - Change routes.py to make your application the default one.

You are failing at the first step because urllib is not being able to get the ip address of web2py.com.

Can you test something for me, open a python interpreter. There type:

import socket
socket.getaddrinfo('web2py.com', 80)

Does this work?

To be clear, this is a DNS problem.

Maurice Waka

unread,
Sep 23, 2015, 9:50:39 AM9/23/15
to web...@googlegroups.com
I will get you the info soon. 
Am not at my 'IT' desk at the moment.
Thanks !!

--
Reply all
Reply to author
Forward
0 new messages