Your message dated Thu, 16 Nov 2017 20:15:48 +0100
with message-id <03e4a122-9d5b-23fb-47d7-1771c2b7d...@danielstender.com>
and subject line python-m2crypto breaks SOAPpy XML parsing
has caused the Debian Bug report #717675,
regarding python-m2crypto breaks SOAPpy XML parsing
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 ow...@bugs.debian.org
immediately.)


-- 
717675: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717675
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-m2crypto
Version: 0.21.1-3
Severity: important

The following minimal script works great but python-m2crypto breaks it as
soon as it's installed:

[1]  6:58PM home:/tmp% cat 1.py
from SOAPpy import WSDL
wsdl='https://support.isvtec.com/api/soap/mantisconnect.php?wsdl'
mantis = WSDL.Proxy(wsdl)
 6:58PM home:/tmp% python 1.py
 6:58PM home:/tmp% sudo apt-get -qq install python-m2crypto
Selecting previously unselected package python-m2crypto.
(Reading database ... 370845 files and directories currently installed.)
Unpacking python-m2crypto (from .../python-m2crypto_0.21.1-3_amd64.deb) ...
Processing triggers for doc-base ...
Processing 4 added doc-base files...
Setting up python-m2crypto (0.21.1-3) ...
 6:59PM home:/tmp% python 1.py
Traceback (most recent call last):
  File "1.py", line 3, in <module>
    mantis = WSDL.Proxy(wsdl)
  File "/usr/lib/pymodules/python2.7/SOAPpy/WSDL.py", line 62, in __init__
    self.wsdl = reader.loadFromStream(stream, wsdlsource)
  File "/usr/lib/pymodules/python2.7/SOAPpy/wstools/WSDLTools.py", line 28,
in loadFromStream
    document = DOM.loadDocument(stream)
  File "/usr/lib/pymodules/python2.7/SOAPpy/wstools/Utility.py", line 602,
in loadDocument
    return xml.dom.minidom.parse(data)
  File "/usr/lib/python2.7/xml/dom/minidom.py", line 1921, in parse
    return expatbuilder.parse(file)
  File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 928, in parse
    result = builder.parseFile(file)
  File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 207, in parseFile
    parser.Parse(buffer, 0)
xml.parsers.expat.ExpatError: syntax error: line 1, column 0

Removing the package fixes the issue:
[1]  6:59PM home:/tmp% sudo dpkg -P python-m2crypto
(Reading database ... 371013 files and directories currently installed.)
Removing python-m2crypto ...
Processing triggers for doc-base ...
Processing 4 removed doc-base files...
sudo dpkg -P python-m2crypto  1.06s user 0.28s system 94% cpu 1.425 total
 7:01PM home:/tmp% python 1.py
 7:01PM home:/tmp%

Is there a way for m2crypto to avoid crashing SOAPpy?

Regards,

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1,
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.10-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-m2crypto depends on:
ii  libc6        2.17-7
ii  libssl1.0.0  1.0.1e-3
ii  python       2.7.5-2

python-m2crypto recommends no packages.

python-m2crypto suggests no packages.
-- 
 ,''`.
: :' :      Cyril Bouthors
`. `'         Debian.org
  `-

--- End Message ---
--- Begin Message ---
Version: 0.27.0-1

Solved by 0.27.0-1 succeeding 0.24.0-2.

DS

-- 
4096R/DF5182C8 (sten...@debian.org)
http://www.danielstender.com/

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to