2009/12/29

[note] plurk 爆炸惹

下面是爆炸跑出來的東西

##ReadMore##
Traceback (most recent call last):
File "/home/plurk/plurk/new_production/ext/parts/web/wsgiserver/__init__.py", line 1177, in communicate
req.respond()
File "/home/plurk/plurk/new_production/ext/parts/web/wsgiserver/__init__.py", line 547, in respond
self._respond()
File "/home/plurk/plurk/new_production/ext/parts/web/wsgiserver/__init__.py", line 559, in _respond
response = self.wsgi_app(self.environ, self.start_response)
File "/home/plurk/plurk/new_production/ext/werkzeug/utils.py", line 859, in __call__
return self.app(environ, start_response)
File "/home/plurk/plurk/new_production/ext/parts/web/web.py", line 274, in dispatch_request
rv = handle_error()
File "/home/plurk/plurk/new_production/ext/parts/web/web.py", line 337, in handle_error
result = handler(e)
File "plurk/web/error_handler.py", line 64, in error_handler
trace_back=t_b)
File "plurk/templates.py", line 98, in renderPlurkTemplate
ses_user = getCurrentUser()
File "plurk/users.py", line 39, in getCurrentUser
user = Users().getUserById(uid, full_info=True)
File "plurk/models/users.py", line 368, in getUserById
user = users_db(id).select('users', cols=cols, id=id,
File "plurk/db.py", line 198, in users_db
group = Shard().getUserGroupInfo(id)
File "plurk/db.py", line 336, in getUserGroupInfo
return self.getGroupFromMap('users', id)
File "plurk/db.py", line 326, in getGroupFromMap
group_info = cacheFunction(id, cache_key, fetch_fn)
File "plurk/tools/cache.py", line 74, in cacheFunction
data = fn()
File "/home/plurk/plurk/new_production/ext/parts/db/wrapper.py", line 112, in select
with self.cursor(sql) as cursor:
File "/home/plurk/plurk/new_production/ext/parts/db/wrapper.py", line 53, in cursor
con = self.connections.createConnection(host)
File "/home/plurk/plurk/new_production/ext/parts/db/wrapper.py", line 551, in createConnection
raise Exception('Could not create a connection. Error was %s' % exception)
Exception: Could not create a connection. Error was Traceback (most recent call last):
File "/home/plurk/plurk/new_production/ext/parts/db/wrapper.py", line 536, in createConnection
charset = dbinfo.charset)
File "/usr/lib/python2.5/site-packages/MySQL_python-1.2.3b2-py2.5-linux-i686.egg/MySQLdb/__init__.py", line 81, in Connect
File "/usr/lib/python2.5/site-packages/MySQL_python-1.2.3b2-py2.5-linux-i686.egg/MySQLdb/connections.py", line 188, in __init__
super(Connection, self).__init__(*args, **kwargs2)
OperationalError: (2003, "Can't connect to MySQL server on '192.168.0.251' (111)")

沒有留言: