Page 1 of 1

xmlback reports syntax error

Posted: Sat Jun 30, 2012 12:05 pm
by rmizzi
Hi,

I'm trying to run openemm on a 64-bit ubuntu machine. I compiled everything from a source download.

My problem is with xmlback ...
An xml test file has been generated in var/spool/Meta but when xmlback is executed I get the following error
AgnMail=............xml: line 1: syntax error near unexpected token 'newline'
AgnMail=............xml: line 1: `<xml version="1.0" encoding="UTF-8"?>'


any idea what the problem could be?
if it's of any help at all , an ldd of xmlback shows:
/home/oe/src/OpenEMM-2012_M3-src/src/c/xmlback$ ldd xmlback
linux-vdso.so.1 => (0x00007fffbb9ff000)
libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f2123c8a000)
libconfig.so.8 => /usr/lib/libconfig.so.8 (0x00007f2123a80000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f2123862000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f21234a5000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f21231ab000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f2122fa6000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f2122d8f000)
/lib64/ld-linux-x86-64.so.2 (0x00007f2123fff000)



Thanks!
Ruth

Re: xmlback reports syntax error

Posted: Tue Jul 03, 2012 1:12 pm
by ud
There is no known issue running (the 32bit) version of xmlback in a 64bit environment. This looks more like an error has occurred during generation of the XML file. So you should first test the XML file for integrity (e.g. using xmllint) and scan the logfile of the webcontainer for further information.

-- ud

Re: xmlback reports syntax error

Posted: Fri Jul 06, 2012 12:04 pm
by rmizzi
Thanks for your reply.

Yes, i was trying to run xmlback manually on a previously generated xml file and something must have been 'corrupted' in the xml.

Later uses of xmlback were succesful