Hide
added a comment -
We still have this problem in build 1.8.1-937. Also, if we try to load data to a non-default bucket but not created yet at the server, the error message is still confusing like this:
Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in <type 'exceptions.AttributeError'> ignored
Traceback (most recent call last):
File "/opt/couchbase/lib/python/cbworkloadgen", line 79, in _run
options.verbose)
File "/opt/couchbase/lib/python/couchbase/couchbaseclient.py", line 684, in __init__
self.rest = RestConnection(server)
File "/opt/couchbase/lib/python/couchbase/rest_client.py", line 183, in __init__
self.password)
File "/opt/couchbase/lib/python/couchbase/client.py", line 342, in parse_server_config
response = urlopener.open(uri)
File "/usr/lib64/python2.6/urllib.py", line 207, in open
return getattr(self, name)(url)
File "/usr/lib64/python2.6/urllib.py", line 362, in open_http
return self.http_error(url, fp, errcode, errmsg, headers)
File "/usr/lib64/python2.6/urllib.py", line 375, in http_error
result = method(url, fp, errcode, errmsg, headers)
File "/usr/lib64/python2.6/urllib.py", line 702, in http_error_401
return getattr(self,name)(url, realm)
File "/usr/lib64/python2.6/urllib.py", line 771, in retry_http_basic_auth
return self.open(newurl)
File "/usr/lib64/python2.6/urllib.py", line 207, in open
return getattr(self, name)(url)
File "/usr/lib64/python2.6/urllib.py", line 362, in open_http
return self.http_error(url, fp, errcode, errmsg, headers)
File "/usr/lib64/python2.6/urllib.py", line 375, in http_error
result = method(url, fp, errcode, errmsg, headers)
File "/usr/lib64/python2.6/urllib.py", line 702, in http_error_401
return getattr(self,name)(url, realm)
.............(too many lines of output)
File "/usr/lib64/python2.6/mimetools.py", line 25, in __init__
rfc822.Message.__init__(self, fp, seekable)
File "/usr/lib64/python2.6/rfc822.py", line 108, in __init__
self.readheaders()
File "/usr/lib64/python2.6/httplib.py", line 265, in readheaders
if hasattr(self.fp, 'unread'):
AttributeError: '_fileobject' object has no attribute 'unread'
Show
added a comment - We still have this problem in build 1.8.1-937. Also, if we try to load data to a non-default bucket but not created yet at the server, the error message is still confusing like this:
Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in <type 'exceptions.AttributeError'> ignored
Traceback (most recent call last):
File "/opt/couchbase/lib/python/cbworkloadgen", line 79, in _run
options.verbose)
File "/opt/couchbase/lib/python/couchbase/couchbaseclient.py", line 684, in __init__
self.rest = RestConnection(server)
File "/opt/couchbase/lib/python/couchbase/rest_client.py", line 183, in __init__
self.password)
File "/opt/couchbase/lib/python/couchbase/client.py", line 342, in parse_server_config
response = urlopener.open(uri)
File "/usr/lib64/python2.6/urllib.py", line 207, in open
return getattr(self, name)(url)
File "/usr/lib64/python2.6/urllib.py", line 362, in open_http
return self.http_error(url, fp, errcode, errmsg, headers)
File "/usr/lib64/python2.6/urllib.py", line 375, in http_error
result = method(url, fp, errcode, errmsg, headers)
File "/usr/lib64/python2.6/urllib.py", line 702, in http_error_401
return getattr(self,name)(url, realm)
File "/usr/lib64/python2.6/urllib.py", line 771, in retry_http_basic_auth
return self.open(newurl)
File "/usr/lib64/python2.6/urllib.py", line 207, in open
return getattr(self, name)(url)
File "/usr/lib64/python2.6/urllib.py", line 362, in open_http
return self.http_error(url, fp, errcode, errmsg, headers)
File "/usr/lib64/python2.6/urllib.py", line 375, in http_error
result = method(url, fp, errcode, errmsg, headers)
File "/usr/lib64/python2.6/urllib.py", line 702, in http_error_401
return getattr(self,name)(url, realm)
.............(too many lines of output)
File "/usr/lib64/python2.6/mimetools.py", line 25, in __init__
rfc822.Message.__init__(self, fp, seekable)
File "/usr/lib64/python2.6/rfc822.py", line 108, in __init__
self.readheaders()
File "/usr/lib64/python2.6/httplib.py", line 265, in readheaders
if hasattr(self.fp, 'unread'):
AttributeError: '_fileobject' object has no attribute 'unread'
Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in <type 'exceptions.AttributeError'> ignored
Traceback (most recent call last):
File "/opt/couchbase/lib/python/cbworkloadgen", line 79, in _run
options.verbose)
File "/opt/couchbase/lib/python/couchbase/couchbaseclient.py", line 684, in __init__
self.rest = RestConnection(server)
File "/opt/couchbase/lib/python/couchbase/rest_client.py", line 183, in __init__
self.password)
File "/opt/couchbase/lib/python/couchbase/client.py", line 342, in parse_server_config
response = urlopener.open(uri)
File "/usr/lib64/python2.6/urllib.py", line 207, in open
return getattr(self, name)(url)
File "/usr/lib64/python2.6/urllib.py", line 362, in open_http
return self.http_error(url, fp, errcode, errmsg, headers)
File "/usr/lib64/python2.6/urllib.py", line 375, in http_error
result = method(url, fp, errcode, errmsg, headers)
File "/usr/lib64/python2.6/urllib.py", line 702, in http_error_401
return getattr(self,name)(url, realm)
File "/usr/lib64/python2.6/urllib.py", line 771, in retry_http_basic_auth
return self.open(newurl)
File "/usr/lib64/python2.6/urllib.py", line 207, in open
return getattr(self, name)(url)
File "/usr/lib64/python2.6/urllib.py", line 362, in open_http
return self.http_error(url, fp, errcode, errmsg, headers)
File "/usr/lib64/python2.6/urllib.py", line 375, in http_error
result = method(url, fp, errcode, errmsg, headers)
File "/usr/lib64/python2.6/urllib.py", line 702, in http_error_401
return getattr(self,name)(url, realm)
.............(too many lines of output)
File "/usr/lib64/python2.6/mimetools.py", line 25, in __init__
rfc822.Message.__init__(self, fp, seekable)
File "/usr/lib64/python2.6/rfc822.py", line 108, in __init__
self.readheaders()
File "/usr/lib64/python2.6/httplib.py", line 265, in readheaders
if hasattr(self.fp, 'unread'):
AttributeError: '_fileobject' object has no attribute 'unread'