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
_dispatch_cmd
    return handler(argv[0], opts, *args)
  File "/usr/lib/python2.7/site-packages/osc/commandline.py", line 3593, in
do_rdiff
    expand=not opts.unexpand)
  File "/usr/lib/python2.7/site-packages/osc/core.py", line 4488, in
server_diff_noex
    unified, missingok, meta, expand)
  File "/usr/lib/python2.7/site-packages/osc/core.py", line 4477, in
server_diff
    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,
**kwargs)
  File "/usr/lib/python2.7/site-packages/osc/core.py", line 3144, in
http_request
    install_opener(conf._build_opener(url))
  File "/usr/lib/python2.7/site-packages/osc/conf.py", line 507, in
_build_opener
    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
<module>
    import ASN1
  File "/usr/lib64/python2.7/site-packages/M2Crypto/ASN1.py", line 12, in
<module>
    import BIO
  File "/usr/lib64/python2.7/site-packages/M2Crypto/BIO.py", line 221, in
<module>
    class CipherStream(BIO):
  File "/usr/lib64/python2.7/site-packages/M2Crypto/BIO.py", line 227, in
CipherStream
    SALT_LEN = m2.PKCS5_SALT_LEN
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: