Crème CRM
[Résolu] Erreur 500 après création d'un filtre société - Version imprimable

+- Crème CRM (https://www.cremecrm.com/forum)
+-- Forum : Utilisateurs (https://www.cremecrm.com/forum/forumdisplay.php?fid=5)
+--- Forum : Questions (https://www.cremecrm.com/forum/forumdisplay.php?fid=8)
+--- Sujet : [Résolu] Erreur 500 après création d'un filtre société (/showthread.php?tid=160)



[Résolu] Erreur 500 après création d'un filtre société - libresurf - 14-10-2020

Bonjour,


J'ai un problème d'erreur 500 après création d'un filtre de sociétés qui doit poser problème.

Voici les logs :

Code :
[Wed Oct 14 16:43:27.031550 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834] [2020-10-14 16:43:26] ERROR - django.request : Internal Server Error: /persons/organisations, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031577 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834] Traceback (most recent call last):, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031582 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031587 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     response = get_response(request), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031592 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/core/handlers/base.py", line 145, in _get_response, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031597 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     response = self.process_exception_by_middleware(e, request), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031601 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/core/handlers/base.py", line 143, in _get_response, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031606 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     response = response.render(), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031618 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/response.py", line 106, in render, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031623 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     self.content = self.rendered_content, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031627 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/response.py", line 83, in rendered_content, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031631 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     content = template.render(context, self._request), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031635 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/backends/django.py", line 61, in render, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031639 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     return self.template.render(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031645 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/base.py", line 171, in render, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031650 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     return self._render(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031654 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/base.py", line 163, in _render, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031658 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     return self.nodelist.render(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031662 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/base.py", line 937, in render, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031667 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     bit = node.render_annotated(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031671 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/base.py", line 904, in render_annotated, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031675 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     return self.render(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031679 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/loader_tags.py", line 150, in render, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031683 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     return compiled_parent._render(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031690 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/base.py", line 163, in _render, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031695 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     return self.nodelist.render(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031699 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/base.py", line 937, in render, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031703 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     bit = node.render_annotated(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031708 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/base.py", line 904, in render_annotated, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031712 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     return self.render(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031716 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/loader_tags.py", line 62, in render, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031720 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     result = block.nodelist.render(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031724 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/base.py", line 937, in render, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031728 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     bit = node.render_annotated(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031733 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/base.py", line 904, in render_annotated, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031737 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     return self.render(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031741 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/loader_tags.py", line 188, in render, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031745 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     return template.render(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031749 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/base.py", line 173, in render, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031753 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     return self._render(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031760 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/base.py", line 163, in _render, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031771 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     return self.nodelist.render(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031776 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/base.py", line 937, in render, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031780 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     bit = node.render_annotated(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031784 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/base.py", line 904, in render_annotated, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031789 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     return self.render(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031793 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/defaulttags.py", line 513, in render, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031797 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     return self.nodelist.render(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031801 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/base.py", line 937, in render, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031805 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     bit = node.render_annotated(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031809 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/base.py", line 904, in render_annotated, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031814 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     return self.render(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031818 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/loader_tags.py", line 53, in render, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031822 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     result = self.nodelist.render(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031826 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/base.py", line 937, in render, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031831 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     bit = node.render_annotated(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031837 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/base.py", line 904, in render_annotated, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031842 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     return self.render(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031846 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/library.py", line 234, in render, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031850 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     return t.render(new_context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031854 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/base.py", line 173, in render, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031859 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     return self._render(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031863 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/base.py", line 163, in _render, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031867 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     return self.nodelist.render(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031874 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/base.py", line 937, in render, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031879 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     bit = node.render_annotated(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031883 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/base.py", line 904, in render_annotated, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031887 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     return self.render(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031891 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/defaulttags.py", line 513, in render, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031895 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     return self.nodelist.render(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031900 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/base.py", line 937, in render, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031904 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     bit = node.render_annotated(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031911 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/base.py", line 904, in render_annotated, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031915 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     return self.render(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031919 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/defaulttags.py", line 309, in render, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031924 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     return nodelist.render(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031928 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/base.py", line 937, in render, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031932 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     bit = node.render_annotated(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031936 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/base.py", line 904, in render_annotated, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031940 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     return self.render(context), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031944 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/Envs/creme_2_1/lib/python3.7/site-packages/django/template/library.py", line 192, in render, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031949 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     output = self.func(*resolved_args, **resolved_kwargs), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031953 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/creme_crm-2.1/creme/creme_core/templatetags/creme_core_tags.py", line 360, in get_efilter_conditions, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031957 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     return [*efilter.get_verbose_conditions(user)], referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031965 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/creme_crm-2.1/creme/creme_core/models/entity_filter.py", line 724, in get_verbose_conditions, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031970 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     yield cond.description(user), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031974 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/creme_crm-2.1/creme/creme_core/models/entity_filter.py", line 1094, in description, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031979 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     return self.handler.description(user), referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031985 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/creme_crm-2.1/creme/creme_core/core/entity_filter/condition_handler.py", line 1281, in description, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031990 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     fmt_kwargs['entity'] = entity.allowed_str(user) if entity else '???', referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031994 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]   File "/srv/www/creme_crm-2.1/creme/creme_core/models/entity.py", line 152, in allowed_str, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.031998 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834]     return str(self) if user.has_perm_to_view(self) else \\, referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:27.032003 2020] [wsgi:error] [pid 573:tid 140059143563008] [client 10.0.0.1:35834] AttributeError: 'str' object has no attribute 'has_perm_to_view', referer: https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71
[Wed Oct 14 16:43:34.315992 2020] [wsgi:error] [pid 573:tid 140059990800128] [client 10.0.0.1:35838] [2020-10-14 16:43:34] WARNING - django.request : Not Found: /favicon.ico


Maintenant, il m'est impossible d'accéder à l'annuaire des sociétés sans obtenir la page d'erreur 500 !!!

Comment faire pour effacer ce filtre et revenir à un fonctionnement normal de CremeCRM ?


Merci à vous.

Dans les logs, il y a une adresse qui revient systématiquement : https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71

J'ai donc entré cette adresse dans mon navigateur pour modifier le filtre, mais au final, CremeCRM m'en a créé un nouveau.
J'arrive cependant maintenant à accéder de nouveau à l'annuaire des sociétés.

Dans la liste des filtres, j'ai sélectionné le filtre problématique et la vue est restée identique alors qu'elle aurait dû être mise à jour avec ce filtre ou ré-afficher le message d'erreur 500.

Ce n'est pas grave, j'ai demandé la suppression de ce filtre.
Ce filtre reste cependant dans la liste des filtres mais est sans effet (il affiche exactement la même chose que le filtre 'Tout').
Par contre maintenant, il n'est plus ni modifiable, ni supprimable.

Comment faire pour le supprimer définitivement ?


RE: Erreur 500 après création d'un filtre société - genglert - 14-10-2020

Bonsoir,

la version 2.1.8 sortie il y a une petite dizaine de jours corrige justement un crash avec certains filtres (nous sortons une version de correction environ tous les mois sur la version stable ; le fichier CHANGELOG.txt indiquant les corrections). Vous devriez dans un premier temps upgrader votre version pour voir si cela corrige votre souci -- à savoir que le filtre fonctionne (et dans la cas contraire nous indiquer quelles conditions vous aviez mis histoire de corriger le bug).

PS: l'URL "https://...creme_core/entity_filter/add/71"[url=https://crm.mon_serveur.fr:8443/creme_core/entity_filter/add/71][/url] est une vue de création, comme l'indique le "add" (le 71 étant l'ID du ContentType Société chez vous) ; la vue d'édition serait "https://...creme_core/entity_filter/edit/pk_de_mon_filtre" (voir le fichier creme/creme_core/urls.py si vous vous sentez capable de lire du Python).

Bonne soirée !


RE: Erreur 500 après création d'un filtre société - libresurf - 15-10-2020

(14-10-2020, 20:22)genglert a écrit : Bonsoir,

la version 2.1.8 sortie il y a une petite dizaine de jours corrige justement un crash avec certains filtres (nous sortons une version de correction environ tous les mois sur la version stable ; le fichier CHANGELOG.txt indiquant les corrections). Vous devriez dans un premier temps upgrader votre version pour voir si cela corrige votre souci -- à savoir que le filtre fonctionne (et dans la cas contraire nous indiquer quelles conditions vous aviez mis histoire de corriger le bug).

Merci genglert,

En effet, la mise à jour a corrigé le problème.

Maintenant le filtre problématique qui ne fonctionnait pas et qui était ni modifiable, ni supprimable, fonctionne de nouveau et est redevenu modifiable et supprimable.

Je marque le fil de discussion comme résolu. :-D


RE: [Résolu] Erreur 500 après création d'un filtre société - genglert - 15-10-2020

Citation :En effet, la mise à jour a corrigé le problème.

Ok très bien.

Une astuce que j'ai oublié de mentionner hier ; vous déconnecter (Menu principal Creme > Se déconnecter) puis vous reconnecter permet de créer une session toute neuve, et par exemple dans votre cas d'éviter que le filtre problématique soit sélectionné de base pour une vue de liste donnée.

Bonne fin de journée !