Hi, On Wed, 22 May 2019 18:25:16 +0200 Nico Schlömer <nico.schloe...@gmail.com> wrote:
(...) > Perhaps I've got an incompatible version of a dependency installed in > `~/.local/`? It looks like this. Here reportbug uses modules from the default system Python3: > E: You must put some 'source' URIs in your sources.list > Traceback (most recent call last): > File "/usr/lib/python3/dist-packages/reportbug/ui/gtk_ui.py", line > 1049, in sync_pre_operation > http_proxy=http_proxy, archived=archived, source=source) > File "/usr/lib/python3/dist-packages/reportbug/debbugs.py", line > 1069, in get_reports > bugs = debianbts.get_bugs(pkg_filter, package) > File "/usr/lib/python3/dist-packages/debianbts/debianbts.py", line > 401, in get_bugs > reply = soap_client.call('get_bugs', method_el) > File and now here all of a sudden it uses modules you installed into ~/.local : > "/home/nschloe/.local/lib/python3.7/site-packages/pysimplesoap/client.py", > line 256, in call self.xml_response = self.send(method, > self.xml_request) File > "/home/nschloe/.local/lib/python3.7/site-packages/pysimplesoap/client.py", > line 318, in send location, http_method, body=xml, headers=headers) > File > "/home/nschloe/.local/lib/python3.7/site-packages/httplib2/__init__.py", > line 1763, in request > disable_ssl_certificate_validation=self.disable_ssl_certificate_validation, > File > "/home/nschloe/.local/lib/python3.7/site-packages/httplib2/__init__.py", > line 1247, in __init__ context=context, TypeError: fixer() missing 1 > required positional argument: 'check_hostname' This doesn't seem sound, I guess this custom Python version is probably the culprit. Maybe some environment variable messes with your Python-path? What do you get if you do the following: $ python3 Python 3.5.3 (default, Sep 27 2018, 17:25:39) [GCC 6.3.0 20170516] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> sys.path ['', '/usr/lib/python35.zip', '/usr/lib/python3.5', '/usr/lib/python3.5/plat-x86_64-linux-gnu', '/usr/lib/python3.5/lib-dynload', '/usr/local/lib/python3.5/dist-packages', '/usr/local/lib/python3.5/dist-packages/pdoc3-0.6.1-py3.5.egg', '/usr/local/lib/python3.5/dist-packages/Markdown-3.1-py3.5.egg', '/usr/local/lib/python3.5/dist-packages/setuptools-41.0.1-py3.5.egg', '/usr/local/lib/python3.5/dist-packages/youtube_dl-2019.5.11-py3.5.egg', '/usr/lib/python3/dist-packages'] Regards Michael .-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-. A man either lives life as it happens to him, meets it head-on and licks it, or he turns his back on it and starts to wither away. -- Dr. Boyce, "The Menagerie" ("The Cage"), stardate unknown