[PyKDE] Bug report: cannot open PTL files in Eric3 anymore

Nicola Larosa nico at teknico.net
Fri Sep 17 17:45:36 BST 2004


Symptom: cannot open PTL files in Eric3 anymore, neither from the Project 
Browser, nor from the Open dialog.

Circumstances: the cursor turns to hourglass for a very brief moment, and then 
reverts to arrow shape. If running Eric3 from a shell, no traceback 
whatsoever is shown.

I first noticed the problem in the 20040821 snapshot, and it's still there in 
the 20040912 snapshot, while it doesn't happen (the PTL files open correctly) 
in the 20040727 snapshot.

Unrelated: the 20040727 snapshot cannot open a project file saved by the 
20040821 snapshot. Here's the traceback in the external shell:

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/Project/Project.py", line 2030, in 
handleOpenRecent
  File "/usr/lib/python2.3/site-packages/Project/Project.py", line 1455, in 
openProject
  File "/usr/lib/python2.3/site-packages/Project/Project.py", line 222, in 
readProject
  File "/usr/lib/python2.3/site-packages/Project/Project.py", line 286, in 
readXMLProject
  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 515, 
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: /home/Araknos/devel/branches/akdb_nl/Project-3.5.dtd

Thanks in advance, Detlev.


-- 
Nicola Larosa - nico at tekNico.net

"Laugh. But you too are going to sound like and old fart one day.
And the respect you show or don't show for those that came before you
is going to be what you instill in those that come after you."
 -- EvilTwinSkippy, Slashdot, June 2004

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20040917/874b2069/attachment.bin


More information about the PyQt mailing list