Source: osc Severity: normal Hi!
osc is missing a dependency on python3-m2crypto, without it, accessing OBS will fail: glaubitz@epyc:..glaubitz/home:glaubitz:branches:Cloud:Tools> osc up No module named 'M2Crypto' Traceback (most recent call last): File "/usr/lib/python3/dist-packages/osc/conf.py", line 523, in _build_opener from . import oscssl File "/usr/lib/python3/dist-packages/osc/oscssl.py", line 8, in <module> from M2Crypto.SSL.Checker import SSLVerificationError ModuleNotFoundError: No module named 'M2Crypto' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/osc/babysitter.py", line 62, in run return prg.main(argv) File "/usr/lib/python3/dist-packages/osc/cmdln.py", line 344, in main return self.cmd(args) File "/usr/lib/python3/dist-packages/osc/cmdln.py", line 367, in cmd retval = self.onecmd(argv) File "/usr/lib/python3/dist-packages/osc/cmdln.py", line 501, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/python3/dist-packages/osc/cmdln.py", line 1232, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/python3/dist-packages/osc/commandline.py", line 4956, in do_update prj = Project(arg, progress_obj=self.download_progress) File "/usr/lib/python3/dist-packages/osc/core.py", line 682, in __init__ self.pacs_available = meta_get_packagelist(self.apiurl, self.name) File "/usr/lib/python3/dist-packages/osc/core.py", line 3443, in meta_get_packagelist f = http_GET(u) File "/usr/lib/python3/dist-packages/osc/core.py", line 3400, in http_GET def http_GET(*args, **kwargs): return http_request('GET', *args, **kwargs) File "/usr/lib/python3/dist-packages/osc/core.py", line 3344, in http_request install_opener(conf._build_opener(apiurl)) File "/usr/lib/python3/dist-packages/osc/conf.py", line 527, in _build_opener raise NoSecureSSLError('M2Crypto is needed to access %s in a secure way.\nPlease install python-m2crypto.' % apiurl) osc.oscsslexcp.NoSecureSSLError: M2Crypto is needed to access https://api.opensuse.org in a secure way. Please install python-m2crypto. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/osc", line 41, in <module> r = babysitter.run(osccli) File "/usr/lib/python3/dist-packages/osc/babysitter.py", line 174, in run except SSLError as e: TypeError: catching classes that do not inherit from BaseException is not allowed glaubitz@epyc:..glaubitz/home:glaubitz:branches:Cloud:Tools> Installing python3-m2crypto manually, fixed the problem for me. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913