罗湖装修公司网站建设,建筑模板的规格,哪个网站可以做微信头图,网站后台管理功能我正在尝试在一个全新的Mac上运行一个django项目。它一直工作到昨天#xff0c;我不知道发生了什么#xff0c;但突然间我开始收到Redis错误。在我可以加载不查询数据库的页面#xff0c;但是一旦我尝试进行搜索(部分依赖于Redis)#xff0c;它就不起作用了。在有什么想法吗…我正在尝试在一个全新的Mac上运行一个django项目。它一直工作到昨天我不知道发生了什么但突然间我开始收到Redis错误。在我可以加载不查询数据库的页面但是一旦我尝试进行搜索(部分依赖于Redis)它就不起作用了。在有什么想法吗这是回溯。在Traceback (most recent call last):File /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/wsgiref/handlers.py, line 85, in runself.result application(self.environ, self.start_response)File /Library/Python/2.7/site-packages/django/contrib/staticfiles/handlers.py, line 67, in __call__return self.application(environ, start_response)File /Library/Python/2.7/site-packages/django/core/handlers/wsgi.py, line 241, in __call__response self.get_response(request)File /Library/Python/2.7/site-packages/django/core/handlers/base.py, line 179, in get_responseresponse self.handle_uncaught_exception(request, resolver, sys.exc_info())File /Library/Python/2.7/site-packages/django/core/handlers/base.py, line 111, in get_responseresponse callback(request, *callback_args, **callback_kwargs)File /Users/dlitwak/mozio/dotcloud/demo/search/views.py, line 391, in resultscache.setDistanceAndDuration(distance, time, request.user.username)File /Users/dlitwak/mozio/dotcloud/demo/cache.py, line 305, in setDistanceAndDurationself.cache.set(key, value, 1800)File /Library/Python/2.7/site-packages/redis_cache/cache.py, line 218, in setresult self._set(key, pickle.dumps(value), int(timeout), client, _add_only)File /Library/Python/2.7/site-packages/redis_cache/cache.py, line 199, in _setreturn client.setex(key, value, timeout)File /Library/Python/2.7/site-packages/redis/client.py, line 1221, in setexreturn self.execute_command(SETEX, name, time, value)File /Library/Python/2.7/site-packages/redis/client.py, line 338, in execute_commandconnection.send_command(*args)File /Library/Python/2.7/site-packages/redis/connection.py, line 287, in send_commandself.send_packed_command(self.pack_command(*args))File /Library/Python/2.7/site-packages/redis/connection.py, line 269, in send_packed_commandself.connect()File /Library/Python/2.7/site-packages/redis/connection.py, line 217, in connectraise ConnectionError(self._error_message(e))ConnectionError: Error 2 connecting to unix socket: 127.0.0.1. No such file or directory.我们正在运行MYSQL。我可以通过终端访问数据库所以我不认为这是数据库访问问题。在