> s�n, 13,.03.2005 kl. 10.27 +0100, skrev Robert Myhren: >> Well, I have had another encounter with repligard again. >> Followed Rambos advice: >> http://marc.theaimsgroup.com/?l=midgard-user&m=110681147426361&w=2 >> 1. So, sg imported succesfully. >> The rest crashed. >> After some digging, I found this to be because of a Norwegian character >> in >> the import.xml.gz file Its seems that repligard is not too fond of >> Norwegian chars, as removing this solved the crash. Bug??? > Most probably it's expat. Expat is quite fickle when it comes to this. Do > you use utf-8? This is my installed expat. Anything wrong with this version?
Package: libexpat1 Version: 1.95.6-6 Priority: optional Section: libs Maintainer: Ardo van Rangelrooij <[EMAIL PROTECTED]> Depends: libc6 (>= 2.2.4-4) Architecture: i386 Filename: dists/woody/expat/libexpat1_1.95.6-6_i386.deb Size: 55210 MD5sum: a040ea90f1c58e307056288e2022a12e Description: XML parsing C library - runtime library This package contains the runtime, shared library of expat, the C library for parsing XML. source: expat installed-size: 196 Yes, I use utf-8. > >> 2. Another import try with datagard. >> All pages shows up in aegir. Looking good. >> But wait, there are no content with these pages. > >> 3. Investigating the xml file shows that the content is not exported at >> all. >> Why?? Used the -a switch as specified in the doc. > >> This is my .conf file >> >> <?xml version="1.0" encoding="UTF-8" ?> >> <Repligard xmlns="http://www.midgard-project.org/repligard/1.4"> >> <!-- Database description --> >> <!-- Path to optionally compressed Repligard schema file --> >> <database >> schema="/usr/share/midgard/repligard_withsg.xml" >> name="midgard" >> username="midgard" >> password="password" >> encoding="UTF-8" >> blobdir="/var/lib/midgard/blobs/midgard" >> /> >> <!-- Login account description for Repligard operation --> >> <login >> username="user+SG" >> password="password" >> /> >> <replicate all="yes"/> >> </Repligard> > Start by checking if you db is corrupt. I once spent 6 months blaming > midgard when the problem was a corrupt db. How do I check if the db is corrupt? > You're exporting the whole db here, why? I am trying to move my site to my laptop, where I can do development, and then transfer it back to the server. I am residing in Australia atm., and the signal-delay to the server in Norway makes working on the server a rather annoying prosess. Any midgardians in Queensland btw? Would like to come in touch. But as there are more sites on the same installation, I would prefer not to mess around on a sql -level. >> Repligard is not exactly a userfriendly tool atm. >> Hope somebody can give me a hand with these problems. >> Or is the best solution to just hardcopy the whole db. > I usually do this when I'm moving a db, also for backuppurposes. > > Tarjei > >> Robert >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> > -- > Tarjei Huse <[EMAIL PROTECTED]> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
