Re: [Django] #19741: Procedure in README.txt for setting up djangoproject locally doesn't work

2013-02-06 Thread Django
#19741: Procedure in README.txt for setting up djangoproject locally doesn't 
work
-+-
 Reporter:  aaugustin|Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Djangoproject.com|  Version:  master
  Web site   |   Resolution:  fixed
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:   |  Needs documentation:  0
Has patch:  0|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  0
Easy pickings:  0|
-+-
Changes (by Aymeric Augustin ):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In
 [changeset:"ccde1930c05f90bbc28278a379d6e1ad60e1f29c/djangoproject.com"]:
 {{{
 #!CommitTicketReference repository="djangoproject.com"
 revision="ccde1930c05f90bbc28278a379d6e1ad60e1f29c"
 Updated installation instructions in README.

 Fixed #19741.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[Django] #19741: Procedure in README.txt for setting up djangoproject locally doesn't work

2013-02-04 Thread Django
#19741: Procedure in README.txt for setting up djangoproject locally doesn't 
work
-+-
   Reporter:  aaugustin  |  Owner:  nobody
   Type:  Bug| Status:  new
  Component: |Version:  master
  Djangoproject.com Web site |   Keywords:
   Severity:  Normal |  Has patch:  0
   Triage Stage:  Accepted   |Needs tests:  0
Needs documentation:  0  |  Easy pickings:  0
Patch needs improvement:  0  |
  UI/UX:  0  |
-+-
 [originally reported by eswenson1 at
 https://github.com/django/djangoproject.com/issues/28]

 '''eswenson1'''

 The current procedures described in README.txt for setting up the
 djangoproject locally don't work. This appears to be because they assume
 that you already have a trac database setup properly with the correct
 schema. When the ./manage.py migrate step is executed, it fails due to
 missing relations from the trac model. In particular, the migration fails
 with the following error:

 Running migrations for trac:

 {{{
 > Migrating forwards to 0001_initial.
 > trac:0001_initial ERROR: relation "attachment" does not exist STATEMENT:
 CREATE VIEW "attachment_django_view" AS SELECT "type" || '.' || "id" ||
 '.' || "filename" AS "django_id", * FROM attachment;
 }}}

 Perhaps you could provide a truncated database dump from the live trac
 instance so that this can be used to create a dummy trac database.

 I decided to try to simply install Trac (0.12) and specify a database
 connection string that pointed to the code.djangoproject database. Once I
 did that, I was able to run the "./manage.py migrate" with no errors. The
 server started up fine after that.

 ''dlo'''

 Pull request: https://github.com/django/djangoproject.com/pull/46

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.