Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Strange django-admin.py behaviour
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Cam McVey  
View profile  
 More options Dec 20 2006, 7:44 am
From: "Cam McVey" <cam.mc...@gmail.com>
Date: Wed, 20 Dec 2006 12:44:27 +0000
Local: Wed, Dec 20 2006 7:44 am
Subject: Strange django-admin.py behaviour
Hi all!

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cam McVey  
View profile  
 More options Dec 20 2006, 10:01 am
From: "Cam McVey" <cam.mc...@gmail.com>
Date: Wed, 20 Dec 2006 15:01:36 +0000
Local: Wed, Dec 20 2006 10:01 am
Subject: Re: Strange django-admin.py behaviour
OK, here's a wee update: if I call the script like this, I get sensible output:
"python C:\Python24\Scripts\django-admin --version"
but if I just try:
"C:\Python24\Scripts\django-admin --version"
it doesn't work (I just get the help text).
[By the way, "C:\Python24\Scripts" is on my system PATH, and I've
setup ".py" as an executable, which meant that I'd just call
"django-admin --version" from aywhere in the filesystem and it used to
work before the update.]

Anyone able to shed some light on it?

Thanks,
Cam


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Waylan Limberg  
View profile  
 More options Dec 20 2006, 10:49 am
From: "Waylan Limberg" <way...@gmail.com>
Date: Wed, 20 Dec 2006 10:49:02 -0500
Local: Wed, Dec 20 2006 10:49 am
Subject: Re: Strange django-admin.py behaviour
When you updated, did you copy a new version of django-admin.py to
C:\Python\Scripts\? If you still have an older version of the file
there that may be your problem.

On 12/20/06, Cam McVey <cam.mc...@gmail.com> wrote:

--
----
Waylan Limberg
way...@gmail.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cam McVey  
View profile  
 More options Dec 20 2006, 11:04 am
From: "Cam McVey" <cam.mc...@gmail.com>
Date: Wed, 20 Dec 2006 16:04:30 +0000
Local: Wed, Dec 20 2006 11:04 am
Subject: Re: Strange django-admin.py behaviour
On 12/20/06, Waylan Limberg <way...@gmail.com> wrote:

> When you updated, did you copy a new version of django-admin.py to
> C:\Python\Scripts\? If you still have an older version of the file
> there that may be your problem.

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.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alex Li  
View profile  
 More options Dec 20 2006, 12:51 pm
From: "Alex Li" <likw...@gmail.com>
Date: Wed, 20 Dec 2006 17:51:27 -0000
Local: Wed, Dec 20 2006 12:51 pm
Subject: Re: Strange django-admin.py behaviour
I think there might be something wrong in your .py extension to
python.exe linking in Windows setup.  Specifically it seems like your
python script is working but the arguments after the first one is not
being passed on.  Did you have %* at the end, like this?

"D:\Python24\python.exe" "%1" %*

HTH,
Alex

On Dec 20, 7:44 am, "Cam McVey" <cam.mc...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cam McVey  
View profile  
 More options Dec 21 2006, 5:31 am
From: "Cam McVey" <cam.mc...@gmail.com>
Date: Thu, 21 Dec 2006 10:31:32 +0000
Local: Thurs, Dec 21 2006 5:31 am
Subject: Re: Strange django-admin.py behaviour
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

On 12/20/06, Alex Li <likw...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »