--> --> --> Python 2.6.6: /usr/bin/python Mon May 27 11:37:41 2013 A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. /var/www/sites/test.rigpl.com/public/web.py in () 43 return webnotes.webutils.render(webnotes.form_dict.get('page')) 44 45 if __name__=="__main__": 46 init() 47 respond() respond = /var/www/sites/test.rigpl.com/public/web.py in respond() 41 import webnotes 42 import webnotes.webutils 43 return webnotes.webutils.render(webnotes.form_dict.get('page')) 44 45 if __name__=="__main__": webnotes = , webnotes.webutils = , webnotes.webutils.render = , webnotes.form_dict = {'page': u'about.html'}, webnotes.form_dict.get = /var/www/sites/test.rigpl.com/lib/webnotes/webutils.py in render(page_name=u'about.html') 15 html = get_html('index') 16 except Exception: 17 html = get_html('error') 18 19 from webnotes.handler import eprint, print_zip html undefined, global get_html = /var/www/sites/test.rigpl.com/lib/webnotes/webutils.py in get_html(page_name=u'error') 35 if not html: 36 from webnotes.auth import HTTPRequest 37 webnotes.http_request = HTTPRequest() 38 39 #webnotes.connect() global webnotes = , webnotes.http_request undefined, HTTPRequest = /var/www/sites/test.rigpl.com/lib/webnotes/auth.py in __init__(self=) 54 55 # set db 56 self.connect() 57 58 # login self = , self.connect = > /var/www/sites/test.rigpl.com/lib/webnotes/auth.py in connect(self=, ac_name=None) 116 """connect to db, from ac_name or db_name""" 117 webnotes.conn = webnotes.db.Database(user = self.get_db_name(), \ 118 password = getattr(conf,'db_password', '')) 119 120 class LoginManager: password undefined, builtin getattr = , global conf = /var/www/sites/test.rigpl.com/lib/webnotes/db.py in __init__(self=, host=None, user=u'test_rigpl', password=u'sa32knsadk#dsak12', ac_name=None, use_default=0) 51 self.password = password or webnotes.get_db_password(self.user) 52 53 self.connect() 54 if self.user != 'root': 55 self.use(self.user) self = , self.connect = > /var/www/sites/test.rigpl.com/lib/webnotes/db.py in connect(self=) 63 """ 64 self._conn = MySQLdb.connect(user=self.user, host=self.host, passwd=self.password, 65 use_unicode=True, charset='utf8') 66 self._conn.converter[246]=float 67 self._cursor = self._conn.cursor() use_unicode undefined, builtin True = True, charset undefined /usr/lib64/python2.6/site-packages/MySQLdb/__init__.py in Connect(*args=(), **kwargs={'charset': u'utf8', 'host': u'localhost', 'passwd': u'sa32knsadk#dsak12', 'use_unicode': True, 'user': u'test_rigpl'}) 79 """Factory function for connections.Connection.""" 80 from connections import Connection 81 return Connection(*args, **kwargs) 82 83 connect = Connection = Connect Connection = , args = (), kwargs = {'charset': u'utf8', 'host': u'localhost', 'passwd': u'sa32knsadk#dsak12', 'use_unicode': True, 'user': u'test_rigpl'} /usr/lib64/python2.6/site-packages/MySQLdb/connections.py in __init__(self=<_mysql.connection closed at 1a0f670>, *args=(), **kwargs={'charset': u'utf8', 'host': u'localhost', 'passwd': u'sa32knsadk#dsak12', 'use_unicode': True, 'user': u'test_rigpl'}) 185 kwargs2['client_flag'] = client_flag 186 187 super(Connection, self).__init__(*args, **kwargs2) 188 189 self.encoders = dict([ (k, v) for k, v in conv.items() builtin super = , global Connection = , self = <_mysql.connection closed at 1a0f670>, ).__init__ = >, args = (), kwargs2 = {'client_flag': 196608, 'conv': {0: , 1: , 2: , 3: , 4: , 5: , 7: , 8: , 9: , 10: , ...}, 'host': u'localhost', 'passwd': u'sa32knsadk#dsak12', 'user': u'test_rigpl'} : (1045, "Access denied for user 'test_rigpl'@'localhost' (using password: YES)") args = (1045, "Access denied for user 'test_rigpl'@'localhost' (using password: YES)") message = ''