update issue

59 views
Skip to first unread message

gangadhar kadam

unread,
May 28, 2013, 6:35:31 AM5/28/13
to erpnext-dev...@googlegroups.com
Hello All,
  I took updates, when i login blank app.html displayed and there was 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'")

Thank you

Regards
Gangadhar kadam

Anand Doshi

unread,
May 28, 2013, 6:39:34 AM5/28/13
to erpnext-dev...@googlegroups.com
Hi Gangadhar,

What procedure did you use to update?

Thanks,
Anand.

--
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/msgid/erpnext-developer-forum/02a1bed0-1519-423b-96b3-0bf5d06434fc%40googlegroups.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

गंगाधर कदम

unread,
May 28, 2013, 6:47:02 AM5/28/13
to erpnext-dev...@googlegroups.com
  I use sudo lib/wnf.py --update upstream master and upstream is pointed to wennotes. i have set origin to my git account to push changes on fork



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



--
Thanks & Regards,
Mr.Gangadhar N.Kadam.
Cell: +91 9960066444

Software Engineer,
New Indictrans Technologies Pvt. Ltd., Pune


SAVE TREES - Please consider the environment before printing this email.

SAVE ENERGY - My monitor is off whenever I am away from my desk. I am helping  prevent global warming by reducing consumption of power... ARE YOU?

Anand Doshi

unread,
May 28, 2013, 6:51:42 AM5/28/13
to erpnext-dev...@googlegroups.com
Hi Gangadhar,

Probably one of the patches didn't run completely. Please update again and check if any error message appears when updating.

Thanks,
Anand.


गंगाधर कदम

unread,
May 28, 2013, 7:07:35 AM5/28/13
to erpnext-dev...@googlegroups.com
while updating i got following error.

Executing execute:webnotes.reload_doc('core', 'doctype', 'docfield') in mtnlive
Traceback (innermost last):
  File "/var/www/mtnlive/lib/webnotes/modules/patch_handler.py", line 72, in execute_patch
    exec patchmodule.split("execute:")[1] in globals()
  File "<string>", line 1, in <module>
  File "/var/www/mtnlive/lib/webnotes/__init__.py", line 328, in reload_doc
    return webnotes.model.doctype.get(doctype, processed)
  File "/var/www/mtnlive/lib/webnotes/modules/__init__.py", line 73, in reload_doc
    return import_files(module, dt, dn, force)
  File "/var/www/mtnlive/lib/webnotes/modules/import_file.py", line 35, in import_files
    return import_file(module, dt, dn, force)
  File "/var/www/mtnlive/lib/webnotes/modules/import_file.py", line 45, in import_file
    ret = import_file_by_path(path, force)
  File "/var/www/mtnlive/lib/webnotes/modules/import_file.py", line 63, in import_file_by_path
    import_doclist(doclist)
  File "/var/www/mtnlive/lib/webnotes/modules/import_file.py", line 92, in import_doclist
    webnotes.delete_doc(doctype, name, force=1, ignore_doctypes =ignore, for_reload=True)
 TypeError: delete_doc() got an unexpected keyword argument 'ignore_doctypes'

execute:webnotes.reload_doc('core', 'doctype', 'docfield'): failed: STOPPED

Thank you




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

Anand Doshi

unread,
May 29, 2013, 8:54:57 AM5/29/13
to erpnext-dev...@googlegroups.com
Hi Gangadhar,

It seems to be something related to merge conflicts. Please check if you have uncommitted changes.

Thanks,
Anand.

गंगाधर कदम

unread,
May 29, 2013, 9:57:22 AM5/29/13
to erpnext-dev...@googlegroups.com
Hello sir,
  Before update I used git stash in app as well as lib folder, uncommitted should not be there.

Regards,
Gangadhar kadam



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

Anand Doshi

unread,
May 29, 2013, 9:58:22 AM5/29/13
to erpnext-dev...@googlegroups.com
You should try running the update again.

Reply all
Reply to author
Forward
0 new messages