# Error when performing group searches after upgrading Indico

**URL:** <https://talk.getindico.io/t/error-when-performing-group-searches-after-upgrading-indico/2069>\
**Category:** Administrators\
**Created:** [January 7, 2021, 3:02pm UTC](https://talk.getindico.io/t/error-when-performing-group-searches-after-upgrading-indico/2069 "2021-01-07T15:02:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MichelangeloBottura](https://talk.getindico.io/user_avatar/talk.getindico.io/michelangelobottura/32/355_2.png) [@MichelangeloBottura](https://talk.getindico.io/u/MichelangeloBottura)\
**Post date:** [January 7, 2021, 3:02pm UTC](https://talk.getindico.io/t/error-when-performing-group-searches-after-upgrading-indico/2069/1 "2021-01-07T15:02:50Z")

</div>

After the upgrade described here

> [@Warnings/Errors after upgrading 2.18-\> 2.3.2](https://talk.getindico.io/t/warnings-errors-after-upgrading-2-18-2-3-2/2068/2):
>
> For the ASSETS\_DIR warning you can just remove that obsolete entry from your indico.conf. Not sure where urllib3 1.22 is coming from… that’s a pretty old version. Maybe time to update some more stuff… pip install -U pip setuptools and pip install 'urllib3==1.25.11'.

users report the following error when performing a group search (provider LDAP)

```
TypeError: __init__ () got an unexpected keyword argument 'bytes_mode'

```

any advice?

---

<div class="post-metadata">

**Author:** ![ThiefMaster](https://talk.getindico.io/user_avatar/talk.getindico.io/thiefmaster/32/509_2.png) [@ThiefMaster](https://talk.getindico.io/u/ThiefMaster)\
**Post date:** [January 7, 2021, 3:04pm UTC](https://talk.getindico.io/t/error-when-performing-group-searches-after-upgrading-indico/2069/2 "2021-01-07T15:04:30Z")

</div>

outdated python-ldap. `pip install -U python-ldap` or `pip install flask-multipass[ldap]`

---

<div class="post-metadata">

**Author:** ![MichelangeloBottura](https://talk.getindico.io/user_avatar/talk.getindico.io/michelangelobottura/32/355_2.png) [@MichelangeloBottura](https://talk.getindico.io/u/MichelangeloBottura)\
**Post date:** [January 7, 2021, 3:11pm UTC](https://talk.getindico.io/t/error-when-performing-group-searches-after-upgrading-indico/2069/3 "2021-01-07T15:11:47Z")

</div>

Updated python-LDAP (flask-multipass[ldap] dependency was already satisfied), now the search works.  
Thank you!
