building cvs snapshot

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

 * 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 "./", line 154, in ?
  File "/usr/lib/python1.5/site-packages/xml/sax/drivers/", line 61, in parse
  File "/usr/lib/python1.5/site-packages/xml/sax/drivers/", line 77, in parseFile
    if not self.parser.Parse(,1):
  File "/usr/lib/python1.5/site-packages/xml/sax/drivers/", line 48, in startElement
  File "./", 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:,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/*
-rwxr-xr-x    1 root     root       366316 Aug  1 22:50 /tmp/*
-rwxr-xr-x    1 root     root          743 Aug  1 22:50 /tmp/*
-rwxr-xr-x    1 root     root       187235 Aug  1 22:50 /tmp/*

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


Part 3 MEng Cybernetics; Reading, 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]