Package: python-debianbts
Version: 2.6.0
Severity: important

Hello Bastian and Gaetano,

This bug report may be a follow-up to #801585.


I tend to hit it frequently when running it in a threaded setup. The
following exception was seen with 3 threads running in apt-offline

THere are more exception in my own bug report at:
https://github.com/rickysarraf/apt-offline/issues/45

********************************************************
libpci3 copied from local cache directory /var/cache/apt/archives/              
               Fetched bug reports for package openssh-sftp-server              
                                               
openssh-sftp-server copied from local cache directory /var/cache/apt/archives/  
               Unexpected Error:  (<class 'xml.parsers.expat.ExpatError'>, 
ExpatError('syntax error: line 1, column 49',), <traceback object at 
0x7f43d359e830>)
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File 
"/media/SSHD/rrs-home/devel/apt-offline/apt-offline/apt_offline_core/AptOfflineLib.py",
 line 642, in run
    self.responseQueue.put( self.WorkerFunction( item, thread_name ) )
  File 
"/media/SSHD/rrs-home/devel/apt-offline/apt-offline/apt_offline_core/AptOfflineCoreLib.py",
 line 1081, in DataFetcher
    if FetchBugReportsDebian.FetchBugsDebian(PackageName) in [1,2]:
  File 
"/media/SSHD/rrs-home/devel/apt-offline/apt-offline/apt_offline_core/AptOfflineCoreLib.py",
 line 175, in FetchBugsDebian
    bugReport = debianbts.get_bug_log(eachBug)
  File "/usr/lib/python2.7/dist-packages/debianbts.py", line 320, in get_bug_log
    reply = _soap_client_call('get_bug_log', nr)
  File "/usr/lib/python2.7/dist-packages/debianbts.py", line 477, in 
_soap_client_call
    return getattr(soap_client, method_name)(soap_client, *soap_args)
  File "/usr/lib/python2.7/dist-packages/pysimplesoap/client.py", line 179, in 
<lambda>
    return lambda self=self, *args, **kwargs: self.call(attr, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pysimplesoap/client.py", line 262, in 
call
    jetty=self.__soap_server in ('jetty',))
  File "/usr/lib/python2.7/dist-packages/pysimplesoap/simplexml.py", line 56, 
in __init__
    self.__document = xml.dom.minidom.parseString(text)
  File "/usr/lib/python2.7/xml/dom/minidom.py", line 1928, in parseString
    return expatbuilder.parseString(string)
  File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 940, in parseString
    return builder.parseString(string)
  File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 223, in parseString
    parser.Parse(string, True)
ExpatError: syntax error: line 1, column 49

Unexpected Error:  (<class 'xml.parsers.expat.ExpatError'>, ExpatError('syntax 
error: line 1, column 49',), <traceback object at 0x7f43d354f488>)
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File 
"/media/SSHD/rrs-home/devel/apt-offline/apt-offline/apt_offline_core/AptOfflineLib.py",
 line 642, in run
    self.responseQueue.put( self.WorkerFunction( item, thread_name ) )
  File 
"/media/SSHD/rrs-home/devel/apt-offline/apt-offline/apt_offline_core/AptOfflineCoreLib.py",
 line 1081, in DataFetcher
    if FetchBugReportsDebian.FetchBugsDebian(PackageName) in [1,2]:
  File 
"/media/SSHD/rrs-home/devel/apt-offline/apt-offline/apt_offline_core/AptOfflineCoreLib.py",
 line 175, in FetchBugsDebian
    bugReport = debianbts.get_bug_log(eachBug)
  File "/usr/lib/python2.7/dist-packages/debianbts.py", line 320, in get_bug_log
    reply = _soap_client_call('get_bug_log', nr)
  File "/usr/lib/python2.7/dist-packages/debianbts.py", line 477, in 
_soap_client_call
    return getattr(soap_client, method_name)(soap_client, *soap_args)
  File "/usr/lib/python2.7/dist-packages/pysimplesoap/client.py", line 179, in 
<lambda>
    return lambda self=self, *args, **kwargs: self.call(attr, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pysimplesoap/client.py", line 262, in 
call
    jetty=self.__soap_server in ('jetty',))
  File "/usr/lib/python2.7/dist-packages/pysimplesoap/simplexml.py", line 56, 
in __init__
    self.__document = xml.dom.minidom.parseString(text)
  File "/usr/lib/python2.7/xml/dom/minidom.py", line 1928, in parseString
    return expatbuilder.parseString(string)
  File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 940, in parseString
    return builder.parseString(string)
  File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 223, in parseString
    parser.Parse(string, True)
ExpatError: syntax error: line 1, column 49


Downloaded data to /var/tmp/upgrade.zip
2016-05-12 / 16:48:20 ♒♒♒  ☺  
********************************************************

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'unstable'), 
(101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IN.utf8, LC_CTYPE=en_IN.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-debianbts depends on:
ii  python-pysimplesoap  1.16-1
pn  python:any           <none>

python-debianbts recommends no packages.

python-debianbts suggests no packages.

-- no debconf information

Reply via email to