Hello All,
I have taken db and code backup of client and restored it on my local machine. i updated it with erpnext origin. when i try to access site(
http://localhost:6666/) i got following error.
<type 'exceptions.RuntimeError'> | Python 2.7.3: /usr/bin/python Fri Apr 26 10:46:46 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/rormix/rmn.xbs360.com/public/web.py in respond() |
41 import webnotes
|
42 import website.utils
|
=> 43 return website.utils.render(webnotes.form_dict.get('page'))
|
44
|
45 if __name__=="__main__":
|
website = <module 'website' from '../app/website/__init__.pyc'>, website.utils = <module 'website.utils' from '../app/website/utils.pyc'>, website.utils.render = <function render>, webnotes = <module 'webnotes' from '../lib/webnotes/__init__.pyc'>, webnotes.form_dict = {}, webnotes.form_dict.get = <built-in method get of _dict object> |
=> 153 conn = webnotes.db.Database(user=db_name, password=password)
|
154
|
155 global session
|
global conn = <webnotes.db.Database instance>, webnotes = <module 'webnotes' from '../lib/webnotes/__init__.pyc'>, webnotes.db = <module 'webnotes.db' from '../lib/webnotes/db.pyc'>, webnotes.db.Database = <class webnotes.db.Database>, global user = <webnotes.profile.Profile instance>, db_name = None, password = None |
/var/www/rormix/rmn.xbs360.com/lib/webnotes/db.py in __init__(self=<webnotes.db.Database instance>, host=None, user=None, password=None, 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 = <webnotes.db.Database instance>, self.connect = <bound method Database.connect of <webnotes.db.Database instance>> |
/var/www/rormix/rmn.xbs360.com/lib/webnotes/db.py in connect(self=<webnotes.db.Database instance>) |
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/lib/python2.7/dist-packages/MySQLdb/__init__.py in Connect(*args=(), **kwargs={'charset': u'utf8', 'host': u'localhost', 'passwd': u'rormix', 'use_unicode': True, 'user': u'rormix'}) |
79 """Factory function for connections.Connection."""
|
80 from connections import Connection
|
=> 81 return Connection(*args, **kwargs)
|
82
|
83 connect = Connection = Connect
|
Connection = <class 'MySQLdb.connections.Connection'>, args = (), kwargs = {'charset': u'utf8', 'host': u'localhost', 'passwd': u'rormix', 'use_unicode': True, 'user': u'rormix'} |
/usr/lib/python2.7/dist-packages/MySQLdb/connections.py in __init__(self=<_mysql.connection
closed at 2b98ec0>, *args=(), **kwargs={'charset': u'utf8', 'host':
u'localhost', 'passwd': u'rormix', 'use_unicode': True, 'user':
u'rormix'}) |
159 conv2 = {}
|
160 for k, v in conv.items():
|
=> 161 if isinstance(k, int) and isinstance(v, list):
|
162 conv2[k] = v[:]
|
163 else:
|
builtin isinstance = <built-in function isinstance>, k = 0, builtin int = <type 'int'>, v = <class 'decimal.Decimal'>, builtin list = <type 'list'> |
<type 'exceptions.RuntimeError'>: maximum recursion depth exceeded while calling a Python object
args =
('maximum recursion depth exceeded while calling a Python object',)
message =
'maximum recursion depth exceeded while calling a Python object'
did i miss anything?
Thank you.