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.
Alright, adding a __setattr__ to the HTTPSConnection object gives me this:
THOMAS: __set__ timeout <object object at 0xb7879490> python2. 6/threading. py", line 497, in __bootstrap __bootstrap_ inner() python2. 6/threading. py", line 522, in __bootstrap_inner python2. 6/threading. py", line 477, in run __target( *self._ _args, **self.__kwargs) python2. 6/site- packages/ twisted/ python/ threadpool. py", line 210, in _worker python2. 6/site- packages/ twisted/ python/ context. py", line 59, in callWithContext text(). callWithContext (ctx, func, *args, **kw) python2. 6/site- packages/ twisted/ python/ context. py", line 37, in callWithContext python2. 6/site- packages/ desktopcouch/ replication. py", line 148, in do_all_replication urlsplit( str(remote_ location) ) python2. 6/site- packages/ desktopcouch/ replication_ services/ ubuntuone. py", line 106, in __str__ self.oauth_ header) python2. 6/site- packages/ httplib2/ __init_ _.py", line 975, in request s[conn_ key] = connection_ type(authority, timeout= self.timeout, proxy_info= self.proxy_ info) python2. 6/site- packages/ httplib2/ __init_ _.py", line 736, in __init__ file=cert_ file, strict=strict) python2. 6/httplib. py", line 1065, in __init__ ion.__init_ _(self, host, port, strict, timeout) python2. 6/httplib. py", line 649, in __init__ python2. 6/site- packages/ httplib2/ __init_ _.py", line 723, in __setattr__ print_stack( )
File "/usr/lib/
self.
File "/usr/lib/
self.run()
File "/usr/lib/
self.
File "/usr/lib/
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
urlinfo = urlparse.
File "/usr/lib/
resp, content = client.request(url, "GET", headers=
File "/usr/lib/
conn = self.connection
File "/usr/lib/
cert_
File "/usr/lib/
HTTPConnect
File "/usr/lib/
self.timeout = timeout
File "/usr/lib/
import traceback; traceback.
So, the culprit is my httplib.py, will now check there further.