Code

Opened 8 months ago

Last modified 3 months ago

#21481 new Cleanup/optimization

Install 1.6 Django-admin.py bug in Mac OS X 10.9

Reported by: mdc@… Owned by: nobody
Component: Packaging Version: 1.6
Severity: Normal Keywords: install
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Hello,

Thank you for developing django. When I install it from source on my Mac, the line that states something like copying django-admin.py from build/blahblahblah to /usr/local/bin/ doesn't do this if there is already a django-admin.py already installed. You might put that in the documentation if a current version of django is sensed. Thanks,

-Mac

Attachments (0)

Change History (6)

comment:1 Changed 8 months ago by timo

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

It's not entirely clear to me what you are requesting. We recommend uninstalling any old versions of Django before installing a new one.

comment:2 Changed 8 months ago by mdc@…

Add the link: https://docs.djangoproject.com/en/dev/topics/install/#remove-any-old-versions-of-django and a message regarding copied files to local bin or remove this message completely and just leave the link.

As is, the warning is incomplete.

========
WARNING!
========

You have just installed Django over top of an existing
installation, without removing it first. Because of this,
your install may now include extraneous files from a
previous version that have since been removed from
Django. This is known to cause a variety of problems. You
should manually remove the

%(existing_path)s

directory and re-install Django.

comment:3 Changed 8 months ago by rjasjukaitis

How did you installed/upgraded Django?

comment:4 Changed 8 months ago by mdc@…

git clone https://github.com/django/django.git

Then sudo python setup.py install

comment:5 Changed 7 months ago by aaugustin

  • Easy pickings unset
  • Triage Stage changed from Unreviewed to Accepted

I'm accepting the ticket with the following scope:

  • attempt to detect an existing django-admin.py and add a specific warning for this case.
  • if that isn't doable, extend the warning to mention django-admin.py which may be installed outside of %(existing_path)s.

comment:6 Changed 3 months ago by timo

  • Component changed from Uncategorized to Packaging
  • Type changed from Bug to Cleanup/optimization

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as new
The owner will be changed from nobody to anonymous. Next status will be 'assigned'
as The resolution will be set. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.