On Mon, Aug 06, 2007 at 11:08:08AM -0700, john wrote:
> 
> On Aug 6, 9:48 am, Brett Parker <[EMAIL PROTECTED]> wrote:
> > On Mon, Aug 06, 2007 at 06:07:16AM -0700, john wrote:
> >
> > > On Aug 5, 10:46 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> > > > On 8/5/07, john <[EMAIL PROTECTED]> wrote:
> >
> > > > > thks - the tutorial shows the .py extension and that was giving the
> > > > > error.
> >
> > > > The file's name is 'django-admin.py', not 'django-admin', and the
> > > > tutorial is correct; the problem was that you did not have the
> > > > executable bit set on django-admin.py, and so you did not have
> > > > permission to execute that file from the command line.
> >
> > > Okay,  but who is the Ubuntu package manager contact  for django? -
> > > how can we get the packaging straightened out so new people to django
> > > don't face the same problem I did.  As I mentioned before, it seems
> > > the packaging can be improved.
> >
> > Err, it's not an "official" ubuntu package, it's a compile of the debian
> > package.... you can find that with a simple "apt-cache show
> > python-django". Bugs, apparently, should be mailed to
> > "[EMAIL PROTECTED]", I'm in the "Original-Maintainer" field.
> >
> > The packaging just uses python support - there's nothing clever going on
> > there - the only thing we (me and raphael, my sponsor for that package)
> > do is rename django-admin.py to django-admin and drop it in /usr/bin for
> > convienience. (Oh, and change /usr/bin/env python -> /usr/bin/python,
> > modify the bash completion to deal with django-admin.
> >
> > If you've got any suggestions for the packaging, I'm willing to listen!
> 
> 
> just as suggestions:
> 1) the /django/bin/.... files are in 3 locations (perhaps because I
> loaded from respository and from tarball) - the 3 locations are:
> a) /usr/lib//python2.5/site-packages/ ....

Shouldn't be there - I'm guessing that's your tarball version...

> b) /usr/lib/python-django/......   (the folder is symlinked but all
> the files are still underneath.

It's just a symlink, and it's because it's a lot easier to type than...

> c) /usr/share/python-support/.....

/usr/share/python-support/python-django/django/bin/<blah>

> if there's a good reason for them to be in all 3 places fine, just is
> confusing
> 
> 2) whether ".py" or not to be ".py" doesn't really matter - just an
> explanation on the tutorial for debian/ubuntu users will help avoid
> the constant frustration I had trying to get it to run (and to avoid
> future support msgs on the same issue).

Agreed.

> thks for the support - I am now exploring Django and seeing if it can
> convert me from rails.

Cool,
-- 
Brett Parker

--~--~---------~--~----~------------~-------~--~----~
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