google-code-export / django-mptt

Automatically exported from code.google.com/p/django-mptt
Other
0 stars 0 forks source link

django cannot find json fixture 'initial_data' #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

Is it possible that the file initial_data.xml is omitted from the download?

What steps will reproduce the problem?
1. Until my update today, I ran mptt.  I got a fresh mptt using
the read-only svn download described under the "Source" tab on this web
page (I got a fresh update in the course of converting to python2.6).

2. I also did a svn update of django today.

3. Now /usr/local/bin/python2.6 manage.py syncdb --noinput --verbosity=2
fails with a large number of error messages looking for initial_data.xml:
the first couple are
  Running post-sync handlers for application tinymce
  Running post-sync handlers for application mptt
  Loading 'initial_data' fixtures...
  Checking
'/usr/local/lib/python2.6/site-packages/django/contrib/auth/fixtures' for
fixtures...
  Trying
'/usr/local/lib/python2.6/site-packages/django/contrib/auth/fixtures' for
initial_data.xml fixture 'initial_data'...
  No xml fixture 'initial_data' in
'/usr/local/lib/python2.6/site-packages/django/contrib/auth/fixtures'.
  Trying
'/usr/local/lib/python2.6/site-packages/django/contrib/auth/fixtures' for
initial_data.xml.gz fixture 'initial_data'...

What is the expected output? What do you see instead?

I expected to see no output, but instead saw a long list of error messages.

What version of the product are you using? On what operating system?

I have downloaded the read-only from the svn as described on the "Source"
tab of the web page today (Feb 17 2009).  I am running Ubuntu (Gutsy, I
believe) with python 2.6, and today's Django.

Please provide any additional information below.

Thank you.

Original issue reported on code.google.com by jim.heff...@gmail.com on 17 Feb 2009 at 2:54

GoogleCodeExporter commented 9 years ago
I apologize for my mistaken report; I had something wrong in my setup unrelated 
to
mptt.  Someone straightened me out in a private email.   

Original comment by jim.heff...@gmail.com on 18 Feb 2009 at 2:30

GoogleCodeExporter commented 9 years ago

Original comment by jonathan.buchanan on 1 Jul 2009 at 2:37