Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 3905 by narayan....@gmail.com: ValueError: Unable to parse
connection string: "localhost"
https://code.google.com/p/reviewboard/issues/detail?id=3905
Hello,
I tried changing Cache settings in ReviewBoard admin panel and after that
server crashed. Please help
Traceback (most recent call last):
File "C:\Reviewboard-2.0.15-0\apps\django\django\core\handlers\base.py",
line 88, in get_response
response = middleware_method(request)
File "C:\Reviewboard-2.0.15-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.15-py2.7.egg\reviewboard\admin\middleware.py",
line 36, in process_request
initialize()
File "C:\Reviewboard-2.0.15-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.15-py2.7.egg\reviewboard\__init__.py",
line 103, in initialize
load_site_config()
File "C:\Reviewboard-2.0.15-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.15-py2.7.egg\reviewboard\admin\siteconfig.py",
line 245, in load_site_config
apply_django_settings(siteconfig, settings_map)
File "C:\Reviewboard-2.0.15-0\python\lib\site-packages\djblets-0.8.16-py2.7.egg\djblets\siteconfig\django_settings.py",
line 227, in apply_django_settings
setter(settings, setting_key, value)
File "C:\Reviewboard-2.0.15-0\python\lib\site-packages\djblets-0.8.16-py2.7.egg\djblets\siteconfig\django_settings.py",
line 53, in _set_cache_backend
cache.reset_backend()
File "C:\Reviewboard-2.0.15-0\python\lib\site-packages\djblets-0.8.16-py2.7.egg\djblets\cache\forwarding_backend.py",
line 51, in reset_backend
self._backend.close()
File "C:\Reviewboard-2.0.15-0\apps\django\django\core\cache\backends\memcached.py",
line 100, in close
self._cache.disconnect_all()
File "C:\Reviewboard-2.0.15-0\apps\django\django\core\cache\backends\memcached.py",
line 163, in _cache
self._client = self._lib.Client(self._servers,
pickleProtocol=pickle.HIGHEST_PROTOCOL)
File "build\bdist.win32\egg\memcache.py", line 165, in __init__
self.set_servers(servers)
File "build\bdist.win32\egg\memcache.py", line 196, in set_servers
self.servers = [_Host(s, self.debug) for s in servers]
File "build\bdist.win32\egg\memcache.py", line 965, in __init__
raise ValueError('Unable to parse connection string: "%s"' % host)
ValueError: Unable to parse connection string: "localhost"
<WSGIRequest
path:/reviewboard/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'csrftoken': '6ALkBbkXhwGPxSXCgOl7yqGzX19Kcv4m',
'rbsessionid': '99kw8atenk3pb9kkrob7q0ajdmaq4wa1'},
META:{'COMSPEC': 'C:\\Windows\\system32\\cmd.exe',
'CONTEXT_DOCUMENT_ROOT': 'C:/Reviewboard-2.0.15-0/apache2/htdocs',
'CONTEXT_PREFIX': '',
'DOCUMENT_ROOT': 'C:/Reviewboard-2.0.15-0/apache2/htdocs',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT':
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'rbsessionid=99kw8atenk3pb9kkrob7q0ajdmaq4wa1;
csrftoken=6ALkBbkXhwGPxSXCgOl7yqGzX19Kcv4m',
'HTTP_HOST': '192.168.2.179',
'HTTP_REFERER': 'http://192.168.2.179/',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.3; WOW64; rv:39.0)
Gecko/20100101 Firefox/39.0',
'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC',
'PATH_INFO': u'/reviewboard/',
'PATH_TRANSLATED':
'C:\\Reviewboard-2.0.15-0\\apps\\reviewboard\\rb-sites\\reviewboard\\htdocs\\reviewboard.wsgi\\reviewboard\\',
'QUERY_STRING': '',
'REMOTE_ADDR': '172.16.0.160',
'REMOTE_PORT': '56091',
'REQUEST_METHOD': 'GET',
'REQUEST_SCHEME': 'http',
'REQUEST_URI': '/reviewboard/',
'SCRIPT_FILENAME':
'C:/Reviewboard-2.0.15-0/apps/reviewboard/rb-sites/reviewboard/htdocs/reviewboard.wsgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '192.168.2.179',
'SERVER_ADMIN': 'ad...@example.com',
'SERVER_NAME': '192.168.2.179',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '',
'SERVER_SOFTWARE': 'Apache',
'SystemRoot': 'C:\\Windows',
'WINDIR': 'C:\\Windows',
'mod_wsgi.application_group': 'localhost|',
'mod_wsgi.callable_object': 'application',
'mod_wsgi.enable_sendfile': '0',
'mod_wsgi.handler_script': '',
'mod_wsgi.input_chunked': '0',
'mod_wsgi.process_group': '',
'mod_wsgi.request_handler': 'wsgi-script',
'mod_wsgi.script_reloading': '1',
'mod_wsgi.version': (3, 5),
'wsgi.errors': <mod_wsgi.Log object at 0x0423FE80>,
'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter
object at 0x01543A88>,
'wsgi.input': <mod_wsgi.Input object at 0x042375E8>,
'wsgi.multiprocess': False,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.