Your message dated Fri, 07 Nov 2008 13:17:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#504795: fixed in pywbxml 0.1-2
has caused the Debian Bug report #504795,
regarding python-wbxml unusable due to WBXMLParseError
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
504795: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504795
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: python-wbxml
Version: 0.1-1
Severity: grave
Tags: patch
Justification: renders package unusable
Currently python-wbxml is unusable, all calls to pywbxml cause an exception
because WBXMLParseError is not a subclass of BaseException:
>>> d = file("syncml-014.xml").read()
>>> pywbxml.xml2wbxml(d)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pywbxml.pyx", line 64, in pywbxml.xml2wbxml
TypeError: raise: exception class must be a subclass of BaseException
The fix is very simple, see attached patch.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-wbxml depends on:
ii libc6 2.7-16 GNU C Library: Shared libraries
ii libwbxml2-0 0.9.2-6 WBXML parsing and encoding library
ii libxml2 2.6.32.dfsg-4 GNOME XML library
ii python 2.5.2-3 An interactive high-level object-o
python-wbxml recommends no packages.
python-wbxml suggests no packages.
-- no debconf information
diff -urN pywbxml-0.1.orig/src/pywbxml.pyx pywbxml-0.1/src/pywbxml.pyx
--- pywbxml-0.1.orig/src/pywbxml.pyx 2006-07-28 02:51:57.000000000 +0200
+++ pywbxml-0.1/src/pywbxml.pyx 2008-11-07 10:41:29.000000000 +0100
@@ -14,7 +14,7 @@
object PyString_FromStringAndSize(char *s, int len)
int PyString_AsStringAndSize(object obj, char **buffer, int *length)
-class WBXMLParseError:
+class WBXMLParseError(Exception):
def __init__(self, code):
self.code = code
self.description = <char *> wbxml_errors_string(code)
--- End Message ---
--- Begin Message ---
Source: pywbxml
Source-Version: 0.1-2
We believe that the bug you reported is fixed in the latest version of
pywbxml, which is due to be installed in the Debian FTP archive:
python-wbxml_0.1-2_i386.deb
to pool/main/p/pywbxml/python-wbxml_0.1-2_i386.deb
pywbxml_0.1-2.diff.gz
to pool/main/p/pywbxml/pywbxml_0.1-2.diff.gz
pywbxml_0.1-2.dsc
to pool/main/p/pywbxml/pywbxml_0.1-2.dsc
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.
Jonny Lamb <[EMAIL PROTECTED]> (supplier of updated pywbxml 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.8
Date: Fri, 07 Nov 2008 13:01:38 +0000
Source: pywbxml
Binary: python-wbxml
Architecture: source i386
Version: 0.1-2
Distribution: unstable
Urgency: medium
Maintainer: Jonny Lamb <[EMAIL PROTECTED]>
Changed-By: Jonny Lamb <[EMAIL PROTECTED]>
Description:
python-wbxml - WBXML parsing and encoding library -- Python bindings
Closes: 504795
Changes:
pywbxml (0.1-2) unstable; urgency=medium
.
* debian/control:
+ Changed Maintainer email address.
+ Added quilt Build-Dep.
* debian/patches/:
+ Added 504795-exception.diff to fix TypeError from WBXMLParseError not
subclassing Exception. (Closes: #504795)
* debian/rules:
+ Call patch and unpatch quilt targets.
Checksums-Sha1:
90e9a416989eb5befc0642ebbf9bc36e15a47818 1227 pywbxml_0.1-2.dsc
b6f7b83e877bee50900e72005a28b15745d4ee6f 2617 pywbxml_0.1-2.diff.gz
2d502e5a96a16e581ca6a3d0adb64f0de266b6cd 10770 python-wbxml_0.1-2_i386.deb
Checksums-Sha256:
4224132fada6c5e1abd581100923cacd303c337d17a552e9e621244b5dacd4be 1227
pywbxml_0.1-2.dsc
2994c70393a56da969b381f3b34b92b2da77676851dd426086b76fba50515271 2617
pywbxml_0.1-2.diff.gz
16661db569ae90ecdea8fca3424efdc78af7311a7f442d33c8c04f3a91edda02 10770
python-wbxml_0.1-2_i386.deb
Files:
0916d6cd9ae4a441cba6198a094ea323 1227 libs optional pywbxml_0.1-2.dsc
8cfe09c7a900caf2edb57635f24ebb07 2617 libs optional pywbxml_0.1-2.diff.gz
06021f8c7752dd3e86213be779d51097 10770 python optional
python-wbxml_0.1-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkkUPR0ACgkQwYr7ny4DlAIu8QCgw6gADapI6wCl/QNt+bYCXF69
Tw8An2KbrdcPdgaiaxf5+cdLHYywcVId
=nimQ
-----END PGP SIGNATURE-----
--- End Message ---