#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2005
    Posts
    1
    Rep Power
    0

    py2exe and httplib problems


    I have been working with httplib to get and post to a website. The code works fine when run through the python interpreter, but when I compile it to an exe with py2exe it does not work. The error I have been getting is a socket.gaierror saying getaddrinfo failed. Does anyone know what might be causing this error? Is there a missing DLL or python module? Thank you.

    Rob Campbell
  2. #2
  3. Mini me.
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Location
    Cambridge, UK
    Posts
    783
    Rep Power
    13
    I often find that some bugs only show up when packaged by py2exe.

    Post the log file that was generated "xxxxxx.log" which is in the same directory as your application.

    grim

IMN logo majestic logo threadwatch logo seochat tools logo