Strange problem when starting project in Windows XP

2009-12-18 Thread Dane
Hi all, I'm new to Django. I got through the beginner tutorial without much trouble and I just finished the introductory chapters of The Definitive Guide, so I decided to start work on a real project. I've quickly run into a bizarre stumbling block however when I try to start my new project. I ru

Re: Strange problem when starting project in Windows XP

2009-12-18 Thread Shawn Milochik
What happens when you type 'python django-admin.py'? If that doesn't work, try replacing 'python' there with the full path to your Python executable in Windows. I've never heard of this problem, but it sounds like it could be something odd in the environment. Shawn -- You received this messag

Re: Strange problem when starting project in Windows XP

2009-12-18 Thread Dane
It worked with 'python c:\python26\scripts\django-admin.py startproject newsite'. Does that mean the PATH got messed up somehow? On Dec 18, 7:52 am, Shawn Milochik wrote: > What happens when you type 'python django-admin.py'? > > If that doesn't work, try replacing 'python' there with the full pa

Re: Strange problem when starting project in Windows XP

2009-12-18 Thread OkaMthembo
Hi Dane, Yes, when you have to specify an absolute path to get it working, it definitely sounds like a PATH environ config. problem. When you check your PATH variables, do you see the folder to django-admin.py listed? Regards, Lloyd On Fri, Dec 18, 2009 at 7:27 PM, Dane wrote: > It worked with

Re: Strange problem when starting project in Windows XP

2009-12-18 Thread dfolland
idle.pyw is the gui version of the python idle editor. Sounds like you've got file extension .py associated with it, instead of python. On Dec 18, 11:59 am, OkaMthembo wrote: > Hi Dane, > > Yes, when you have to specify an absolute path to get it working, it > definitely sounds like a PATH envir

Re: Strange problem when starting project in Windows XP

2009-12-19 Thread Dane
C:\Python26\Scripts is where django-admin.py is, and it's in my PATH variable. It's strange because C:\Python26 (the path to python itself) is also in the same PATH variable, and that is working. If I just type 'python', I do get the shell. If idle.pyw has taken over .py associations, how would I

Re: Strange problem when starting project in Windows XP

2009-12-19 Thread Dane
Ok, figured this one out with google. Idle had taken over .py files. It was as simple as going to My Computer, Tools, Folder Options, File Types, scrolling down to .py, and clicking Restore Default (which is python). Thanks for the help all! On Dec 19, 2:14 pm, Dane wrote: > C:\Python26\Scripts