TypeError: __init__() got an unexpected keyword argument 'disable_ssl_certificate_validation'

Bug #907442 reported by Jonas Obrist
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Déjà Dup
Invalid
Undecided
Unassigned
ubuntuone-couch
New
Undecided
Unassigned

Bug Description

Trying to backup fails with following traceback:

Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1359, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1342, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1202, in main
    action = commandline.ProcessCommandLine(sys.argv[1:])
  File "/usr/lib/python2.7/dist-packages/duplicity/commandline.py", line 942, in ProcessCommandLine
    globals.backend = backend.get_backend(args[0])
  File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 156, in get_backend
    return _backends[pu.scheme](pu)
  File "/usr/lib/python2.7/dist-packages/duplicity/backends/u1backend.py", line 74, in __init__
    self.create_volume()
  File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 319, in iterate
    return fn(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/duplicity/backends/u1backend.py", line 161, in create_volume
    answer = auth.request(self.volume_uri, http_method="PUT")
  File "/usr/lib/python2.7/dist-packages/ubuntuone-couch/ubuntuone/couch/auth.py", line 145, in request
    disable_ssl_certificate_validation=True)
TypeError: __init__() got an unexpected keyword argument 'disable_ssl_certificate_validation'

dobey (dobey)
no longer affects: ubuntuone-client
Roman Yepishev (rye)
Changed in ubuntuone-couch:
status: New → Invalid
status: Invalid → New
Revision history for this message
Michael Terry (mterry) wrote :

This is on Ubuntu 11.10?

Revision history for this message
Jonas Obrist (ojiidotch) wrote :

Yes it is:

ujonas@jonas-Serval-Professional:~$ uname -a
Linux jonas-Serval-Professional 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21 20:28:43 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
jonas@jonas-Serval-Professional:~$ cat /etc/issue
Ubuntu 11.10 \n \l

Revision history for this message
Jonas Obrist (ojiidotch) wrote :

also `pip freeze` shows I'm using ubuntuone-couch==0.3.0

Revision history for this message
Jonas Obrist (ojiidotch) wrote :

after manually upgrading httplib2 (`sudo pip install httplib2`) which installed 0.6.0 it works for me. Not sure why I had the wrong version in the first place though.

Revision history for this message
Michael Terry (mterry) wrote :

Sounds like not a deja-dup bug then. Perhaps at worst a packaging error with ubuntuone-couch not specifying a minimum version of python-httplib2?

Changed in deja-dup:
status: New → Invalid
Revision history for this message
Jonas Obrist (ojiidotch) wrote :

I agree. I unfortunately lost the `pip freeze` output from before, but httplib2.__version__ reported as "$rev$" which isn't too useful. It is somewhat possible that I manually installed a different version, although I wouldn't know why since I use the 'requests' package for all my URL-opening needs in Python.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.