Traceback (innermost last):
File “…/lib/webnotes/widgets/form/save.py”, line 41, in savedocs
getattr(doclist, action.lower())()
File “…/lib/webnotes/model/wrapper.py”, line 242, in save
self.run_method(‘validate’)
File “…/lib/webnotes/model/wrapper.py”, line 183, in run_method
getattr(self.obj, method)()
File “…/lib/core/doctype/profile/profile.py”, line 52, in validate
self.update_roles()
File “…/lib/core/doctype/profile/profile.py”, line 103, in update_roles
self.check_one_system_manager()
AttributeError: DocType instance has no attribute ‘check_one_system_manager’
Traceback (innermost last):
File “…/lib/webnotes/handler.py”, line 197, in handle
execute_cmd(cmd)
File “…/lib/webnotes/handler.py”, line 234, in execute_cmd
ret = method()
File “…/lib/webnotes/widgets/form/save.py”, line 56, in savedocs
raise e
AttributeError: DocType instance has no attribute ‘check_one_system_manager’ all-web.js:301
Uncaught TypeError: object is not a function
madhan.
–
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
Traceback (innermost last):
File "../lib/webnotes/widgets/form/save.py", line 41, in savedocs
getattr(doclist, action.lower())()
File "../lib/webnotes/model/wrapper.py", line 242, in save
self.run_method('validate')
File "../lib/webnotes/model/wrapper.py", line 183, in run_method
getattr(self.obj, method)()
File "../lib/core/doctype/profile/profile.py", line 52, in validate
self.update_roles()
File "../lib/core/doctype/profile/profile.py", line 103, in update_roles
self.check_one_system_manager()
AttributeError: DocType instance has no attribute 'check_one_system_manager'
Traceback (innermost last):
File “…/lib/webnotes/handler.py”, line 197, in handle
execute_cmd(cmd)
File “…/lib/webnotes/handler.py”, line 234, in execute_cmd
ret = method()
File “…/lib/webnotes/widgets/form/save.py”, line 56, in savedocs
raise e
AttributeError: DocType instance has no attribute ‘check_one_system_manager’ all-web.js:301
Uncaught TypeError: object is not a function
madhan.
–
You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
Traceback (innermost last):
File "../lib/webnotes/widgets/form/save.py", line 41, in savedocs
getattr(doclist, action.lower())()
File "../lib/webnotes/model/wrapper.py", line 242, in save
self.run_method('validate')
File "../lib/webnotes/model/wrapper.py", line 183, in run_method
getattr(self.obj, method)()
File "../lib/core/doctype/profile/profile.py", line 52, in validate
self.update_roles()
File "../lib/core/doctype/profile/profile.py", line 103, in update_roles
self.check_one_system_manager()
AttributeError: DocType instance has no attribute 'check_one_system_manager'
Traceback (innermost last):
File "…/lib/webnotes/handler.py", line 197, in handle
execute_cmd(cmd)
File "…/lib/webnotes/handler.py", line 234, in execute_cmd
ret = method()
File "…/lib/webnotes/widgets/form/save.py", line 56, in savedocs
raise e
AttributeError: DocType instance has no attribute 'check_one_system_manager' all-web.js:301
Uncaught TypeError: object is not a function
madhan.
–
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
i made the changes you said now i get same error with the following console output. im running erpnext on centos 6.2
Traceback (innermost last):
File "../lib/webnotes/model/wrapper.py", line 196, in save_main
self.doc.save(cint(self.doc.fields.get('__islocal')))
File "../lib/webnotes/model/doc.py", line 419, in save
make_autoname, keep_timestamps = keep_timestamps)
File "../lib/webnotes/model/doc.py", line 279, in insert
self._set_name(autoname, istable)
File "../lib/webnotes/model/doc.py", line 210, in _set_name
r = webnotes.model.code.run_server_obj(so, 'autoname')
File "../lib/webnotes/model/code.py", line 191, in run_server_obj
return getattr(server_obj, method_name)()
File "../lib/core/doctype/profile/profile.py", line 40, in autoname
msgprint("%s is not a valid email id" % self.doc.email)
NameError: global name 'msgprint' is not defined
Traceback (innermost last):
File "…/lib/webnotes/widgets/form/save.py", line 41, in savedocs
getattr(doclist, action.lower())()
File "…/lib/webnotes/model/wrapper.py", line 243, in save
self.save_main()
File "…/lib/webnotes/model/wrapper.py", line 204, in save_main
raise e
NameError: global name 'msgprint' is not defined
Traceback (innermost last):
File "…/lib/webnotes/handler.py", line 198, in handle
execute_cmd(cmd)
File "…/lib/webnotes/handler.py", line 231, in execute_cmd
ret = call(method, webnotes.form_dict)
File "…/lib/webnotes/handler.py", line 249, in call
return fn(**newargs)
File "…/lib/webnotes/widgets/form/save.py", line 56, in savedocs
raise e
NameError: global name 'msgprint' is not defined
Traceback (innermost last):
File "../lib/webnotes/widgets/form/save.py", line 41, in savedocs
getattr(doclist, action.lower())()
File "../lib/webnotes/model/wrapper.py", line 242, in save
self.run_method('validate')
File "../lib/webnotes/model/wrapper.py", line 183, in run_method
getattr(self.obj, method)()
File "../lib/core/doctype/profile/profile.py", line 52, in validate
self.update_roles()
File "../lib/core/doctype/profile/profile.py", line 103, in update_roles
self.check_one_system_manager()
AttributeError: DocType instance has no attribute 'check_one_system_manager'
Traceback (innermost last):
File “…/lib/webnotes/handler.py”, line 197, in handle
execute_cmd(cmd)
File “…/lib/webnotes/handler.py”, line 234, in execute_cmd
ret = method()
File “…/lib/webnotes/widgets/form/save.py”, line 56, in savedocs
raise e
AttributeError: DocType instance has no attribute ‘check_one_system_manager’ all-web.js:301
Uncaught TypeError: object is not a function
madhan.
–
You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
Traceback (innermost last):
File "../lib/webnotes/widgets/form/save.py", line 41, in savedocs
getattr(doclist, action.lower())()
File "../lib/webnotes/model/wrapper.py", line 242, in save
self.run_method('validate')
File "../lib/webnotes/model/wrapper.py", line 183, in run_method
getattr(self.obj, method)()
File "../lib/core/doctype/profile/profile.py", line 52, in validate
self.update_roles()
File "../lib/core/doctype/profile/profile.py", line 103, in update_roles
self.check_one_system_manager()
AttributeError: DocType instance has no attribute 'check_one_system_manager'
Traceback (innermost last):
File "…/lib/webnotes/handler.py", line 197, in handle
execute_cmd(cmd)
File "…/lib/webnotes/handler.py", line 234, in execute_cmd
ret = method()
File "…/lib/webnotes/widgets/form/save.py", line 56, in savedocs
raise e
AttributeError: DocType instance has no attribute 'check_one_system_manager' all-web.js:301
Uncaught TypeError: object is not a function
madhan.
–
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.