Your message dated Tue, 25 Jul 2006 22:23:36 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Removed
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: jython
Version: 2.1.0-18

Hello,

xml.dom.minidom.parseString does not work (see output of interpreter session 
below). Installing the upstream version of jython (patching 
jython-2.1/Lib/xml/sax/drivers2/drv_xmlproc.py as per jpython-users mailing 
list (see email below) and pointing sys.path to the upstream installed version 
/Lib works without this problem.  Normal python2.1 also does not have this 
problem.

This is happening in the following environment:

/etc/jython/jython.conf unchanged from the packaged version

[EMAIL PROTECTED]:~$ uname -a
Linux cave 2.6.8-1-686 #1 Sat Aug 28 14:11:39 EDT 2004 i686 GNU/Linux

[EMAIL PROTECTED]:~$ dpkg -l jython sun-j2sdk1.4 sun-j2sdk1.4debian java-package
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  jython         2.1.0-18       Python seamlessly integrated with Java
ii  sun-j2sdk1.4   1.4.2+06       Java(TM) 2 SDK, Standard Edition, Sun Micros
ii  sun-j2sdk1.4de 0.14           Debian specific parts of Java(TM) 2 SDK, Sta
ii  java-package   0.14           A utility for building Java(TM) 2 related De

[EMAIL PROTECTED]:~$ java -version
java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)


-- interpreter session reproducing the bug -----------------------------
[EMAIL PROTECTED]:~$ jython
Jython 2.1 on java1.4.2_06 (JIT: null)
No entry for terminal type "emacs";
using dumb terminal settings.
Type "copyright", "credits" or "license" for more information.
>>> import xml.dom.minidom
>>> xml.dom.minidom.parseString('<h1>asdf</h1>')
Traceback (innermost last):
  File "<console>", line 1, in ?
  File "/usr/lib/python2.1/xml/dom/minidom.py", line 915, in parseString
  File "/usr/lib/python2.1/xml/dom/minidom.py", line 901, in _doparse
  File "/usr/lib/python2.1/xml/dom/pulldom.py", line 301, in parseString
  File "/usr/lib/python2.1/xml/sax/__init__.py", line 88, in make_parser
SAXReaderNotAvailable: No parsers found
>>> 
-----------------------------------------------------------------------


-----------------------------------------------------------------------
-- bits of email regarding probably unrelated patch that makes the
-- upstream version work:

Email Archive: jython-users (read-only) Search

From: Patrick Surry <[EMAIL PROTECTED]>
Re: XML problem: python works, jython not  
2004-05-07 07:00
 
 This is a known problem with an out-of-date version of 
Lib/xml/sax/drivers2/drv_xmlprov.py - someone pointed me to grab an updated 
copy of this (from PyXML distirbution I think??) and overwrite the version 
distributed with jython, and things work again.  I attach my copy.

----------------------------------------------------------------------


-Iwan Vosloo


--- End Message ---
--- Begin Message ---
jython has been removed because it's "orphaned, obsolete".

-- 
Martin Michlmayr
http://www.cyrius.com/

--- End Message ---

Reply via email to