building cvs snapshot



I've got the cvs snapshot to build and install, with a few issues:

 * checktrans.py doesn't work. There doesn't appear to be a
saxlib.DocumentHandler.locator for CounterHandler to inherit, and
setDocumentLocator(self,locator) is never called. Because of this; 

nicholas piamox7:/tmp/dia-cvs-snapshot/sheets$ ./checktrans ER.sheet
Traceback (innermost last):
  File "./checktrans.py", line 154, in ?
    p.parse(name)
  File "/usr/lib/python1.5/site-packages/xml/sax/drivers/drv_pyexpat.py", line 61, in parse
    self.parseFile(urllib.urlopen(sysID))
  File "/usr/lib/python1.5/site-packages/xml/sax/drivers/drv_pyexpat.py", line 77, in parseFile
    if not self.parser.Parse(fileobj.read(),1):
  File "/usr/lib/python1.5/site-packages/xml/sax/drivers/drv_pyexpat.py", line 48, in startElement
    self.doc_handler.startElement(name,saxutils.AttributeMap(attrs))
  File "./checktrans.py", line 81, in startElement
    name = 'Sheet "%s"' % self.locator.getSystemId()
AttributeError: locator

I installed a new PyXML just now, latest from sourceforge. My saxlib
file is;

$Id: saxlib.py,v 1.11 2001/01/27 09:03:52 loewis Exp $
version = '2.0beta'

 * sheets don't turn up. They are in /usr/local/share/dia/sheets/
(eg. /usr/local/share/dia/sheets/ER.sheet) and are the correct set.
plugins went into /usr/local/lib/dia. A few old ones were in there
that dia cvs snapshot complained about so I moved away ;

-rwxr-xr-x    1 root     root          725 Aug  1 22:50 /tmp/libeml_objects.la*
-rwxr-xr-x    1 root     root       366316 Aug  1 22:50 /tmp/libeml_objects.so*
-rwxr-xr-x    1 root     root          743 Aug  1 22:50 /tmp/libsybase_objects.la*
-rwxr-xr-x    1 root     root       187235 Aug  1 22:50 /tmp/libsybase_objects.so*

The plug-ins dialog shows libfs_objects.la and the rest loaded. I can
load a document which uses them, just not select them in the GUI to
make new ones.

Nick

-- 
Part 3 MEng Cybernetics; Reading, UK       http://www.nickpiper.co.uk/
Change PGP actions of mailer or fetch key see website   1024D/3ED8B27F
Choose life. Be Vegan :-) Please reduce needless cruelty + suffering !




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]