Go to advanced search

by savaric
Thu Jun 12, 2014 10:57 pm
Forum: Python
Topic: Running a loop whilst using Flask
Replies: 5
Views: 4929

Re: Running a loop whilst using Flask

Hey Croc, I'm working on a project with similar needs. I'm trying to keep it simple, and I've opted to avoid celery, which looks really cool, but feels like overkill for me, at my present experience level... I intend to have the Apache/Flask app be my admin web app, and have a different http based d...
by savaric
Thu Jun 12, 2014 10:46 pm
Forum: Python
Topic: python urllib2 error no address associated to host name
Replies: 9
Views: 9032

Re: python urllib2 error no address associated to host name

Thanks paddyg. I wound up hacking my socket.py file so that the create_connection() method used gethostbyname() first to resolve the hostname to an IP, then I used the IP in the original getaddrinfo() call, inspired by edmundLi's comments. This may not work under some circumstances, for instance I d...
by savaric
Mon Jun 09, 2014 10:08 pm
Forum: Python
Topic: python urllib2 error no address associated to host name
Replies: 9
Views: 9032

Re: python urllib2 error no address associated to host name

I'm having a similar problem that I've traced to getaddrinfo(). In my case I want to use pip to install the Flask framework. [email protected] / $ sudo pip install Flask Downloading/unpacking Flask Cannot fetch index base URL http://pypi.python.org/simple/ Could not find any downloads that satisfy the requirem...

Go to advanced search