Al 19/09/12 10:42, En/na airween ha escrit:

   File "/usr/lib/python2.6/socket.py", line 547, in create_connection
     for res in getaddrinfo(host, port, 0, SOCK_STREAM):
error: Int or String expected
 >>>


What should I do, what is the problem?

According to the last line it seems that 'host' or 'port' have the wrong type. Since 'host' must be an string or None the problem seems to be related with 'port'.

Printing httphost and httpport's type and value before creating the connection may give you some clue.



HTH

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to