On Mon, 2015-10-12 at 18:21 +0200, Gaetano Guerriero wrote: > Thank you very much. > > Can you reproduce the bug with version 2.5.1 from sid ? > > It is working right on my side. > > Gaetano Guerriero
Nope. did not help much. Please find the logs below. Apart from the ExpatError exception, all others looks like generic issues. Like the SSLv3 is a common problem but you'll have to decide on how you want to handle it in your module. Same goes for BadStatusLine exception. As for ExpatError, I'm not sure if it is specific to debianbts or python in general. rrs@learner:~/devel/apt-offline/apt-offline (jessie)$ ./apt-offline get /var/tmp/set.uris --bug-reports --threads 5 --cache-dir /var/cache/apt/archives/ Fetching APT Data WARNING: If you are on a slow connection, it is good to WARNING: limit the number of threads to a low number like 2. WARNING: Else higher number of threads executed could cause WARNING: network congestion and timeouts. libgstreamer1.0-0 copied from local cache directory /var/cache/apt/archives/. gir1.2-gstreamer-1.0 copied from local cache directory /var/cache/apt/archives/. gstreamer1.0-plugins-base copied from local cache directory /var/cache/apt/archives/. No handlers could be found for logger "pysimplesoap.simplexml" No handlers could be found for logger "pysimplesoap.simplexml" Exception in thread Thread-5: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 763, in run self.__target(*self.__args, **self.__kwargs) File "/media/SSHD/rrs-home/devel/apt-offline/apt-offline/apt_offline_core/AptOfflineLib.py", line 624, 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 633, 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 151, in FetchBugsDebian self.bugs_list = debianbts.get_bugs( 'package', PackageName ) File "/usr/lib/python2.7/dist-packages/debianbts.py", line 413, in get_bugs reply = soap_client.call('get_bugs', method_el) 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: not well-formed (invalid token): line 1, column 4 Exception in thread Thread-2: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 763, in run self.__target(*self.__args, **self.__kwargs) File "/media/SSHD/rrs-home/devel/apt-offline/apt-offline/apt_offline_core/AptOfflineLib.py", line 624, 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 633, 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 151, in FetchBugsDebian self.bugs_list = debianbts.get_bugs( 'package', PackageName ) File "/usr/lib/python2.7/dist-packages/debianbts.py", line 413, in get_bugs reply = soap_client.call('get_bugs', method_el) 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: not well-formed (invalid token): line 1, column 1 gstreamer1.0-x copied from local cache directory /var/cache/apt/archives/. gstreamer1.0-plugins-good copied from local cache directory /var/cache/apt/archives/. libges-1.0-0 copied from local cache directory /var/cache/apt/archives/. gir1.2-ges-1.0 copied from local cache directory /var/cache/apt/archives/. totem-plugins copied from local cache directory /var/cache/apt/archives/. geoclue-2.0 copied from local cache directory /var/cache/apt/archives/. Exception in thread Thread-4: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 763, in run self.__target(*self.__args, **self.__kwargs) File "/media/SSHD/rrs-home/devel/apt-offline/apt-offline/apt_offline_core/AptOfflineLib.py", line 624, 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 633, 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 163, 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 461, 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 260, in call self.xml_response = self.send(method, self.xml_request) File "/usr/lib/python2.7/dist-packages/pysimplesoap/client.py", line 313, in send location, http_method, body=xml, headers=headers) File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1607, in request (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey) File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1349, in _request (response, content) = self._conn_request(conn, request_uri, method, body, headers) File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1305, in _conn_request response = conn.getresponse() File "/usr/lib/python2.7/httplib.py", line 1131, in getresponse response.begin() File "/usr/lib/python2.7/httplib.py", line 453, in begin version, status, reason = self._read_status() File "/usr/lib/python2.7/httplib.py", line 409, in _read_status line = self.fp.readline(_MAXLINE + 1) File "/usr/lib/python2.7/socket.py", line 480, in readline data = self._sock.recv(self._rbufsize) File "/usr/lib/python2.7/ssl.py", line 734, in recv return self.read(buflen) File "/usr/lib/python2.7/ssl.py", line 621, in read v = self._sslobj.read(len or 1024) SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1752) Exception in thread Thread-3: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 763, in run self.__target(*self.__args, **self.__kwargs) File "/media/SSHD/rrs-home/devel/apt-offline/apt-offline/apt_offline_core/AptOfflineLib.py", line 624, 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 633, 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 151, in FetchBugsDebian self.bugs_list = debianbts.get_bugs( 'package', PackageName ) File "/usr/lib/python2.7/dist-packages/debianbts.py", line 413, in get_bugs reply = soap_client.call('get_bugs', method_el) File "/usr/lib/python2.7/dist-packages/pysimplesoap/client.py", line 260, in call self.xml_response = self.send(method, self.xml_request) File "/usr/lib/python2.7/dist-packages/pysimplesoap/client.py", line 313, in send location, http_method, body=xml, headers=headers) File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1607, in request (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey) File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1349, in _request (response, content) = self._conn_request(conn, request_uri, method, body, headers) File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1305, in _conn_request response = conn.getresponse() File "/usr/lib/python2.7/httplib.py", line 1131, in getresponse response.begin() File "/usr/lib/python2.7/httplib.py", line 453, in begin version, status, reason = self._read_status() File "/usr/lib/python2.7/httplib.py", line 409, in _read_status line = self.fp.readline(_MAXLINE + 1) File "/usr/lib/python2.7/socket.py", line 480, in readline data = self._sock.recv(self._rbufsize) File "/usr/lib/python2.7/ssl.py", line 734, in recv return self.read(buflen) File "/usr/lib/python2.7/ssl.py", line 621, in read v = self._sslobj.read(len or 1024) SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1752) Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 763, in run self.__target(*self.__args, **self.__kwargs) File "/media/SSHD/rrs-home/devel/apt-offline/apt-offline/apt_offline_core/AptOfflineLib.py", line 624, 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 633, 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 151, in FetchBugsDebian self.bugs_list = debianbts.get_bugs( 'package', PackageName ) File "/usr/lib/python2.7/dist-packages/debianbts.py", line 413, in get_bugs reply = soap_client.call('get_bugs', method_el) File "/usr/lib/python2.7/dist-packages/pysimplesoap/client.py", line 260, in call self.xml_response = self.send(method, self.xml_request) File "/usr/lib/python2.7/dist-packages/pysimplesoap/client.py", line 313, in send location, http_method, body=xml, headers=headers) File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1607, in request (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey) File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1349, in _request (response, content) = self._conn_request(conn, request_uri, method, body, headers) File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1305, in _conn_request response = conn.getresponse() File "/usr/lib/python2.7/httplib.py", line 1131, in getresponse response.begin() File "/usr/lib/python2.7/httplib.py", line 453, in begin version, status, reason = self._read_status() File "/usr/lib/python2.7/httplib.py", line 417, in _read_status raise BadStatusLine(line) BadStatusLine: '' Downloaded data to /tmp/apt-offline-downloads-9372 2015-10-12 / 22:19:23 ♒♒♒ ☺ rrs@learner:~/devel/apt-offline/apt-offline (jessie)$ apt-cache policy python-debianbts python-debianbts: Installed: 2.5.1 Candidate: 2.5.1 Version table: *** 2.5.1 0 500 http://ftp.debian.org/debian/ unstable/main amd64 Packages 500 http://mirrors.kernel.org/debian/ unstable/main amd64 Packages 100 /var/lib/dpkg/status 2.4 0 990 http://ftp.debian.org/debian/ testing/main amd64 Packages 990 http://mirrors.kernel.org/debian/ testing/main amd64 Packages 2015-10-12 / 22:20:41 ♒♒♒ ☺ -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System
signature.asc
Description: This is a digitally signed message part