Bug ID 917759
Summary osc fails with a python exception
Classification openSUSE
Product openSUSE.org
Version unspecified
Hardware Other
OS Other
Status NEW
Severity Major
Priority P5 - None
Component BuildService
Assignee bnc-team-screening@forge.provo.novell.com
Reporter lmb@suse.com
QA Contact adrian@suse.com
Found By ---
Blocker ---

This is about the latest osc client on Factory (osc-0.150.1-158.1.noarch) used
on the internal build service instance:

# iosc rdiff Devel:Storage:1.0 _product SUSE:SLE-12:Update:Products:Cloud5
Traceback (most recent call last):
  File "/usr/bin/osc", line 26, in <module>
    r = babysitter.run(osccli)
  File "/usr/lib/python2.7/site-packages/osc/babysitter.py", line 61, in run
    return prg.main(argv)
  File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 343, in main
    return self.cmd(args)
  File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 366, in cmd
    retval = self.onecmd(argv)
  File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 500, in onecmd
    return self._dispatch_cmd(handler, argv)
  File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 1230, in
    return handler(argv[0], opts, *args)
  File "/usr/lib/python2.7/site-packages/osc/commandline.py", line 3593, in
    expand=not opts.unexpand)
  File "/usr/lib/python2.7/site-packages/osc/core.py", line 4488, in
    unified, missingok, meta, expand)
  File "/usr/lib/python2.7/site-packages/osc/core.py", line 4477, in
    f = http_POST(u)
  File "/usr/lib/python2.7/site-packages/osc/core.py", line 3201, in http_POST
    def http_POST(*args, **kwargs):   return http_request('POST', *args,
  File "/usr/lib/python2.7/site-packages/osc/core.py", line 3144, in
  File "/usr/lib/python2.7/site-packages/osc/conf.py", line 507, in
    from . import oscssl
  File "/usr/lib/python2.7/site-packages/osc/oscssl.py", line 8, in <module>
    import M2Crypto.httpslib
  File "/usr/lib64/python2.7/site-packages/M2Crypto/__init__.py", line 24, in
    import ASN1
  File "/usr/lib64/python2.7/site-packages/M2Crypto/ASN1.py", line 12, in
    import BIO
  File "/usr/lib64/python2.7/site-packages/M2Crypto/BIO.py", line 221, in
    class CipherStream(BIO):
  File "/usr/lib64/python2.7/site-packages/M2Crypto/BIO.py", line 227, in
AttributeError: 'module' object has no attribute 'PKCS5_SALT_LEN'

Most invocations fail like that for me, including "osc up", submitreq, etc,
making it completely unusable for me.

You are receiving this mail because: