On Fri, Oct 12, 2012 at 2:09 PM, Larry Martell <[email protected]>wrote: > > > So my client decided to use xml. I created the file and put it in > fixtures/initial_data.xml. On my development machine, which is a Mac, > it worked fine - running syncdb loaded the data. But on my client's > machine, which is running CentOS, running syncdb did not load the data > (it said 'Installed 0 object(s) from 0 fixture(s)'). But when I ran: > > manage.py loaddata fixtures/initial_data.xml > > That worked. Anyone have any ideas why sycndb worked on my mashine, > but it's not working on theirs?
That's very weird. I haven't seen that affect off-hand. I've worked with Django on Linux (CentOS, Ubuntu, Debian) as well as OSX and it has always tended to work fine. I'm not sure on a solution other than to keep checking for inconsistencies or issues with the .xml file itself. Hopefully someone else who has ran into this problem before can chime in and offer some help. Good luck! -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. 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.

