Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uncaught exception: ['value'] #67

Open
dakolta opened this issue Jan 14, 2021 · 1 comment
Open

uncaught exception: ['value'] #67

dakolta opened this issue Jan 14, 2021 · 1 comment

Comments

@dakolta
Copy link

dakolta commented Jan 14, 2021

had to set auth to none to be able to edit a user to add as admin, when I try to modify a user I get the following:
uncaught exception: ['value']
Python Exception:
Traceback (most recent call last):

File "/usr/local/lib/python3.8/dist-packages/ldapcherry-1.1.1-py3.8.egg/ldapcherry/exceptions.py", line 229, in ret
return func(self, *args, **kwargs)

File "/usr/local/lib/python3.8/dist-packages/ldapcherry-1.1.1-py3.8.egg/ldapcherry/init.py", line 1140, in modify
form = self.temp['form.tmpl'].render(

File "/usr/local/lib/python3.8/dist-packages/Mako-1.1.3-py3.8.egg/mako/template.py", line 476, in render
return runtime.render(self, self.callable, args, data)

File "/usr/local/lib/python3.8/dist-packages/Mako-1.1.3-py3.8.egg/mako/runtime.py", line 878, in _render
_render_context(

File "/usr/local/lib/python3.8/dist-packages/Mako-1.1.3-py3.8.egg/mako/runtime.py", line 920, in _render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)

File "/usr/local/lib/python3.8/dist-packages/Mako-1.1.3-py3.8.egg/mako/runtime.py", line 947, in exec_template
callable
(context, *args, **kwargs)

File "form_tmpl", line 47, in render_body

File "form_tmpl", line 23, in form_col

File "form_tmpl", line 225, in render_form_col

KeyError: 'value'

@dakolta
Copy link
Author

dakolta commented Jan 16, 2021

Found out the problem is if I set the type to fix I get this error.
How else can I set attributes to read only?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant