Good luck to you! The code is here if you want to start crawling through it for a good point to place a breakpoint: https://github.com/django/django/blob/master/django/core/management/commands/syncdb.py
On Fri, Oct 12, 2012 at 3:30 PM, Larry Martell <larry.mart...@gmail.com>wrote: > On Fri, Oct 12, 2012 at 12:22 PM, Kurtis Mullins > <kurtis.mull...@gmail.com> wrote: > > On Fri, Oct 12, 2012 at 2:09 PM, Larry Martell <larry.mart...@gmail.com> > > 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! > > Yeah, I don't think it's platform dependent. The xml file was pulled > from our git repository, and it matches mine. And it works with > loaddata. I'll have to set a breakpoint and see why manage doesn't see > the file. > > -- > 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 > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.