Comment 5 for bug 487353

Revision history for this message
Thomas Vander Stichele (thomasvs) wrote :

Alright, adding a __setattr__ to the HTTPSConnection object gives me this:

THOMAS: __set__ timeout <object object at 0xb7879490>
  File "/usr/lib/python2.6/threading.py", line 497, in __bootstrap
    self.__bootstrap_inner()
  File "/usr/lib/python2.6/threading.py", line 522, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 477, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.6/site-packages/twisted/python/threadpool.py", line 210, in _worker
    result = context.call(ctx, function, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/twisted/python/context.py", line 59, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/lib/python2.6/site-packages/twisted/python/context.py", line 37, in callWithContext
    return func(*args,**kw)
  File "/usr/lib/python2.6/site-packages/desktopcouch/replication.py", line 148, in do_all_replication
    urlinfo = urlparse.urlsplit(str(remote_location))
  File "/usr/lib/python2.6/site-packages/desktopcouch/replication_services/ubuntuone.py", line 106, in __str__
    resp, content = client.request(url, "GET", headers=self.oauth_header)
  File "/usr/lib/python2.6/site-packages/httplib2/__init__.py", line 975, in request
    conn = self.connections[conn_key] = connection_type(authority, timeout=self.timeout, proxy_info=self.proxy_info)
  File "/usr/lib/python2.6/site-packages/httplib2/__init__.py", line 736, in __init__
    cert_file=cert_file, strict=strict)
  File "/usr/lib/python2.6/httplib.py", line 1065, in __init__
    HTTPConnection.__init__(self, host, port, strict, timeout)
  File "/usr/lib/python2.6/httplib.py", line 649, in __init__
    self.timeout = timeout
  File "/usr/lib/python2.6/site-packages/httplib2/__init__.py", line 723, in __setattr__
    import traceback; traceback.print_stack()

So, the culprit is my httplib.py, will now check there further.