Problem: when running the django-admin.py script, regardless how I
call it, I always just get the help/usage text back. No error message,
just the message.
Background: This is Python 2.4 on a windows xp box that's had django
on it since way back (0.92 or so) with everything working fine. I
hadn't done an SVN update in a while so I thought I'd refresh the
install before starting my next project. Updated to latest trunk, went
to start new project by running "django-admin.py startproject xxx" and
got the behaviour described above.
Things I've tried: I've re-run the svn update - no help. Deleted the
django install and checked out latest trunk again - no help. Deleted
that instal and checked out release 0.95 - no help. I've tried calling
"django-admin.py --version", "django-admin.py runserver" and a few
other 'actions', all with no difference in the output. I've also
opened up a python shell, and did a "import django, django.VERSION"
which reported the expcted 0.95.
Do any of you fine people have any ideas of what might be going wrong
or things I could try or logfiles I could check or anything?
Many thanks,
Cam
Anyone able to shed some light on it?
Thanks,
Cam
--
----
Waylan Limberg
way...@gmail.com
Yeah, I did.
As a workaround for now, I'm just calling the script via a call to
"python" and passing the full path. Sucks a bit, though.
Cam.
"D:\Python24\python.exe" "%1" %*
HTH,
Alex
Ah! That worked a treat!! I never even thought to look there since it
was previously working fine. I've gone in and edited it (Open WIndows
Explorer, Tools / Folder Options ... / Files Types) and it's working
great.
Thanks so much!
Regards,
Cam