Hello All, I maintain latest code and my changes of erpnext on git. i took client erpnext db backup (last month) and imported on local machine and linked it to my latest update code.after login i receive following eoor on firebug.
Traceback (innermost last): File “…/lib/webnotes/handler.py”, line 156, in handle execute_cmd(cmd) File “…/lib/webnotes/handler.py”, line 191, in execute_cmd ret = call(method, webnotes.form_dict) File “…/lib/webnotes/handler.py”, line 208, in call return fn(**newargs) File “…/lib/webnotes/handler.py”, line 54, in startup webnotes.response.update(webnotes.sessions.get()) File “…/lib/webnotes/sessions.py”, line 82, in get bootinfo = get_bootinfo() File “…/lib/webnotes/boot.py”, line 75, in get_bootinfo startup.boot.boot_session(bootinfo) File “…/app/startup/boot.py”, line 41, in boot_session as_dict=1, update={“doctype”:“:Company”}) File “…/lib/webnotes/db.py”, line 120, in sql raise e OperationalError: (1054, “Unknown column ‘cost_center’ in ‘field list’”)
all-app.min.js (line 307)
TypeError: wn.boot.profile is undefined [Break On This Error]
You must patch the database using "lib/wnf.py --patch_sync_build" for the latest code to be running.
- Rushabh
On Thu, Apr 25, 2013 at 1:33 PM, gangadhar kadam <em...@gmail.com> wrote:
Hello All, I maintain latest code and my changes of erpnext on git. i took client erpnext db backup (last month) and imported on local machine and linked it to my latest update code.after login i receive following eoor on firebug.
Traceback (innermost last): File "../lib/webnotes/handler.py", line 156, in handle execute_cmd(cmd) File "../lib/webnotes/handler.py", line 191, in execute_cmd ret = call(method, webnotes.form_dict)
File "../lib/webnotes/handler.py", line 208, in call return fn(**newargs) File "../lib/webnotes/handler.py", line 54, in startup webnotes.response.update(webnotes.sessions.get())
File "../lib/webnotes/sessions.py", line 82, in get bootinfo = get_bootinfo() File "../lib/webnotes/boot.py", line 75, in get_bootinfo startup.boot.boot_session(bootinfo) File "../app/startup/boot.py", line 41, in boot_session
as_dict=1, update={"doctype":":Company"}) File "../lib/webnotes/db.py", line 120, in sql raise e OperationalError: (1054, "Unknown column 'cost_center' in 'field list'")
all-app.min.js (line 307)
TypeError: wn.boot.profile is undefined [Break On This Error]