Hello all.
I have a problem with Rockstor connected to Windows AD. After configuring the domain data in the Rockstor panel, when entering user groups, it throws the error “‘ascii’ codec can’t encode character u ‘\ u017c’ in position 1: ordinal not in range (128)”
From what I found out, it concerns a coding error (Rockstor stubbornly sees ASCII, and my domain controller works on UTF-8). Is there any way to solve this problem?
Error :
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py”, line 41, in _handle_exception
yield
File “/opt/rockstor/src/rockstor/storageadmin/views/group.py”, line 40, in get_queryset
return combined_groups()
File “/opt/rockstor/src/rockstor/storageadmin/views/ug_helpers.py”, line 87, in combined_groups
sys_groups = get_groups()
File “/opt/rockstor/src/rockstor/system/users.py”, line 110, in get_groups
ifp_groups = ifp_get_groups()
File “/opt/rockstor/src/rockstor/system/users.py”, line 312, in ifp_get_groups
ifp_groups[str(gpname)] = int(gpid)
UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\u017c’ in position 1: ordinal not in range(128)