gangadhar kadam
unread,May 31, 2013, 5:52:32 AM5/31/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to erpnext-dev...@googlegroups.com
Hello Sir,
I have tried to update my local project to push on git fork. I use sudo lib/wnf.py --update origin master, there were changes in some files so used git stash in app as well as lib folder. Then i tried to take update using same command. I got following error on terminal.
Executing patches.february_2013.p09_timesheets in mtnlive
Traceback (innermost last):
File "/var/www/mtnlive/lib/webnotes/modules/patch_handler.py", line 74, in execute_patch
webnotes.get_method(patchmodule + ".execute")()
File "app/patches/february_2013/p09_timesheets.py", line 55, in execute
tl.doc.insert()
File "/var/www/mtnlive/lib/webnotes/model/doc.py", line 413, in insert
self.save()
File "/var/www/mtnlive/lib/webnotes/model/doc.py", line 408, in save
keep_timestamps=keep_timestamps)
File "/var/www/mtnlive/lib/webnotes/model/doc.py", line 362, in _update_values
(self.doctype, ', '.join(update_str), "%s"), values)
File "/var/www/mtnlive/lib/webnotes/db.py", line 130, in sql
raise e
OperationalError: (1054, "Unknown column 'store' in 'field list'")
patches.february_2013.p09_timesheets: failed: STOPPED
Building js and css files...
I also used sudo lib/wnf.py --patch_sync_build but got same error for this also. Store is a custom doctye and its references are in some doctypes.
When i log in in application it displayed blank app.html and following error in firebug
Traceback (innermost last):
File "../lib/webnotes/handler.py", line 154, in handle
execute_cmd(cmd)
File "../lib/webnotes/handler.py", line 189, in execute_cmd
ret = call(method, webnotes.form_dict)
File "../lib/webnotes/handler.py", line 206, 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 130, in sql
raise e
OperationalError: (1054, "Unknown column 'cost_center' in 'field list'")
How can i resolve this issue and push updated code on git fork?
Thank you
Regards,
Gangadhar kadam