Message from discussion
Create table and load data
Received: by 10.14.199.6 with SMTP id w6mr6238862een.0.1350066219432;
Fri, 12 Oct 2012 11:23:39 -0700 (PDT)
X-BeenThere: django-users@googlegroups.com
Received: by 10.14.173.2 with SMTP id u2ls2053586eel.4.gmail; Fri, 12 Oct 2012
11:22:13 -0700 (PDT)
Received: by 10.14.215.132 with SMTP id e4mr6218875eep.3.1350066133254;
Fri, 12 Oct 2012 11:22:13 -0700 (PDT)
Received: by 10.14.215.132 with SMTP id e4mr6218872eep.3.1350066133241;
Fri, 12 Oct 2012 11:22:13 -0700 (PDT)
Return-Path: <kurtis.mull...@gmail.com>
Received: from mail-ea0-f182.google.com (mail-ea0-f182.google.com [209.85.215.182])
by gmr-mx.google.com with ESMTPS id m6si877683eep.1.2012.10.12.11.22.13
(version=TLSv1/SSLv3 cipher=OTHER);
Fri, 12 Oct 2012 11:22:13 -0700 (PDT)
Received-SPF: pass (google.com: domain of kurtis.mull...@gmail.com designates 209.85.215.182 as permitted sender) client-ip=209.85.215.182;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of kurtis.mull...@gmail.com designates 209.85.215.182 as permitted sender) smtp.mail=kurtis.mull...@gmail.com; dkim=pass header...@gmail.com
Received: by mail-ea0-f182.google.com with SMTP id c10so566016eaa.41
for <django-users@googlegroups.com>; Fri, 12 Oct 2012 11:22:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=tibK3EmQ8Agi+UrX79KyqlqVKZ3xvYeJ+go5e4Vgp8U=;
b=z1XStn5UY+kGV+G1L1WDLZoOr7ImSx1a7grIyfR6QSUjVc8RShL7LICuVrMiAFlsft
0peatQQ8n533DYHCH/BW6hir8/ReW/qIdqbntxmlUZuq8atgYtScEpj+7s0b0G4sE5iI
LhZ94uf85apWuHXSQzyxn69/Ksj37lxh0m6c8GyEWQuvOJCJB5xm1oY+ZP86FD6PGFsP
N9nDBxDRG0yWaO6ss/DfBzdJeKM3+zlu0qDRC9hBusS+MOLD7dbNtLNTm/E8o9YN1aTN
0MGuD3N7hPCfrL57jAb3Ji05gcosT8URLxf+jVF+9e/H74Lf3zx2Es+Ier5lu8wJtvll
o8kg==
MIME-Version: 1.0
Received: by 10.14.178.195 with SMTP id f43mr7904170eem.44.1350066133092; Fri,
12 Oct 2012 11:22:13 -0700 (PDT)
Received: by 10.14.212.68 with HTTP; Fri, 12 Oct 2012 11:22:13 -0700 (PDT)
In-Reply-To: <CACwCsY6Z=ykOM5PT=eurO4qjfirT83xD5j9V2WRE45GwowS...@mail.gmail.com>
References: <CACwCsY4cLMDabayWKRaGBvx6+g_L_58hL6TTOENxyp5rhxV...@mail.gmail.com>
<CAPMFOb5GQSSVgaa2NJc_miDTPpiQt-oRjFqcJcevG00nBTd...@mail.gmail.com>
<CACwCsY5kqYMx+gpxfL5owprPSEhzJ=7T82=mbJByVL16c8K...@mail.gmail.com>
<CAPMFOb7+y5VYsBKVvkSMcqgYqK3Px83oF9+GoK471JWKhjg...@mail.gmail.com>
<CACwCsY5Ge7aM0HA+1V0U7qnL-7RTd0yXYZ6DeCypw9GgH8i...@mail.gmail.com>
<CAOXm+p_BXXW2xw_Ec_xh0yLzXS-pFz64tdQAx6Az6THM44A...@mail.gmail.com>
<CACwCsY7JfOxQo0NNAXRic=8YruO+Je9LquSNtiDJRQALUWu...@mail.gmail.com>
<CACwCsY6Z=ykOM5PT=eurO4qjfirT83xD5j9V2WRE45GwowS...@mail.gmail.com>
Date: Fri, 12 Oct 2012 14:22:13 -0400
Message-ID: <CAPbEHseOBwivmt-oa9C2OUNu6QXHfJdq5=hSBBA0SqxZuXc...@mail.gmail.com>
Subject: Re: Create table and load data
From: Kurtis Mullins <kurtis.mull...@gmail.com>
To: django-users@googlegroups.com
Content-Type: multipart/alternative; boundary=047d7b621c7449494d04cbe0c41b
--047d7b621c7449494d04cbe0c41b
Content-Type: text/plain; charset=ISO-8859-1
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!
--047d7b621c7449494d04cbe0c41b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<div class=3D"gmail_quote">On Fri, Oct 12, 2012 at 2:09 PM, Larry Martell <=
span dir=3D"ltr"><<a href=3D"mailto:larry.mart...@gmail.com" target=3D"_=
blank">larry.mart...@gmail.com</a>></span> wrote:<blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">
<div class=3D"HOEnZb"><div class=3D"h5">
<br>
</div></div>So my client decided to use xml. I created the file and put it =
in<br>
fixtures/initial_data.xml. On my development machine, which is a Mac,<br>
it worked fine - running syncdb loaded the data. But on my client's<br>
machine, which is running CentOS, running syncdb did not load the data<br>
(it said 'Installed 0 object(s) from 0 fixture(s)'). But when I ran=
:<br>
<br>
manage.py loaddata fixtures/initial_data.xml<br>
<br>
That worked. Anyone have any ideas why sycndb worked on my mashine,<br>
but it's not working on theirs?</blockquote><div><br></div><div>That=
9;s very weird. I haven't seen that affect off-hand. I've worked wi=
th Django on Linux (CentOS, Ubuntu, Debian) as well as OSX and it has alway=
s tended to work fine. I'm not sure on a solution other than to keep ch=
ecking for inconsistencies or issues with the .xml file itself. Hopefully s=
omeone else who has ran into this problem before can chime in and offer som=
e help. Good luck!</div>
</div>
--047d7b621c7449494d04cbe0c41b--