Hi Timothy,

I'm almost 100% sure that this is due to some misconfiguration in windows.
Doing a Google search for the error message gave me this:

http://forums.sun.com/thread.jspa?messageID=1913234#1913234

It is suggested here that the system root variable is not set
correctly in windows.
Another place where I found the exact same error message, is here:

http://www.snapfiles.com/opinions/WinSock_XP_Fix/WinSock_XP_Fix.html

It is from a comment for a software called "Win Sock XP Fix".
I haven't tried the software, but looking at the traceback it seems
obvious that this is a windows problem (C:\Python25\lib\socket.py
throws the error).

Hope this helps!

Best Regards,

Jesaja Everling

On Tue, Aug 26, 2008 at 1:48 PM, Timothy Kanters <[EMAIL PROTECTED]> wrote:
> Hey
>
> I have a strange problem on windows when trying to do 'python manage.py
> runserver'. I get back the error socket.error: (10106, 'winsock error'). I
> also get this error when running other commands that open a socket.
>
> I have no idea where this is comming from. But this did used to work before.
> Today after not running django on that system for a month or two. I updated
> all the code and this error came about. I didn't however test the old setup
> before updating. So this could be something with Windows itself.
>
> Env: Django SVN-8580, python 2.5, Windows XP.
>
> Traceback:
>
> Validating models...
> 0 errors found
>
> Django version 1.0-beta_1-SVN-8580, using settings 'baksteenmedia.settings'
> Development server is running at http://127.0.0.1:8000/
> Quit the server with CTRL-BREAK.
> Unhandled exception in thread started by <function inner_run at 0x00FAD930>
> Traceback (most recent call last):
>   File "D:\Baksteen
> Media\Django\Django-trunk\django\core\management\commands\ru
> nserver.py", line 54, in inner_run
>     run(addr, int(port), handler)
>   File "D:\Baksteen
> Media\Django\Django-trunk\django\core\servers\basehttp.py",
> line 663, in run
>     httpd = WSGIServer(server_address, WSGIRequestHandler)
>   File "C:\Python25\lib\SocketServer.py", line 329, in __init__
>     self.socket_type)
>   File "C:\Python25\lib\socket.py", line 154, in __init__
>     _sock = _realsocket(family, type, proto)
> socket.error: (10106, 'winsock error')
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to