Your message dated Thu, 05 Oct 2006 04:32:37 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#276873: fixed in jython 2.1.0-23
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 ---
Source: jython
Source-Version: 2.1.0-23

We believe that the bug you reported is fixed in the latest version of
jython, which is due to be installed in the Debian FTP archive:

jython-doc_2.1.0-23_all.deb
  to pool/main/j/jython/jython-doc_2.1.0-23_all.deb
jython_2.1.0-23.diff.gz
  to pool/main/j/jython/jython_2.1.0-23.diff.gz
jython_2.1.0-23.dsc
  to pool/main/j/jython/jython_2.1.0-23.dsc
jython_2.1.0-23_all.deb
  to pool/main/j/jython/jython_2.1.0-23_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nicolas Duboc <[EMAIL PROTECTED]> (supplier of updated jython package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue,  3 Oct 2006 15:59:30 +0200
Source: jython
Binary: jython jython-doc
Architecture: source all
Version: 2.1.0-23
Distribution: unstable
Urgency: low
Maintainer: Nicolas Duboc <[EMAIL PROTECTED]>
Changed-By: Nicolas Duboc <[EMAIL PROTECTED]>
Description: 
 jython     - Python seamlessly integrated with Java
 jython-doc - Jython documentation including API docs
Closes: 137090 240213 276873 314711 388046
Changes: 
 jython (2.1.0-23) unstable; urgency=low
 .
   * Install the upstream NEWS file as /usr/share/doc/changelog
     (closes: #314711)
   * Compile zxJDBC (closes: #137090)
   * Replaced the xml package by the PyXML distribution included in
     upstream binary package of Jython 2.1 (PyXML 0.6.6)
   * Replaced the drv_xmlproc.py file with a newer version from PyXML CVS
     (closes: #276873)
   * Do not include package dirs of the python-2.1 package in jython search
     path.
   * Removed the test for python2.1 from /usr/bin/jythonc (closes: #388046)
   * Depends on java-gcj-compat instead of gij directly (closes: #240213)
   * Build using java-gcj-compat-dev.
Files: 
 bd5ecc0a5a84f0b0cc9efbf530920200 697 python optional jython_2.1.0-23.dsc
 640fd44348978f14c33732b001945f54 505296 python optional jython_2.1.0-23.diff.gz
 11c0d1043cc3317b601e29c87c23c00f 1416656 python optional 
jython_2.1.0-23_all.deb
 224f2613dc0b7f19532d91a4b0c97c7e 347904 doc optional 
jython-doc_2.1.0-23_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFJOkcEAlStfgBp0MRAs+5AKCP2R6Eovp9Bv10qAzJNoXfFdLdjACeJG+Y
FOEDO+SHh9UispIopjplbI0=
=WJkJ
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to