Unknown column price list error

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]    

…n(){this.load_startup();},load_startup:function(){var me=this;if(window.app){wn…


can i use my latest updated code with older erpnext database ?

Thank you



You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

To post to this group, send email to er...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/LINc8zUwwykJ.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Gangadhar,

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]

...n(){this.load_startup();},load_startup:function(){var me=this;if(window.app){wn....


can i use my latest updated code with older erpnext database ?

Thank you



You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/LINc8zUwwykJ.

For more options, visit https://groups.google.com/groups/opt_out.












Twitter: @rushabh_mehta



You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

To post to this group, send email to er...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.