awesto / django-shop

A Django based shop system
http://www.django-shop.org
BSD 3-Clause "New" or "Revised" License
3.17k stars 1.04k forks source link

No exception message supplied at update_search_index, line 360 #828

Closed sofzer closed 3 years ago

sofzer commented 3 years ago

While I was trying to update a product, I got the following message:StopIteration at /de/admin/my_shop/product/1/change/ coming from: python3.6/site-packages/shop/models/product.py in update_search_index, line 360

Did anyone have the same issue?

PS: I am not using Elasticsearch and didn't added during the setup

sofzer commented 3 years ago

Solved that by removing: SearchProductIndexMixin class from Admin models While Elasticsearch is not used it's normal to have this problem from the initialized demo app, so it fits a general setup and not a specific one.