crash during imoprting CSV file

Issue #116 resolved
created an issue

The script from iRedMail 0.9.7 return the following error when I try to import CSV file:

Traceback (most recent call last): File "./", line 300, in <module> ldif_writer.unparse(dn, data) File "/usr/lib/python2.7/dist-packages/", line 201, in unparse self._unparseChangeRecord(record) File "/usr/lib/python2.7/dist-packages/", line 180, in _unparseChangeRecord self._unparseAttrTypeandValue(mod_type,mod_val) File "/usr/lib/python2.7/dist-packages/", line 139, in _unparseAttrTypeandValue if self._needs_base64_encoding(attr_type,attr_value): File "/usr/lib/python2.7/dist-packages/", line 128, in _needs_base64_encoding not is None TypeError: expected string or buffer

The generated ldif file contain only the first user.

There no problem to import the same CSV file with from iRedMail 0.9.6 on the same server.

Comments (3)

  1. Log in to comment