unknown column price list error

15 views
Skip to first unread message

gangadhar kadam

unread,
Apr 25, 2013, 4:03:06 AM4/25/13
to erpnext-dev...@googlegroups.com
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

Rushabh Mehta

unread,
Apr 25, 2013, 5:46:42 AM4/25/13
to erpnext-dev...@googlegroups.com
Gangadhar,

You must patch the database using "lib/wnf.py --patch_sync_build" for the latest code to be running.

- Rushabh



--
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...@googlegroups.com.
To post to this group, send email to erpnext-dev...@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
Reply all
Reply to author
Forward
0 new messages