Image 01
profile-image

goneri

Gonéri Le Bouder
test
ButtonMaker

Graphic Apps 18 comments

Score 50.0%
Jun 20 2005
The line is :
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> - Jun 25 2005
if i remove the line :

from /etc/fonts/fonts.conf ButtonMaker start fine.

The probleme seem to be that xmlplus can't open my /etc/fonts/fonts.dtd. - Jun 25 2005
Hello,
When i launch buttonmaker-0.1a2 on my Debian Sid, it prints this message and die.

$ ./ButtonMaker
Traceback (most recent call last):
File "./main.py", line 15, in ?
main(sys.argv)
File "./main.py", line 9, in main
win=my_func.Go()
File "/home/goneri/divers/buttonmaker-0.1a2/my_func.py", line 85, in __init__
self.fontTest('none')
File "/home/goneri/divers/buttonmaker-0.1a2/my_func.py", line 242, in fontTest
dirs = FontDir(self.FontConf)
File "/home/goneri/divers/buttonmaker-0.1a2/fontConfig.py", line 63, in FontDir
pathlist = _fontDir(dir_+'/'+filelist[i])
File "/home/goneri/divers/buttonmaker-0.1a2/fontConfig.py", line 54, in _fontDir
parser.parse(file)
File "/usr/lib/python2.3/site-packages/_xmlplus/sax/expatreader.py", line 109, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.3/site-packages/_xmlplus/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib/python2.3/site-packages/_xmlplus/sax/expatreader.py", line 216, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib/python2.3/site-packages/_xmlplus/sax/expatreader.py", line 395, in external_entity_ref
self._source.getSystemId() or
File "/usr/lib/python2.3/site-packages/_xmlplus/sax/saxutils.py", line 523, in prepare_input_source
f = urllib2.urlopen(source.getSystemId())
File "/usr/lib/python2.3/urllib2.py", line 129, in urlopen
return _opener.open(url, data)
File "/usr/lib/python2.3/urllib2.py", line 324, in open
type_ = req.get_type()
File "/usr/lib/python2.3/urllib2.py", line 226, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: /etc/fonts/fonts.dtd

Regards,

Gonéri - Jun 25 2005