Hello Sir,
I have pushed my code on git fork at GitHub - gangadhar-kadam/mtn-erpnext and GitHub - gangadhar-kadam/mtn-wnframework
I have committed my local changes and tried to update and got error message below,
Executing patches.february_2013.p09_timesheets in nmtn
Traceback (innermost last):
File “/var/www/nmtn/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 22, in execute
ts = webnotes.bean(“Timesheet”, name)
File “/var/www/nmtn/lib/webnotes/init.py”, line 321, in bean
return Bean(doctype, name)
File “/var/www/nmtn/lib/webnotes/model/bean.py”, line 55, in init
self.load_from_db(dt, dn)
File “/var/www/nmtn/lib/webnotes/model/bean.py”, line 81, in load_from_db
self.run_method(“onload”)
File “/var/www/nmtn/lib/webnotes/model/bean.py”, line 215, in run_method
self.make_obj()
File “/var/www/nmtn/lib/webnotes/model/bean.py”, line 104, in make_obj
self.obj = webnotes.get_obj(doc=self.doc, doclist=self.doclist)
File “/var/www/nmtn/lib/webnotes/init.py”, line 306, in get_obj
return get_obj(dt, dn, doc, doclist, with_children)
File “/var/www/nmtn/lib/webnotes/model/code.py”, line 156, in get_obj
return get_server_obj(doc, doclist)
File “/var/www/nmtn/lib/webnotes/model/code.py”, line 101, in get_server_obj
DocType = get_doctype_class(doc.doctype, module)
File “/var/www/nmtn/lib/webnotes/model/code.py”, line 118, in get_doctype_class
module = load_doctype_module(doctype, module)
File “/var/www/nmtn/lib/webnotes/model/code.py”, line 140, in load_doctype_module
module = import(get_module_name(doctype, module, prefix), fromlist=[‘’])
File “app/projects/doctype/timesheet/timesheet.py”, line 97
<<<<<<< HEAD
When i run the application i got error below
<type ‘exceptions.ImportError’> Python 2.7.3: /usr/bin/python
Sat Jun 1 14:04:08 2013
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/var/www/nmtn/public/web.py in ()
44 return website.utils.render(webnotes.form_dict.get(‘page’))
45
46 if name==“main”:
47 init()
=> 48 respond()
respond = <function respond>
/var/www/nmtn/public/web.py in respond()
41 def respond():
42 import webnotes
=> 43 import website.utils
44 return website.utils.render(webnotes.form_dict.get(‘page’))
45
website undefined
<type ‘exceptions.ImportError’>: Bad magic number in …/app/website/utils.pyc
args = (‘Bad magic number in …/app/website/utils.pyc’,)
message = ‘Bad magic number in …/app/website/utils.pyc’
i dont displayed login page also.
What should i do?
Thank you.
Regards
Gangadhar kadam
–
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/msgid/erpnext-developer-forum/dfa92fd0-fce8-45f1-93c1-ea7e94cfbf71%40googlegroups.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.