Cannot un-select as System Manager as there must be atleast one ‘System Manager’
The administrator user is marked as System manager, but it throws this error anyway. Any sugestions?
Console output:
Traceback (innermost last):
File “…/lib/webnotes/widgets/form/save.py”, line 41, in savedocs
getattr(doclist, action.lower())()
File “…/lib/webnotes/model/doclist.py”, line 241, in save
self.run_method(‘validate’)
File “…/lib/webnotes/model/doclist.py”, line 182, 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 101, in update_roles
self.check_one_system_manager()
File “…/lib/core/doctype/profile/profile.py”, line 117, in check_one_system_manager
be atleast one ‘System Manager’“”", raise_exception=1)
File “…/lib/webnotes/init.py”, line 121, in msgprint
raise ValidationError, msg
ValidationError: Cannot un-select as System Manager as there must
be atleast one ‘System Manager’
Cannot un-select as System Manager as there must
be atleast one ‘System Manager’
Administrator is not designed to be an active user. Its best to create a "super" user and make that user the System Manager. Administrator is only for development and trouble shooting.
On 10-Oct-2012, at 6:28 PM, Hernan Gonzalez <nu...@gmail.com> wrote:
Cannot un-select as System Manager as there must be atleast one 'System Manager'
The administrator user is marked as System manager, but it throws this error anyway. Any sugestions?
Console output:
Traceback (innermost last):
File "../lib/webnotes/widgets/form/save.py", line 41, in savedocs
getattr(doclist, action.lower())()
File "../lib/webnotes/model/doclist.py", line 241, in save
self.run_method('validate')
File "../lib/webnotes/model/doclist.py", line 182, 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 101, in update_roles
self.check_one_system_manager()
File "../lib/core/doctype/profile/profile.py", line 117, in check_one_system_manager
be atleast one 'System Manager'""", raise_exception=1)
File "../lib/webnotes/__init__.py", line 121, in msgprint
raise ValidationError, msg
ValidationError: Cannot un-select as System Manager as there must
be atleast one 'System Manager'
Cannot un-select as System Manager as there must
be atleast one ‘System Manager’
The problem is, i cant create users and the only active user by default is administrator.
On Wednesday, October 10, 2012 1:30:19 PM UTC-3, Rushabh Mehta wrote:
Hernan,
Administrator is not designed to be an active user. Its best to create a “super” user and make that user the System Manager. Administrator is only for development and trouble shooting.
On 10-Oct-2012, at 6:28 PM, Hernan Gonzalez <nu...@gmail.com> wrote:
Cannot un-select as System Manager as there must be atleast one 'System Manager'
The administrator user is marked as System manager, but it throws this error anyway. Any sugestions?
Console output:
Traceback (innermost last):
File "../lib/webnotes/widgets/form/save.py", line 41, in savedocs
getattr(doclist, action.lower())()
File "../lib/webnotes/model/doclist.py", line 241, in save
self.run_method('validate')
File "../lib/webnotes/model/doclist.py", line 182, 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 101, in update_roles
self.check_one_system_manager()
File "../lib/core/doctype/profile/profile.py", line 117, in check_one_system_manager
be atleast one 'System Manager'""", raise_exception=1)
File "../lib/webnotes/__init__.py", line 121, in msgprint
raise ValidationError, msg
ValidationError: Cannot un-select as System Manager as there must
be atleast one 'System Manager'
Cannot un-select as System Manager as there must
be atleast one ‘System Manager’
On 10-Oct-2012, at 11:12 PM, Hernan Gonzalez <nu...@gmail.com> wrote:
The problem is, i cant create users and the only active user by default is administrator.
On Wednesday, October 10, 2012 1:30:19 PM UTC-3, Rushabh Mehta wrote:
Hernan,
Administrator is not designed to be an active user. Its best to create a "super" user and make that user the System Manager. Administrator is only for development and trouble shooting.
On 10-Oct-2012, at 6:28 PM, Hernan Gonzalez <nu...@gmail.com> wrote:
Cannot un-select as System Manager as there must be atleast one 'System Manager'
The administrator user is marked as System manager, but it throws this error anyway. Any sugestions?
Console output:
Traceback (innermost last):
File "../lib/webnotes/widgets/form/save.py", line 41, in savedocs
getattr(doclist, action.lower())()
File "../lib/webnotes/model/doclist.py", line 241, in save
self.run_method('validate')
File "../lib/webnotes/model/doclist.py", line 182, 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 101, in update_roles
self.check_one_system_manager()
File "../lib/core/doctype/profile/profile.py", line 117, in check_one_system_manager
be atleast one 'System Manager'""", raise_exception=1)
File "../lib/webnotes/__init__.py", line 121, in msgprint
raise ValidationError, msg
ValidationError: Cannot un-select as System Manager as there must
be atleast one 'System Manager'
Cannot un-select as System Manager as there must
be atleast one ‘System Manager’