Syncato-0.8 on dbxml1.2.1 with Xerces-c 2.5.0 bug

<[email protected]> Sun, 14 Mar 2004 14:40:13 -0800
Newsgroups gmane.comp.web.syncato.general
Message-ID <003601c40a15$59f64800$6907a8c0@bi5triy>
I wrote previously:

> ... why I still can't get Syncato working with BerkeleyDBXML1.2.1
> plus DB4.2.52 plus recompiled-and-actually-called-bsddb3-4.2.4

The problem showed up as: ArrayIndexOutofBoundsException

After much searching I finally just started using verbatim pieces of the error text when I finally found that Nico Erfurth had
experienced the problem with Perl:
   http://article.gmane.org/gmane.comp.db.dbxml.general/300

George Feinberg had the solution: Drop back to Xerces-c 2.4.0

I too must have had one of Nico's ECOFFEE errors because when I immediately went back to DBXML 1.2.1's tcl test cases it "now"
failed -- I'd sworn I'd run those tests.

The switch to Xerces-c 2.4.0 got past that bug.

Once Xerces-c 2.4.0 was in place, I recompiled and reinstalled (and retested) Pathan 1.2.2 and DBXML1.2.1 and bsddb3 4.2.4. I
mention this because I lost two days overlooking something simple:

  BE SURE to delete **ALL** the python-related dbxml files:
   --> python2.3/site-packages/dbxml.py, .pyc, and _dbxml.so
  AND the file(s) in the dbxml-1.2.1 python build directories, e.g:
   --> dbxml-1.2.1/src/python/build/lib.linux-i686-2.3/_dbxml.so

The rebuild in DBXML1.2.1/src/python did not take care of any of this for me -- the consequence was:
- ImportError: libpathan.so.2: undefined symbol: _ZTIN11xercesc_2_412DOMExceptionE

Once I deleted all of those files, the DBXML1.2.1 python api built and installed properly, and even the DBXML1.2.1 python test cases
ran (with examples/python/example.py set to import bsddb3.db).

And, finally, Syncato-0.8 now starts up for me in <db-type>dbxml</db-type> mode and takes new posts. More testing to come.

Best,
--Nick Ragouzis





-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click