Projet

Général

Profil

Bug #28638 » lazyfield-no-split.txt

Thomas Noël, 05 décembre 2018 15:08

 
1
Exception:
2
  type = '<type 'exceptions.AttributeError'>', value = ''LazyFieldVar' object has no attribute 'split''
3

    
4
Stack trace (most recent call first):
5
  File "/home/thomas/dev/publik/src/wcs/wcs/qommon/templatetags/qommon.py", line 40, in split
6
    38 @register.filter
7
    39 def split(string, separator=' '):
8
>   40     return (string or '').split(separator)
9
    41 
10
    42 @register.filter
11

    
12
  locals: 
13
     separator = u';'
14
     string = <wcs.variables.LazyFieldVar object at 0x7f1728310050>
15

    
16
  File "/home/thomas/dev/publik/venv/lib/python2.7/site-packages/django/template/base.py", line 675, in resolve
17
   673                 new_obj = func(obj, autoescape=context.autoescape, *arg_vals)
18
   674             else:
19
>  675                 new_obj = func(obj, *arg_vals)
20
   676             if getattr(func, 'is_safe', False) and isinstance(obj, SafeData):
21
   677                 obj = mark_safe(new_obj)
22

    
23
  locals: 
24
     arg = u';'
25
     arg_vals = [u';']
26
     args = [(False, u';')]
27
     context = [{'False': False, 'None': None, 'True': True}, {'session_user_field_adresse_electronique': 'tnoel+publik-devinst@entrouvert.com', 'session_user_backoffice_access': True, 'site_name': 'D\xc3\xa9marches', 'session_user_name_identifier_0': 'c28e3f33def248dd9198a22a8627ec44', 'global_title': 'D\xc3\xa9marche en ligne', 'env_settings_file': '/home/thomas/dev/publik/venv/conf/wcs_settings.py', 'statistics_url': 'https://bijoe.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_zipcode': '', 'idp_account_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/accounts/', 'session_user': <SqlUser 'Administrateur Publik' id:1>, 'favicon': 'blois-2019/img/favicon.ico', 'links': <function print_links at 0x7f172825bc80>, 'session_user_email': 'tnoel+publik-devinst@entrouvert.com', 'session_id': '9602a1d1807c0031', 'hobo_url': 'https://hobo.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_city': '', 'passerelle_url': 'https://passerelle.publik-tnoel.ddns.entrouvert.org/', 'session_user_field_civilite': 'Monsieur', 'attachments': <wcs.workflows.AttachmentsSubstitutionProxy object at 0x7f17282473d0>, 'portal_agent_title': 'Portail Agent', 'session_user_f_email': 'tnoel+publik-devinst@entrouvert.com', 'session_user_field_nom': 'Publik', 'script': <wcs.scripts.ScriptsSubstitutionProxy object at 0x7f1728247a90>, 'session_user_field_prenom': 'Administrateur', 'category_description': None, 'portal_agent_url': 'https://agent-combo.publik-tnoel.ddns.entrouvert.org/', 'no_extra_js': 'True', 'portal_user_title': 'Portail', 'portal_url': 'https://combo.publik-tnoel.ddns.entrouvert.org/', 'site_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org', 'category_name': 'tests', 'theme': 'auch', 'session_user_f_mobile': '', 'session_user_field_code_postal': '', 'category_id': 'tests', 'today': '05/12/2018', 'header_welcome': '<h2>Bienvenue</h2>\n<p>Lorem ...</p>', 'agendas_url': 'https://chrono.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_email': 'tnoel+publik-devinst@entrouvert.com', 'session_user_display_name': 'Administrateur Publik', 'session_user_var_mobile': '', 'form': <wcs.variables.LazyFormData object at 0x7f1728247610>, 'category_slug': 'tests', 'manager_homepage_url': 'https://agent-combo.publik-tnoel.ddns.entrouvert.org/', 'webservice': <wcs.wscalls.WsCallsSubstitutionProxy object at 0x7f17282474d0>, 'session_user_field_commune': '', 'session_user_f_city': '', 'session_user_var_address': '', 'session_user_var_last_name': 'Publik', 'session_user_f_zipcode': '', 'session_user_f_address': '', 'session_user_field_adresse': '', 'session_user_f_phone': '', 'session_user_f_first_name': 'Administrateur', 'porte_doc_url': 'https://fargo.publik-tnoel.ddns.entrouvert.org/', 'now': '05/12/2018 15:04', 'announces_url': 'https://corbo.publik-tnoel.ddns.entrouvert.org/', 'theme_color': '#B3B18C', 'manager_homepage_title': 'Portail Agent', 'apa_users_grid': '', 'data_source': <wcs.data_sources.DataSourcesSubstitutionProxy object at 0x7f17282f9e50>, 'idp_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/', 'portal_user_url': 'https://combo.publik-tnoel.ddns.entrouvert.org/', 'session_user_admin_access': True, 'css_variant': 'auch', 'site_lang': 'fr', 'idp_registration_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/accounts/register/', 'services_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_title': 'Monsieur', 'site_url_backoffice': 'https://wcs.publik-tnoel.ddns.entrouvert.org/backoffice', 'session_user_var_first_name': 'Administrateur', 'eservices_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org/', 'is_in_backoffice': False, 'session_user_f_title': 'Monsieur', 'site_theme': 'publik-base', 'session_user_field_mobile': '', 'session_user_var_phone': '', 'session_user_f_last_name': 'Publik', 'session_user_field_telephone': '', 'accueil_url': 'https://welco.publik-tnoel.ddns.entrouvert.org/'}]
28
     func = <function split at 0x7f1728341ed8>
29
     ignore_failures = False
30
     lookup = False
31
     obj = <wcs.variables.LazyFieldVar object at 0x7f1728310050>
32
     self = <django.template.base.FilterExpression object at 0x7f172822b0d0>
33

    
34
  File "/home/thomas/dev/publik/venv/lib/python2.7/site-packages/django/template/debug.py", line 98, in render
35
    96             if not hasattr(e, 'django_template_source'):
36
    97                 e.django_template_source = self.source
37
>   98             raise
38
    99         if (context.autoescape and not isinstance(output, SafeData)) or isinstance(output, EscapeData):
39
   100             return conditional_escape(output)
40

    
41
  locals: 
42
     context = [{'False': False, 'None': None, 'True': True}, {'session_user_field_adresse_electronique': 'tnoel+publik-devinst@entrouvert.com', 'session_user_backoffice_access': True, 'site_name': 'D\xc3\xa9marches', 'session_user_name_identifier_0': 'c28e3f33def248dd9198a22a8627ec44', 'global_title': 'D\xc3\xa9marche en ligne', 'env_settings_file': '/home/thomas/dev/publik/venv/conf/wcs_settings.py', 'statistics_url': 'https://bijoe.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_zipcode': '', 'idp_account_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/accounts/', 'session_user': <SqlUser 'Administrateur Publik' id:1>, 'favicon': 'blois-2019/img/favicon.ico', 'links': <function print_links at 0x7f172825bc80>, 'session_user_email': 'tnoel+publik-devinst@entrouvert.com', 'session_id': '9602a1d1807c0031', 'hobo_url': 'https://hobo.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_city': '', 'passerelle_url': 'https://passerelle.publik-tnoel.ddns.entrouvert.org/', 'session_user_field_civilite': 'Monsieur', 'attachments': <wcs.workflows.AttachmentsSubstitutionProxy object at 0x7f17282473d0>, 'portal_agent_title': 'Portail Agent', 'session_user_f_email': 'tnoel+publik-devinst@entrouvert.com', 'session_user_field_nom': 'Publik', 'script': <wcs.scripts.ScriptsSubstitutionProxy object at 0x7f1728247a90>, 'session_user_field_prenom': 'Administrateur', 'category_description': None, 'portal_agent_url': 'https://agent-combo.publik-tnoel.ddns.entrouvert.org/', 'no_extra_js': 'True', 'portal_user_title': 'Portail', 'portal_url': 'https://combo.publik-tnoel.ddns.entrouvert.org/', 'site_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org', 'category_name': 'tests', 'theme': 'auch', 'session_user_f_mobile': '', 'session_user_field_code_postal': '', 'category_id': 'tests', 'today': '05/12/2018', 'header_welcome': '<h2>Bienvenue</h2>\n<p>Lorem ...</p>', 'agendas_url': 'https://chrono.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_email': 'tnoel+publik-devinst@entrouvert.com', 'session_user_display_name': 'Administrateur Publik', 'session_user_var_mobile': '', 'form': <wcs.variables.LazyFormData object at 0x7f1728247610>, 'category_slug': 'tests', 'manager_homepage_url': 'https://agent-combo.publik-tnoel.ddns.entrouvert.org/', 'webservice': <wcs.wscalls.WsCallsSubstitutionProxy object at 0x7f17282474d0>, 'session_user_field_commune': '', 'session_user_f_city': '', 'session_user_var_address': '', 'session_user_var_last_name': 'Publik', 'session_user_f_zipcode': '', 'session_user_f_address': '', 'session_user_field_adresse': '', 'session_user_f_phone': '', 'session_user_f_first_name': 'Administrateur', 'porte_doc_url': 'https://fargo.publik-tnoel.ddns.entrouvert.org/', 'now': '05/12/2018 15:04', 'announces_url': 'https://corbo.publik-tnoel.ddns.entrouvert.org/', 'theme_color': '#B3B18C', 'manager_homepage_title': 'Portail Agent', 'apa_users_grid': '', 'data_source': <wcs.data_sources.DataSourcesSubstitutionProxy object at 0x7f17282f9e50>, 'idp_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/', 'portal_user_url': 'https://combo.publik-tnoel.ddns.entrouvert.org/', 'session_user_admin_access': True, 'css_variant': 'auch', 'site_lang': 'fr', 'idp_registration_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/accounts/register/', 'services_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_title': 'Monsieur', 'site_url_backoffice': 'https://wcs.publik-tnoel.ddns.entrouvert.org/backoffice', 'session_user_var_first_name': 'Administrateur', 'eservices_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org/', 'is_in_backoffice': False, 'session_user_f_title': 'Monsieur', 'site_theme': 'publik-base', 'session_user_field_mobile': '', 'session_user_var_phone': '', 'session_user_f_last_name': 'Publik', 'session_user_field_telephone': '', 'accueil_url': 'https://welco.publik-tnoel.ddns.entrouvert.org/'}]
43
     e = AttributeError("'LazyFieldVar' object has no attribute 'split'",)
44
     self = <Variable Node: form_var_map|split:";"|last>
45

    
46
  File "/home/thomas/dev/publik/venv/lib/python2.7/site-packages/django/template/debug.py", line 83, in render_node
47
    81             if not hasattr(e, 'django_template_source'):
48
    82                 e.django_template_source = node.source
49
>   83             raise
50
    84 
51
    85 
52

    
53
  locals: 
54
     context = [{'False': False, 'None': None, 'True': True}, {'session_user_field_adresse_electronique': 'tnoel+publik-devinst@entrouvert.com', 'session_user_backoffice_access': True, 'site_name': 'D\xc3\xa9marches', 'session_user_name_identifier_0': 'c28e3f33def248dd9198a22a8627ec44', 'global_title': 'D\xc3\xa9marche en ligne', 'env_settings_file': '/home/thomas/dev/publik/venv/conf/wcs_settings.py', 'statistics_url': 'https://bijoe.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_zipcode': '', 'idp_account_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/accounts/', 'session_user': <SqlUser 'Administrateur Publik' id:1>, 'favicon': 'blois-2019/img/favicon.ico', 'links': <function print_links at 0x7f172825bc80>, 'session_user_email': 'tnoel+publik-devinst@entrouvert.com', 'session_id': '9602a1d1807c0031', 'hobo_url': 'https://hobo.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_city': '', 'passerelle_url': 'https://passerelle.publik-tnoel.ddns.entrouvert.org/', 'session_user_field_civilite': 'Monsieur', 'attachments': <wcs.workflows.AttachmentsSubstitutionProxy object at 0x7f17282473d0>, 'portal_agent_title': 'Portail Agent', 'session_user_f_email': 'tnoel+publik-devinst@entrouvert.com', 'session_user_field_nom': 'Publik', 'script': <wcs.scripts.ScriptsSubstitutionProxy object at 0x7f1728247a90>, 'session_user_field_prenom': 'Administrateur', 'category_description': None, 'portal_agent_url': 'https://agent-combo.publik-tnoel.ddns.entrouvert.org/', 'no_extra_js': 'True', 'portal_user_title': 'Portail', 'portal_url': 'https://combo.publik-tnoel.ddns.entrouvert.org/', 'site_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org', 'category_name': 'tests', 'theme': 'auch', 'session_user_f_mobile': '', 'session_user_field_code_postal': '', 'category_id': 'tests', 'today': '05/12/2018', 'header_welcome': '<h2>Bienvenue</h2>\n<p>Lorem ...</p>', 'agendas_url': 'https://chrono.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_email': 'tnoel+publik-devinst@entrouvert.com', 'session_user_display_name': 'Administrateur Publik', 'session_user_var_mobile': '', 'form': <wcs.variables.LazyFormData object at 0x7f1728247610>, 'category_slug': 'tests', 'manager_homepage_url': 'https://agent-combo.publik-tnoel.ddns.entrouvert.org/', 'webservice': <wcs.wscalls.WsCallsSubstitutionProxy object at 0x7f17282474d0>, 'session_user_field_commune': '', 'session_user_f_city': '', 'session_user_var_address': '', 'session_user_var_last_name': 'Publik', 'session_user_f_zipcode': '', 'session_user_f_address': '', 'session_user_field_adresse': '', 'session_user_f_phone': '', 'session_user_f_first_name': 'Administrateur', 'porte_doc_url': 'https://fargo.publik-tnoel.ddns.entrouvert.org/', 'now': '05/12/2018 15:04', 'announces_url': 'https://corbo.publik-tnoel.ddns.entrouvert.org/', 'theme_color': '#B3B18C', 'manager_homepage_title': 'Portail Agent', 'apa_users_grid': '', 'data_source': <wcs.data_sources.DataSourcesSubstitutionProxy object at 0x7f17282f9e50>, 'idp_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/', 'portal_user_url': 'https://combo.publik-tnoel.ddns.entrouvert.org/', 'session_user_admin_access': True, 'css_variant': 'auch', 'site_lang': 'fr', 'idp_registration_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/accounts/register/', 'services_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_title': 'Monsieur', 'site_url_backoffice': 'https://wcs.publik-tnoel.ddns.entrouvert.org/backoffice', 'session_user_var_first_name': 'Administrateur', 'eservices_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org/', 'is_in_backoffice': False, 'session_user_f_title': 'Monsieur', 'site_theme': 'publik-base', 'session_user_field_mobile': '', 'session_user_var_phone': '', 'session_user_f_last_name': 'Publik', 'session_user_field_telephone': '', 'accueil_url': 'https://welco.publik-tnoel.ddns.entrouvert.org/'}]
55
     e = AttributeError("'LazyFieldVar' object has no attribute 'split'",)
56
     node = <Variable Node: form_var_map|split:";"|last>
57
     self = [<django.template.defaulttags.LoadNode object at 0x7f172822ba50>, <Text Node: 'https://passerelle.publik'>, <Variable Node: form_var_map|split:";"|last>, <Text Node: '&ok=ko'>]
58

    
59
  File "/home/thomas/dev/publik/venv/lib/python2.7/site-packages/django/template/base.py", line 905, in render
60
   903         for node in self:
61
   904             if isinstance(node, Node):
62
>  905                 bit = self.render_node(node, context)
63
   906             else:
64
   907                 bit = node
65

    
66
  locals: 
67
     bit = u'https://passerelle.publik-tnoel.ddns.entrouvert.org/csvdatasource/test/data?q=ache&coord='
68
     bits = [u'', u'https://passerelle.publik-tnoel.ddns.entrouvert.org/csvdatasource/test/data?q=ache&coord=']
69
     context = [{'False': False, 'None': None, 'True': True}, {'session_user_field_adresse_electronique': 'tnoel+publik-devinst@entrouvert.com', 'session_user_backoffice_access': True, 'site_name': 'D\xc3\xa9marches', 'session_user_name_identifier_0': 'c28e3f33def248dd9198a22a8627ec44', 'global_title': 'D\xc3\xa9marche en ligne', 'env_settings_file': '/home/thomas/dev/publik/venv/conf/wcs_settings.py', 'statistics_url': 'https://bijoe.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_zipcode': '', 'idp_account_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/accounts/', 'session_user': <SqlUser 'Administrateur Publik' id:1>, 'favicon': 'blois-2019/img/favicon.ico', 'links': <function print_links at 0x7f172825bc80>, 'session_user_email': 'tnoel+publik-devinst@entrouvert.com', 'session_id': '9602a1d1807c0031', 'hobo_url': 'https://hobo.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_city': '', 'passerelle_url': 'https://passerelle.publik-tnoel.ddns.entrouvert.org/', 'session_user_field_civilite': 'Monsieur', 'attachments': <wcs.workflows.AttachmentsSubstitutionProxy object at 0x7f17282473d0>, 'portal_agent_title': 'Portail Agent', 'session_user_f_email': 'tnoel+publik-devinst@entrouvert.com', 'session_user_field_nom': 'Publik', 'script': <wcs.scripts.ScriptsSubstitutionProxy object at 0x7f1728247a90>, 'session_user_field_prenom': 'Administrateur', 'category_description': None, 'portal_agent_url': 'https://agent-combo.publik-tnoel.ddns.entrouvert.org/', 'no_extra_js': 'True', 'portal_user_title': 'Portail', 'portal_url': 'https://combo.publik-tnoel.ddns.entrouvert.org/', 'site_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org', 'category_name': 'tests', 'theme': 'auch', 'session_user_f_mobile': '', 'session_user_field_code_postal': '', 'category_id': 'tests', 'today': '05/12/2018', 'header_welcome': '<h2>Bienvenue</h2>\n<p>Lorem ...</p>', 'agendas_url': 'https://chrono.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_email': 'tnoel+publik-devinst@entrouvert.com', 'session_user_display_name': 'Administrateur Publik', 'session_user_var_mobile': '', 'form': <wcs.variables.LazyFormData object at 0x7f1728247610>, 'category_slug': 'tests', 'manager_homepage_url': 'https://agent-combo.publik-tnoel.ddns.entrouvert.org/', 'webservice': <wcs.wscalls.WsCallsSubstitutionProxy object at 0x7f17282474d0>, 'session_user_field_commune': '', 'session_user_f_city': '', 'session_user_var_address': '', 'session_user_var_last_name': 'Publik', 'session_user_f_zipcode': '', 'session_user_f_address': '', 'session_user_field_adresse': '', 'session_user_f_phone': '', 'session_user_f_first_name': 'Administrateur', 'porte_doc_url': 'https://fargo.publik-tnoel.ddns.entrouvert.org/', 'now': '05/12/2018 15:04', 'announces_url': 'https://corbo.publik-tnoel.ddns.entrouvert.org/', 'theme_color': '#B3B18C', 'manager_homepage_title': 'Portail Agent', 'apa_users_grid': '', 'data_source': <wcs.data_sources.DataSourcesSubstitutionProxy object at 0x7f17282f9e50>, 'idp_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/', 'portal_user_url': 'https://combo.publik-tnoel.ddns.entrouvert.org/', 'session_user_admin_access': True, 'css_variant': 'auch', 'site_lang': 'fr', 'idp_registration_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/accounts/register/', 'services_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_title': 'Monsieur', 'site_url_backoffice': 'https://wcs.publik-tnoel.ddns.entrouvert.org/backoffice', 'session_user_var_first_name': 'Administrateur', 'eservices_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org/', 'is_in_backoffice': False, 'session_user_f_title': 'Monsieur', 'site_theme': 'publik-base', 'session_user_field_mobile': '', 'session_user_var_phone': '', 'session_user_f_last_name': 'Publik', 'session_user_field_telephone': '', 'accueil_url': 'https://welco.publik-tnoel.ddns.entrouvert.org/'}]
70
     node = <Variable Node: form_var_map|split:";"|last>
71
     self = [<django.template.defaulttags.LoadNode object at 0x7f172822ba50>, <Text Node: 'https://passerelle.publik'>, <Variable Node: form_var_map|split:";"|last>, <Text Node: '&ok=ko'>]
72

    
73
  File "/home/thomas/dev/publik/venv/lib/python2.7/site-packages/django/template/base.py", line 202, in _render
74
   200 
75
   201     def _render(self, context):
76
>  202         return self.nodelist.render(context)
77
   203 
78
   204     def render(self, context):
79

    
80
  locals: 
81
     context = [{'False': False, 'None': None, 'True': True}, {'session_user_field_adresse_electronique': 'tnoel+publik-devinst@entrouvert.com', 'session_user_backoffice_access': True, 'site_name': 'D\xc3\xa9marches', 'session_user_name_identifier_0': 'c28e3f33def248dd9198a22a8627ec44', 'global_title': 'D\xc3\xa9marche en ligne', 'env_settings_file': '/home/thomas/dev/publik/venv/conf/wcs_settings.py', 'statistics_url': 'https://bijoe.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_zipcode': '', 'idp_account_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/accounts/', 'session_user': <SqlUser 'Administrateur Publik' id:1>, 'favicon': 'blois-2019/img/favicon.ico', 'links': <function print_links at 0x7f172825bc80>, 'session_user_email': 'tnoel+publik-devinst@entrouvert.com', 'session_id': '9602a1d1807c0031', 'hobo_url': 'https://hobo.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_city': '', 'passerelle_url': 'https://passerelle.publik-tnoel.ddns.entrouvert.org/', 'session_user_field_civilite': 'Monsieur', 'attachments': <wcs.workflows.AttachmentsSubstitutionProxy object at 0x7f17282473d0>, 'portal_agent_title': 'Portail Agent', 'session_user_f_email': 'tnoel+publik-devinst@entrouvert.com', 'session_user_field_nom': 'Publik', 'script': <wcs.scripts.ScriptsSubstitutionProxy object at 0x7f1728247a90>, 'session_user_field_prenom': 'Administrateur', 'category_description': None, 'portal_agent_url': 'https://agent-combo.publik-tnoel.ddns.entrouvert.org/', 'no_extra_js': 'True', 'portal_user_title': 'Portail', 'portal_url': 'https://combo.publik-tnoel.ddns.entrouvert.org/', 'site_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org', 'category_name': 'tests', 'theme': 'auch', 'session_user_f_mobile': '', 'session_user_field_code_postal': '', 'category_id': 'tests', 'today': '05/12/2018', 'header_welcome': '<h2>Bienvenue</h2>\n<p>Lorem ...</p>', 'agendas_url': 'https://chrono.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_email': 'tnoel+publik-devinst@entrouvert.com', 'session_user_display_name': 'Administrateur Publik', 'session_user_var_mobile': '', 'form': <wcs.variables.LazyFormData object at 0x7f1728247610>, 'category_slug': 'tests', 'manager_homepage_url': 'https://agent-combo.publik-tnoel.ddns.entrouvert.org/', 'webservice': <wcs.wscalls.WsCallsSubstitutionProxy object at 0x7f17282474d0>, 'session_user_field_commune': '', 'session_user_f_city': '', 'session_user_var_address': '', 'session_user_var_last_name': 'Publik', 'session_user_f_zipcode': '', 'session_user_f_address': '', 'session_user_field_adresse': '', 'session_user_f_phone': '', 'session_user_f_first_name': 'Administrateur', 'porte_doc_url': 'https://fargo.publik-tnoel.ddns.entrouvert.org/', 'now': '05/12/2018 15:04', 'announces_url': 'https://corbo.publik-tnoel.ddns.entrouvert.org/', 'theme_color': '#B3B18C', 'manager_homepage_title': 'Portail Agent', 'apa_users_grid': '', 'data_source': <wcs.data_sources.DataSourcesSubstitutionProxy object at 0x7f17282f9e50>, 'idp_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/', 'portal_user_url': 'https://combo.publik-tnoel.ddns.entrouvert.org/', 'session_user_admin_access': True, 'css_variant': 'auch', 'site_lang': 'fr', 'idp_registration_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/accounts/register/', 'services_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_title': 'Monsieur', 'site_url_backoffice': 'https://wcs.publik-tnoel.ddns.entrouvert.org/backoffice', 'session_user_var_first_name': 'Administrateur', 'eservices_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org/', 'is_in_backoffice': False, 'session_user_f_title': 'Monsieur', 'site_theme': 'publik-base', 'session_user_field_mobile': '', 'session_user_var_phone': '', 'session_user_f_last_name': 'Publik', 'session_user_field_telephone': '', 'accueil_url': 'https://welco.publik-tnoel.ddns.entrouvert.org/'}]
82
     self = <django.template.base.Template object at 0x7f17282f9450>
83

    
84
  File "/home/thomas/dev/publik/venv/lib/python2.7/site-packages/django/template/base.py", line 214, in render
85
   212                 return self._render(context)
86
   213         finally:
87
>  214             context.render_context.pop()
88
   215 
89
   216 
90

    
91
  locals: 
92
     context = [{'False': False, 'None': None, 'True': True}, {'session_user_field_adresse_electronique': 'tnoel+publik-devinst@entrouvert.com', 'session_user_backoffice_access': True, 'site_name': 'D\xc3\xa9marches', 'session_user_name_identifier_0': 'c28e3f33def248dd9198a22a8627ec44', 'global_title': 'D\xc3\xa9marche en ligne', 'env_settings_file': '/home/thomas/dev/publik/venv/conf/wcs_settings.py', 'statistics_url': 'https://bijoe.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_zipcode': '', 'idp_account_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/accounts/', 'session_user': <SqlUser 'Administrateur Publik' id:1>, 'favicon': 'blois-2019/img/favicon.ico', 'links': <function print_links at 0x7f172825bc80>, 'session_user_email': 'tnoel+publik-devinst@entrouvert.com', 'session_id': '9602a1d1807c0031', 'hobo_url': 'https://hobo.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_city': '', 'passerelle_url': 'https://passerelle.publik-tnoel.ddns.entrouvert.org/', 'session_user_field_civilite': 'Monsieur', 'attachments': <wcs.workflows.AttachmentsSubstitutionProxy object at 0x7f17282473d0>, 'portal_agent_title': 'Portail Agent', 'session_user_f_email': 'tnoel+publik-devinst@entrouvert.com', 'session_user_field_nom': 'Publik', 'script': <wcs.scripts.ScriptsSubstitutionProxy object at 0x7f1728247a90>, 'session_user_field_prenom': 'Administrateur', 'category_description': None, 'portal_agent_url': 'https://agent-combo.publik-tnoel.ddns.entrouvert.org/', 'no_extra_js': 'True', 'portal_user_title': 'Portail', 'portal_url': 'https://combo.publik-tnoel.ddns.entrouvert.org/', 'site_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org', 'category_name': 'tests', 'theme': 'auch', 'session_user_f_mobile': '', 'session_user_field_code_postal': '', 'category_id': 'tests', 'today': '05/12/2018', 'header_welcome': '<h2>Bienvenue</h2>\n<p>Lorem ...</p>', 'agendas_url': 'https://chrono.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_email': 'tnoel+publik-devinst@entrouvert.com', 'session_user_display_name': 'Administrateur Publik', 'session_user_var_mobile': '', 'form': <wcs.variables.LazyFormData object at 0x7f1728247610>, 'category_slug': 'tests', 'manager_homepage_url': 'https://agent-combo.publik-tnoel.ddns.entrouvert.org/', 'webservice': <wcs.wscalls.WsCallsSubstitutionProxy object at 0x7f17282474d0>, 'session_user_field_commune': '', 'session_user_f_city': '', 'session_user_var_address': '', 'session_user_var_last_name': 'Publik', 'session_user_f_zipcode': '', 'session_user_f_address': '', 'session_user_field_adresse': '', 'session_user_f_phone': '', 'session_user_f_first_name': 'Administrateur', 'porte_doc_url': 'https://fargo.publik-tnoel.ddns.entrouvert.org/', 'now': '05/12/2018 15:04', 'announces_url': 'https://corbo.publik-tnoel.ddns.entrouvert.org/', 'theme_color': '#B3B18C', 'manager_homepage_title': 'Portail Agent', 'apa_users_grid': '', 'data_source': <wcs.data_sources.DataSourcesSubstitutionProxy object at 0x7f17282f9e50>, 'idp_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/', 'portal_user_url': 'https://combo.publik-tnoel.ddns.entrouvert.org/', 'session_user_admin_access': True, 'css_variant': 'auch', 'site_lang': 'fr', 'idp_registration_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/accounts/register/', 'services_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_title': 'Monsieur', 'site_url_backoffice': 'https://wcs.publik-tnoel.ddns.entrouvert.org/backoffice', 'session_user_var_first_name': 'Administrateur', 'eservices_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org/', 'is_in_backoffice': False, 'session_user_f_title': 'Monsieur', 'site_theme': 'publik-base', 'session_user_field_mobile': '', 'session_user_var_phone': '', 'session_user_f_last_name': 'Publik', 'session_user_field_telephone': '', 'accueil_url': 'https://welco.publik-tnoel.ddns.entrouvert.org/'}]
93
     self = <django.template.base.Template object at 0x7f17282f9450>
94

    
95
  File "/home/thomas/dev/publik/venv/lib/python2.7/site-packages/django/template/backends/django.py", line 74, in render
96
    72             context = make_context(context, request)
97
    73 
98
>   74         return self.template.render(context)
99

    
100
  locals: 
101
     context = [{'False': False, 'None': None, 'True': True}, {'session_user_field_adresse_electronique': 'tnoel+publik-devinst@entrouvert.com', 'session_user_backoffice_access': True, 'site_name': 'D\xc3\xa9marches', 'session_user_name_identifier_0': 'c28e3f33def248dd9198a22a8627ec44', 'global_title': 'D\xc3\xa9marche en ligne', 'env_settings_file': '/home/thomas/dev/publik/venv/conf/wcs_settings.py', 'statistics_url': 'https://bijoe.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_zipcode': '', 'idp_account_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/accounts/', 'session_user': <SqlUser 'Administrateur Publik' id:1>, 'favicon': 'blois-2019/img/favicon.ico', 'links': <function print_links at 0x7f172825bc80>, 'session_user_email': 'tnoel+publik-devinst@entrouvert.com', 'session_id': '9602a1d1807c0031', 'hobo_url': 'https://hobo.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_city': '', 'passerelle_url': 'https://passerelle.publik-tnoel.ddns.entrouvert.org/', 'session_user_field_civilite': 'Monsieur', 'attachments': <wcs.workflows.AttachmentsSubstitutionProxy object at 0x7f17282473d0>, 'portal_agent_title': 'Portail Agent', 'session_user_f_email': 'tnoel+publik-devinst@entrouvert.com', 'session_user_field_nom': 'Publik', 'script': <wcs.scripts.ScriptsSubstitutionProxy object at 0x7f1728247a90>, 'session_user_field_prenom': 'Administrateur', 'category_description': None, 'portal_agent_url': 'https://agent-combo.publik-tnoel.ddns.entrouvert.org/', 'no_extra_js': 'True', 'portal_user_title': 'Portail', 'portal_url': 'https://combo.publik-tnoel.ddns.entrouvert.org/', 'site_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org', 'category_name': 'tests', 'theme': 'auch', 'session_user_f_mobile': '', 'session_user_field_code_postal': '', 'category_id': 'tests', 'today': '05/12/2018', 'header_welcome': '<h2>Bienvenue</h2>\n<p>Lorem ...</p>', 'agendas_url': 'https://chrono.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_email': 'tnoel+publik-devinst@entrouvert.com', 'session_user_display_name': 'Administrateur Publik', 'session_user_var_mobile': '', 'form': <wcs.variables.LazyFormData object at 0x7f1728247610>, 'category_slug': 'tests', 'manager_homepage_url': 'https://agent-combo.publik-tnoel.ddns.entrouvert.org/', 'webservice': <wcs.wscalls.WsCallsSubstitutionProxy object at 0x7f17282474d0>, 'session_user_field_commune': '', 'session_user_f_city': '', 'session_user_var_address': '', 'session_user_var_last_name': 'Publik', 'session_user_f_zipcode': '', 'session_user_f_address': '', 'session_user_field_adresse': '', 'session_user_f_phone': '', 'session_user_f_first_name': 'Administrateur', 'porte_doc_url': 'https://fargo.publik-tnoel.ddns.entrouvert.org/', 'now': '05/12/2018 15:04', 'announces_url': 'https://corbo.publik-tnoel.ddns.entrouvert.org/', 'theme_color': '#B3B18C', 'manager_homepage_title': 'Portail Agent', 'apa_users_grid': '', 'data_source': <wcs.data_sources.DataSourcesSubstitutionProxy object at 0x7f17282f9e50>, 'idp_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/', 'portal_user_url': 'https://combo.publik-tnoel.ddns.entrouvert.org/', 'session_user_admin_access': True, 'css_variant': 'auch', 'site_lang': 'fr', 'idp_registration_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/accounts/register/', 'services_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_title': 'Monsieur', 'site_url_backoffice': 'https://wcs.publik-tnoel.ddns.entrouvert.org/backoffice', 'session_user_var_first_name': 'Administrateur', 'eservices_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org/', 'is_in_backoffice': False, 'session_user_f_title': 'Monsieur', 'site_theme': 'publik-base', 'session_user_field_mobile': '', 'session_user_var_phone': '', 'session_user_f_last_name': 'Publik', 'session_user_field_telephone': '', 'accueil_url': 'https://welco.publik-tnoel.ddns.entrouvert.org/'}]
102
     request = None
103
     self = <django.template.backends.django.Template object at 0x7f172822b790>
104

    
105
  File "/home/thomas/dev/publik/src/wcs/wcs/qommon/template.py", line 513, in django_render
106
   511                 raise TemplateError(_('failure to render Django template: %s'), e)
107
   512             else:
108
>  513                 return self.value
109
   514         return rendered.encode(get_publisher().site_charset)
110
   515 
111

    
112
  locals: 
113
     context = {'session_user_field_adresse_electronique': 'tnoel+publik-devinst@entrouvert.com', 'session_user_backoffice_access': True, 'site_name': 'D\xc3\xa9marches', 'session_user_name_identifier_0': 'c28e3f33def248dd9198a22a8627ec44', 'global_title': 'D\xc3\xa9marche en ligne', 'env_settings_file': '/home/thomas/dev/publik/venv/conf/wcs_settings.py', 'statistics_url': 'https://bijoe.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_zipcode': '', 'idp_account_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/accounts/', 'session_user': <SqlUser 'Administrateur Publik' id:1>, 'favicon': 'blois-2019/img/favicon.ico', 'links': <function print_links at 0x7f172825bc80>, 'session_user_email': 'tnoel+publik-devinst@entrouvert.com', 'session_id': '9602a1d1807c0031', 'hobo_url': 'https://hobo.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_city': '', 'passerelle_url': 'https://passerelle.publik-tnoel.ddns.entrouvert.org/', 'session_user_field_civilite': 'Monsieur', 'attachments': <wcs.workflows.AttachmentsSubstitutionProxy object at 0x7f17282473d0>, 'portal_agent_title': 'Portail Agent', 'session_user_f_email': 'tnoel+publik-devinst@entrouvert.com', 'session_user_field_nom': 'Publik', 'script': <wcs.scripts.ScriptsSubstitutionProxy object at 0x7f1728247a90>, 'session_user_field_prenom': 'Administrateur', 'category_description': None, 'portal_agent_url': 'https://agent-combo.publik-tnoel.ddns.entrouvert.org/', 'no_extra_js': 'True', 'portal_user_title': 'Portail', 'portal_url': 'https://combo.publik-tnoel.ddns.entrouvert.org/', 'site_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org', 'category_name': 'tests', 'theme': 'auch', 'session_user_f_mobile': '', 'session_user_field_code_postal': '', 'category_id': 'tests', 'today': '05/12/2018', 'header_welcome': '<h2>Bienvenue</h2>\n<p>Lorem ...</p>', 'agendas_url': 'https://chrono.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_email': 'tnoel+publik-devinst@entrouvert.com', 'session_user_display_name': 'Administrateur Publik', 'session_user_var_mobile': '', 'form': <wcs.variables.LazyFormData object at 0x7f1728247610>, 'category_slug': 'tests', 'manager_homepage_url': 'https://agent-combo.publik-tnoel.ddns.entrouvert.org/', 'webservice': <wcs.wscalls.WsCallsSubstitutionProxy object at 0x7f17282474d0>, 'session_user_field_commune': '', 'session_user_f_city': '', 'session_user_var_address': '', 'session_user_var_last_name': 'Publik', 'session_user_f_zipcode': '', 'session_user_f_address': '', 'session_user_field_adresse': '', 'session_user_f_phone': '', 'session_user_f_first_name': 'Administrateur', 'porte_doc_url': 'https://fargo.publik-tnoel.ddns.entrouvert.org/', 'now': '05/12/2018 15:04', 'announces_url': 'https://corbo.publik-tnoel.ddns.entrouvert.org/', 'theme_color': '#B3B18C', 'manager_homepage_title': 'Portail Agent', 'apa_users_grid': '', 'data_source': <wcs.data_sources.DataSourcesSubstitutionProxy object at 0x7f17282f9e50>, 'idp_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/', 'portal_user_url': 'https://combo.publik-tnoel.ddns.entrouvert.org/', 'session_user_admin_access': True, 'css_variant': 'auch', 'site_lang': 'fr', 'idp_registration_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/accounts/register/', 'services_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_title': 'Monsieur', 'site_url_backoffice': 'https://wcs.publik-tnoel.ddns.entrouvert.org/backoffice', 'session_user_var_first_name': 'Administrateur', 'eservices_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org/', 'is_in_backoffice': False, 'session_user_f_title': 'Monsieur', 'site_theme': 'publik-base', 'session_user_field_mobile': '', 'session_user_var_phone': '', 'session_user_f_last_name': 'Publik', 'session_user_field_telephone': '', 'accueil_url': 'https://welco.publik-tnoel.ddns.entrouvert.org/'}
114
     self = <qommon.template.Template object at 0x7f17282f9850>
115

    
116
  File "/home/thomas/dev/publik/src/wcs/wcs/qommon/misc.py", line 351, in get_variadic_url
117
   349             return Template(url).render(variables)
118
   350         except (TemplateSyntaxError, VariableDoesNotExist):
119
>  351             return url
120
   352 
121
   353     # ezt template, try to be safe
122

    
123
  locals: 
124
     encode_query = True
125
     url = 'https://passerelle.publik-tnoel.ddns.entrouvert.org/csvdatasource/test/data?q=ache&coord={{ form_var_map|split:";"|last }}&ok=ko'
126
     variables = {'session_user_field_adresse_electronique': 'tnoel+publik-devinst@entrouvert.com', 'session_user_backoffice_access': True, 'site_name': 'D\xc3\xa9marches', 'session_user_name_identifier_0': 'c28e3f33def248dd9198a22a8627ec44', 'global_title': 'D\xc3\xa9marche en ligne', 'env_settings_file': '/home/thomas/dev/publik/venv/conf/wcs_settings.py', 'statistics_url': 'https://bijoe.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_zipcode': '', 'idp_account_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/accounts/', 'session_user': <SqlUser 'Administrateur Publik' id:1>, 'favicon': 'blois-2019/img/favicon.ico', 'links': <function print_links at 0x7f172825bc80>, 'session_user_email': 'tnoel+publik-devinst@entrouvert.com', 'session_id': '9602a1d1807c0031', 'hobo_url': 'https://hobo.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_city': '', 'passerelle_url': 'https://passerelle.publik-tnoel.ddns.entrouvert.org/', 'session_user_field_civilite': 'Monsieur', 'attachments': <wcs.workflows.AttachmentsSubstitutionProxy object at 0x7f17282473d0>, 'portal_agent_title': 'Portail Agent', 'session_user_f_email': 'tnoel+publik-devinst@entrouvert.com', 'session_user_field_nom': 'Publik', 'script': <wcs.scripts.ScriptsSubstitutionProxy object at 0x7f1728247a90>, 'session_user_field_prenom': 'Administrateur', 'category_description': None, 'portal_agent_url': 'https://agent-combo.publik-tnoel.ddns.entrouvert.org/', 'no_extra_js': 'True', 'portal_user_title': 'Portail', 'portal_url': 'https://combo.publik-tnoel.ddns.entrouvert.org/', 'site_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org', 'category_name': 'tests', 'theme': 'auch', 'session_user_f_mobile': '', 'session_user_field_code_postal': '', 'category_id': 'tests', 'today': '05/12/2018', 'header_welcome': '<h2>Bienvenue</h2>\n<p>Lorem ...</p>', 'agendas_url': 'https://chrono.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_email': 'tnoel+publik-devinst@entrouvert.com', 'session_user_display_name': 'Administrateur Publik', 'session_user_var_mobile': '', 'form': <wcs.variables.LazyFormData object at 0x7f1728247610>, 'category_slug': 'tests', 'manager_homepage_url': 'https://agent-combo.publik-tnoel.ddns.entrouvert.org/', 'webservice': <wcs.wscalls.WsCallsSubstitutionProxy object at 0x7f17282474d0>, 'session_user_field_commune': '', 'session_user_f_city': '', 'session_user_var_address': '', 'session_user_var_last_name': 'Publik', 'session_user_f_zipcode': '', 'session_user_f_address': '', 'session_user_field_adresse': '', 'session_user_f_phone': '', 'session_user_f_first_name': 'Administrateur', 'porte_doc_url': 'https://fargo.publik-tnoel.ddns.entrouvert.org/', 'now': '05/12/2018 15:04', 'announces_url': 'https://corbo.publik-tnoel.ddns.entrouvert.org/', 'theme_color': '#B3B18C', 'manager_homepage_title': 'Portail Agent', 'apa_users_grid': '', 'data_source': <wcs.data_sources.DataSourcesSubstitutionProxy object at 0x7f17282f9e50>, 'idp_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/', 'portal_user_url': 'https://combo.publik-tnoel.ddns.entrouvert.org/', 'session_user_admin_access': True, 'css_variant': 'auch', 'site_lang': 'fr', 'idp_registration_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/accounts/register/', 'services_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_title': 'Monsieur', 'site_url_backoffice': 'https://wcs.publik-tnoel.ddns.entrouvert.org/backoffice', 'session_user_var_first_name': 'Administrateur', 'eservices_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org/', 'is_in_backoffice': False, 'session_user_f_title': 'Monsieur', 'site_theme': 'publik-base', 'session_user_field_mobile': '', 'session_user_var_phone': '', 'session_user_f_last_name': 'Publik', 'session_user_field_telephone': '', 'accueil_url': 'https://welco.publik-tnoel.ddns.entrouvert.org/'}
127

    
128
  File "/home/thomas/dev/publik/src/wcs/wcs/data_sources.py", line 166, in get_structured_items
129
   164         if Template.is_template_string(url):
130
   165             vars = get_publisher().substitutions.get_context_variables(mode=mode)
131
>  166             url = get_variadic_url(url, vars)
132
   167 
133
   168         request = get_request()
134

    
135
  locals: 
136
     cache_duration = 0
137
     data_source = {'type': 'json', 'value': 'https://passerelle.publik-tnoel.ddns.entrouvert.org/csvdatasource/test/data?q=ache&coord={{ form_var_map|split:";"|last }}&ok=ko'}
138
     mode = None
139
     named_data_source = <NamedDataSource 'csvdatasource' id:1>
140
     url = 'https://passerelle.publik-tnoel.ddns.entrouvert.org/csvdatasource/test/data?q=ache&coord={{ form_var_map|split:";"|last }}&ok=ko'
141
     vars = {'session_user_field_adresse_electronique': 'tnoel+publik-devinst@entrouvert.com', 'session_user_backoffice_access': True, 'site_name': 'D\xc3\xa9marches', 'session_user_name_identifier_0': 'c28e3f33def248dd9198a22a8627ec44', 'global_title': 'D\xc3\xa9marche en ligne', 'env_settings_file': '/home/thomas/dev/publik/venv/conf/wcs_settings.py', 'statistics_url': 'https://bijoe.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_zipcode': '', 'idp_account_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/accounts/', 'session_user': <SqlUser 'Administrateur Publik' id:1>, 'favicon': 'blois-2019/img/favicon.ico', 'links': <function print_links at 0x7f172825bc80>, 'session_user_email': 'tnoel+publik-devinst@entrouvert.com', 'session_id': '9602a1d1807c0031', 'hobo_url': 'https://hobo.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_city': '', 'passerelle_url': 'https://passerelle.publik-tnoel.ddns.entrouvert.org/', 'session_user_field_civilite': 'Monsieur', 'attachments': <wcs.workflows.AttachmentsSubstitutionProxy object at 0x7f17282473d0>, 'portal_agent_title': 'Portail Agent', 'session_user_f_email': 'tnoel+publik-devinst@entrouvert.com', 'session_user_field_nom': 'Publik', 'script': <wcs.scripts.ScriptsSubstitutionProxy object at 0x7f1728247a90>, 'session_user_field_prenom': 'Administrateur', 'category_description': None, 'portal_agent_url': 'https://agent-combo.publik-tnoel.ddns.entrouvert.org/', 'no_extra_js': 'True', 'portal_user_title': 'Portail', 'portal_url': 'https://combo.publik-tnoel.ddns.entrouvert.org/', 'site_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org', 'category_name': 'tests', 'theme': 'auch', 'session_user_f_mobile': '', 'session_user_field_code_postal': '', 'category_id': 'tests', 'today': '05/12/2018', 'header_welcome': '<h2>Bienvenue</h2>\n<p>Lorem ...</p>', 'agendas_url': 'https://chrono.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_email': 'tnoel+publik-devinst@entrouvert.com', 'session_user_display_name': 'Administrateur Publik', 'session_user_var_mobile': '', 'form': <wcs.variables.LazyFormData object at 0x7f1728247610>, 'category_slug': 'tests', 'manager_homepage_url': 'https://agent-combo.publik-tnoel.ddns.entrouvert.org/', 'webservice': <wcs.wscalls.WsCallsSubstitutionProxy object at 0x7f17282474d0>, 'session_user_field_commune': '', 'session_user_f_city': '', 'session_user_var_address': '', 'session_user_var_last_name': 'Publik', 'session_user_f_zipcode': '', 'session_user_f_address': '', 'session_user_field_adresse': '', 'session_user_f_phone': '', 'session_user_f_first_name': 'Administrateur', 'porte_doc_url': 'https://fargo.publik-tnoel.ddns.entrouvert.org/', 'now': '05/12/2018 15:04', 'announces_url': 'https://corbo.publik-tnoel.ddns.entrouvert.org/', 'theme_color': '#B3B18C', 'manager_homepage_title': 'Portail Agent', 'apa_users_grid': '', 'data_source': <wcs.data_sources.DataSourcesSubstitutionProxy object at 0x7f17282f9e50>, 'idp_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/', 'portal_user_url': 'https://combo.publik-tnoel.ddns.entrouvert.org/', 'session_user_admin_access': True, 'css_variant': 'auch', 'site_lang': 'fr', 'idp_registration_url': 'https://authentic.publik-tnoel.ddns.entrouvert.org/accounts/register/', 'services_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org/', 'session_user_var_title': 'Monsieur', 'site_url_backoffice': 'https://wcs.publik-tnoel.ddns.entrouvert.org/backoffice', 'session_user_var_first_name': 'Administrateur', 'eservices_url': 'https://wcs.publik-tnoel.ddns.entrouvert.org/', 'is_in_backoffice': False, 'session_user_f_title': 'Monsieur', 'site_theme': 'publik-base', 'session_user_field_mobile': '', 'session_user_var_phone': '', 'session_user_f_last_name': 'Publik', 'session_user_field_telephone': '', 'accueil_url': 'https://welco.publik-tnoel.ddns.entrouvert.org/'}
142

    
143
  File "/home/thomas/dev/publik/src/wcs/wcs/data_sources.py", line 99, in get_items
144
    97 
145
    98 def get_items(data_source, include_disabled=False, mode=None):
146
>   99     structured_items = get_structured_items(data_source, mode=mode)
147
   100     tupled_items = []
148
   101     for item in structured_items:
149

    
150
  locals: 
151
     data_source = {'type': 'csvdatasource'}
152
     include_disabled = False
153
     mode = None
154

    
155
  File "/home/thomas/dev/publik/src/wcs/wcs/fields.py", line 1188, in perform_more_widget_changes
156
  1186         elif self.data_source:
157
  1187             items = data_sources.get_items(self.data_source,
158
> 1188                     include_disabled=self.display_disabled_items)
159
  1189             kwargs['options'] = [x[:3] for x in items if not x[-1].get('disabled')]
160
  1190             kwargs['options_with_attributes'] = items[:]
161

    
162
  locals: 
163
     edit = True
164
     form = <wcs.qommon.form.Form object at 0x7f1728225b10>
165
     kwargs = {'required': True}
166
     real_data_source = {'type': 'json', 'value': 'https://passerelle.publik-tnoel.ddns.entrouvert.org/csvdatasource/test/data?q=ache&coord={{ form_var_map|split:";"|last }}&ok=ko'}
167
     self = <wcs.fields.ItemField object at 0x7f1728225550>
168

    
169
  File "/home/thomas/dev/publik/src/wcs/wcs/fields.py", line 424, in add_to_form
170
   422             if hasattr(self, k):
171
   423                 kwargs[k] = getattr(self, k)
172
>  424         self.perform_more_widget_changes(form, kwargs)
173
   425         if self.hint and self.hint.startswith('<'):
174
   426             hint = htmltext(self.hint)
175

    
176
  locals: 
177
     form = <wcs.qommon.form.Form object at 0x7f1728225b10>
178
     kwargs = {'required': True}
179
     self = <wcs.fields.ItemField object at 0x7f1728225550>
180
     value = None
181

    
182
  File "/home/thomas/dev/publik/src/wcs/wcs/formdef.py", line 557, in add_fields_to_form
183
   555             if form_data:
184
   556                 value = form_data.get(field.id)
185
>  557             widget = field.add_to_form(form, value)
186
   558             widget.is_hidden = not(visible)
187
   559             widget.field = field
188

    
189
  locals: 
190
     current_page = 0
191
     displayed_fields = [<wcs.fields.MapField object at 0x7f1728225c10>, <wcs.fields.ItemField object at 0x7f1728225550>]
192
     field = <wcs.fields.ItemField object at 0x7f1728225550>
193
     form = <wcs.qommon.form.Form object at 0x7f1728225b10>
194
     form_data = None
195
     on_page = True
196
     page = None
197
     self = <FormDef 'map + list json automatique' id:18>
198
     transient_formdata = <FormData 'map + list json automatique - n\xc2\xb0None' id:None>
199
     value = None
200
     visible = True
201
     widget = <MapWidget at 7f1728225b50: f1>
202

    
203
  File "/home/thomas/dev/publik/src/wcs/wcs/formdef.py", line 527, in create_form
204
   525                 page=page,
205
   526                 displayed_fields=displayed_fields,
206
>  527                 transient_formdata=transient_formdata)
207
   528         return form
208
   529 
209

    
210
  locals: 
211
     displayed_fields = [<wcs.fields.MapField object at 0x7f1728225c10>, <wcs.fields.ItemField object at 0x7f1728225550>]
212
     form = <wcs.qommon.form.Form object at 0x7f1728225b10>
213
     page = None
214
     self = <FormDef 'map + list json automatique' id:18>
215
     transient_formdata = <FormData 'map + list json automatique - n\xc2\xb0None' id:None>
216

    
217
  File "/home/thomas/dev/publik/src/wcs/wcs/forms/root.py", line 511, in create_form
218
   509 
219
   510     def create_form(self, *args, **kwargs):
220
>  511         return self.formdef.create_form(*args, **kwargs)
221
   512 
222
   513     def create_view_form(self, *args, **kwargs):
223

    
224
  locals: 
225
     args = ()
226
     kwargs = {'transient_formdata': <FormData 'map + list json automatique - n\xc2\xb0None' id:None>, 'page': None, 'displayed_fields': [<wcs.fields.MapField object at 0x7f1728225c10>, <wcs.fields.ItemField object at 0x7f1728225550>]}
227
     self = <modules.formpage.AlternateFormPage object at 0x7f1728238a90>
228

    
229
  File "/home/thomas/dev/publik/src/wcs/wcs/forms/root.py", line 736, in _q_index
230
   734                 form = self.create_form(page=page,
231
   735                         displayed_fields=submitted_fields,
232
>  736                         transient_formdata=transient_formdata)
233
   737             form.add_submit('previous')
234
   738             if self.has_draft_support():
235

    
236
  locals: 
237
     authentication_context_check_result = None
238
     existing_formdata = None
239
     field = <wcs.fields.ItemField object at 0x7f1728225550>
240
     form = <qommon.form.Form object at 0x7f1728225710>
241
     magictoken = '872bbeb0c70a4b80'
242
     no_magic = <object object at 0x7f172bbb9520>
243
     page = None
244
     page_no = 0
245
     prefill_user = <SqlUser 'Administrateur Publik' id:1>
246
     self = <modules.formpage.AlternateFormPage object at 0x7f1728238a90>
247
     session = <Session at 7f17282811d0: 9602a1d1807c0031>
248
     session_magic_token = {'1': '50.8471827671;4.34792518616', 'future_tracking_code': 'QMTZPGGR'}
249
     step = 0
250
     submitted_fields = [<wcs.fields.MapField object at 0x7f1728225c10>, <wcs.fields.ItemField object at 0x7f1728225550>]
251
     transient_formdata = <FormData 'map + list json automatique - n\xc2\xb0None' id:None>
252
     v = None
253
     verified = False
254

    
255
  File "/home/thomas/dev/publik/venv/lib/python2.7/site-packages/quixote/directory.py", line 67, in _q_traverse
256
    65                 raise TraversalError
257
    66         elif hasattr(obj, '__call__'):
258
>   67             return obj()
259
    68         else:
260
    69             return obj
261

    
262
  locals: 
263
     component = ''
264
     name = '_q_index'
265
     obj = <bound method AlternateFormPage._q_index of <modules.formpage.AlternateFormPage object at 0x7f1728238a90>>
266
     path = []
267
     self = <modules.formpage.AlternateFormPage object at 0x7f1728238a90>
268

    
269
  File "/home/thomas/dev/publik/venv/lib/python2.7/site-packages/quixote/directory.py", line 63, in _q_traverse
270
    61         if path:
271
    62             if hasattr(obj, '_q_traverse'):
272
>   63                 return obj._q_traverse(path)
273
    64             else:
274
    65                 raise TraversalError
275

    
276
  locals: 
277
     component = 'map-list-json-automatique'
278
     name = None
279
     obj = <modules.formpage.AlternateFormPage object at 0x7f1728238a90>
280
     path = ['']
281
     self = <modules.root.FormsRootDirectory object at 0x7f172822bc50>
282

    
283
  File "/home/thomas/dev/publik/venv/lib/python2.7/site-packages/quixote/directory.py", line 91, in _q_traverse
284
    89     def _q_traverse(self, path):
285
    90         self._q_access()
286
>   91         return super(AccessControlled, self)._q_traverse(path)
287
    92 
288
    93 
289

    
290
  locals: 
291
     path = ['map-list-json-automatique', '']
292
     self = <modules.root.FormsRootDirectory object at 0x7f172822bc50>
293

    
294
  File "/home/thomas/dev/publik/venv/lib/python2.7/site-packages/quixote/directory.py", line 63, in _q_traverse
295
    61         if path:
296
    62             if hasattr(obj, '_q_traverse'):
297
>   63                 return obj._q_traverse(path)
298
    64             else:
299
    65                 raise TraversalError
300

    
301
  locals: 
302
     component = 'tests'
303
     name = None
304
     obj = <modules.root.FormsRootDirectory object at 0x7f172822bc50>
305
     path = ['map-list-json-automatique', '']
306
     self = <modules.root.AlternateRootDirectory object at 0x7f1728281450>
307

    
308
  File "/home/thomas/dev/publik/src/auquotidien/auquotidien/modules/root.py", line 847, in _q_traverse
309
   845                     return redirect('%s%s/%s' % (base_url, f.category.url_name, uri_rest))
310
   846 
311
>  847             raise e
312
   848 
313
   849 
314

    
315
  locals: 
316
     path = ['tests', 'map-list-json-automatique', '']
317
     response = <wcs.qommon.http_response.HTTPResponse instance at 0x7f172b0ab5a8>
318
     self = <modules.root.AlternateRootDirectory object at 0x7f1728281450>
319

    
320
  File "/home/thomas/dev/publik/venv/lib/python2.7/site-packages/quixote/publish.py", line 253, in try_publish
321
   251                 permanent=True)
322
   252         components = path[1:].split('/')
323
>  253         output = self.root_directory._q_traverse(components)
324
   254         # The callable ran OK, commit any changes to the session
325
   255         self.finish_successful_request()
326

    
327
  locals: 
328
     components = ['tests', 'map-list-json-automatique', '']
329
     path = '/tests/map-list-json-automatique/'
330
     request = <wcs.compat.CompatHTTPRequest instance at 0x7f172b28b8c0>
331
     self = <wcs.compat.CompatWcsPublisher object at 0x7f1728281fd0>
332

    
333
  File "/home/thomas/dev/publik/src/wcs/wcs/compat.py", line 206, in process_request
334
   204             output = self.finish_interrupted_request(exc)
335
   205         except Exception, exc:
336
>  206             output = self.finish_failed_request()
337
   207         response = request.response
338
   208 
339

    
340
  locals: 
341
     exc = AttributeError("'LazyFieldVar' object has no attribute 'split'",)
342
     request = <wcs.compat.CompatHTTPRequest instance at 0x7f172b28b8c0>
343
     self = <wcs.compat.CompatWcsPublisher object at 0x7f1728281fd0>
344

    
345
  File "/home/thomas/dev/publik/src/wcs/wcs/compat.py", line 244, in quixote
346
   242 def quixote(request):
347
   243     pub = get_publisher()
348
>  244     return pub.process_request(pub.get_request())
349
   245 
350
   246 
351

    
352
  locals: 
353
     pub = <wcs.compat.CompatWcsPublisher object at 0x7f1728281fd0>
354
     request = <WSGIRequest: POST '/tests/map-list-json-automatique/'>
355

    
356
  File "/home/thomas/dev/publik/venv/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
357
   130                 wrapped_callback = self.make_view_atomic(callback)
358
   131                 try:
359
>  132                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
360
   133                 except Exception as e:
361
   134                     # If the view raised an exception, run it through exception
362

    
363
  locals: 
364
     callback = <function quixote at 0x7f172ccdb230>
365
     callback_args = ()
366
     callback_kwargs = {}
367
     middleware_method = <bound method PrometheusStatsMiddleware.process_view of <hobo.middleware.stats.PrometheusStatsMiddleware object at 0x7f172b0e3610>>
368
     request = <WSGIRequest: POST '/tests/map-list-json-automatique/'>
369
     resolver = <RegexURLResolver 'wcs.urls' (None:None) ^/>
370
     resolver_match = ResolverMatch(func=wcs.compat.quixote, args=(), kwargs={}, url_name=quixote, app_name=None, namespaces=[])
371
     response = None
372
     self = <django.core.handlers.wsgi.WSGIHandler object at 0x7f172cca60d0>
373
     urlconf = 'wcs.urls'
374
     wrapped_callback = <function quixote at 0x7f172ccdb230>
375

    
376
  File "/home/thomas/dev/publik/venv/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 189, in __call__
377
   187             response = http.HttpResponseBadRequest()
378
   188         else:
379
>  189             response = self.get_response(request)
380
   190 
381
   191         response._handler_class = self.__class__
382

    
383
  locals: 
384
     environ = {'wsgi.multiprocess': False, 'RUN_MAIN': 'true', 'REQUESTS_CA_BUNDLE': '/etc/ssl/certs/ca-certificates.crt', 'GNOME_DESKTOP_SESSION_ID': 'this-is-deprecated', 'GJS_DEBUG_OUTPUT': 'stderr', 'HTTP_X_FORWARDED_SSL': 'on', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.14+', 'WCS_SETTINGS_FILE': '/home/thomas/dev/publik/venv/conf/wcs_settings.py', 'SCRIPT_NAME': '', 'XDG_CURRENT_DESKTOP': 'GNOME', 'XDG_SESSION_TYPE': 'wayland', 'REQUEST_METHOD': 'POST', 'LOGNAME': 'thomas', 'USER': 'thomas', 'HOME': '/home/thomas', 'XDG_VTNR': '2', 'PATH': '/home/thomas/dev/publik/venv/bin:/home/thomas/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games', 'QUERY_STRING': '', 'VIRTUALENVWRAPPER_SCRIPT': '/usr/share/virtualenvwrapper/virtualenvwrapper.sh', 'DEBFULLNAME': 'Thomas NOEL', 'DISPLAY': ':0', 'HTTP_X_REAL_IP': '127.0.0.1', 'LANG': 'fr_FR.UTF-8', 'VIRTUAL_ENV': '/home/thomas/dev/publik/venv', 'SHELL': '/bin/bash', 'TZ': 'Europe/Paris', 'HTTP_REFERER': 'https://wcs.publik-tnoel.ddns.entrouvert.org/tests/map-list-json-automatique/', 'PATH_INFO': '/tests/map-list-json-automatique/', 'SESSION_MANAGER': 'local/zepo:@/tmp/.ICE-unix/1200,unix/zepo:/tmp/.ICE-unix/1200', 'SHLVL': '4', 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------4330595861345242794503917950', 'WAYLAND_DISPLAY': 'wayland-0', 'wsgi.url_scheme': 'http', 'CONTENT_LENGTH': '918', 'SERVER_PORT': '8032', 'HTTP_X_FORWARDED_PROTO': 'https', '_VIRTUALENVWRAPPER_API': ' mkvirtualenv rmvirtualenv lsvirtualenv showvirtualenv workon add2virtualenv cdsitepackages cdvirtualenv lssitepackages toggleglobalsitepackages cpvirtualenv setvirtualenvproject mkproject cdproject mktmpenv', 'DEBEMAIL': 'tnoel@entrouvert.com', 'wsgi.run_once': False, 'USERNAME': 'thomas', 'XDG_SESSION_DESKTOP': 'gnome', 'HTTP_CONNECTION': 'close', 'XDG_RUNTIME_DIR': '/run/user/1000', 'HTTP_DNT': '1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'SSH_AUTH_SOCK': '/run/user/1000/keyring/ssh', 'TERM': 'xterm-256color', 'VTE_VERSION': '5402', 'GDMSESSION': 'gnome', 'REMOTE_ADDR': '127.0.0.1', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0', 'HTTP_HOST': 'wcs.publik-tnoel.ddns.entrouvert.org', 'wsgi.multithread': True, 'HTTP_UPGRADE_INSECURE_REQUESTS': '1', 'HTTP_X_FORWARDED_PROTOCOL': 'ssl', 'XDG_SESSION_ID': '3', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/run/user/1000/bus', '_': '/home/thomas/dev/publik/venv/bin/python', 'HISTIGNORE': '&:[ ]*:exit:ls:bg:fg:history:clear', 'DESKTOP_SESSION': 'gnome', 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x7f172c4cd808>, 'wsgi.version': (1, 0), 'GNOME_TERMINAL_SERVICE': ':1.1682', 'SERVER_NAME': 'localhost', 'XDG_SEAT': 'seat0', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f17323721e0>, 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT_LANGUAGE': 'fr-FR,fr;q=0.8,en-US;q=0.5,en;q=0.3', 'GDM_LANG': 'fr_FR.UTF-8', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, br', 'HTTP_X_FORWARDED_FOR': '127.0.0.1', 'PWD': '/home/thomas', 'SERVER_PROTOCOL': 'HTTP/1.0', 'DJANGO_SETTINGS_MODULE': 'wcs.settings', 'wsgi.input': <socket._fileobject object at 0x7f1732220f50>, 'COLORTERM': 'truecolor', 'XDG_MENU_PREFIX': 'gnome-', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:', 'REMOTE_HOST': '', 'GJS_DEBUG_TOPICS': 'JS ERROR;JS LOG', 'HTTP_COOKIE': 'wcs-aad4bd="9602a1d1807c0031"; wcs-b9d5e9="3d6f26ce925097a1"; wcs-8c8f12="1cc4a77b151d3ee5"; wcs-8a34ba="bd74af2c51f68997"', 'GNOME_TERMINAL_SCREEN': '/org/gnome/Terminal/screen/7d780466_8b4a_4ab2_ae67_2d2cea22a4cb'}
385
     request = <WSGIRequest: POST '/tests/map-list-json-automatique/'>
386
     self = <django.core.handlers.wsgi.WSGIHandler object at 0x7f172cca60d0>
387
     start_response = <bound method ServerHandler.start_response of <django.core.servers.basehttp.ServerHandler object at 0x7f17282478d0>>
388

    
389
  File "/home/thomas/dev/publik/venv/lib/python2.7/site-packages/django/contrib/staticfiles/handlers.py", line 63, in __call__
390
    61     def __call__(self, environ, start_response):
391
    62         if not self._should_handle(get_path_info(environ)):
392
>   63             return self.application(environ, start_response)
393
    64         return super(StaticFilesHandler, self).__call__(environ, start_response)
394

    
395
  locals: 
396
     environ = {'wsgi.multiprocess': False, 'RUN_MAIN': 'true', 'REQUESTS_CA_BUNDLE': '/etc/ssl/certs/ca-certificates.crt', 'GNOME_DESKTOP_SESSION_ID': 'this-is-deprecated', 'GJS_DEBUG_OUTPUT': 'stderr', 'HTTP_X_FORWARDED_SSL': 'on', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.14+', 'WCS_SETTINGS_FILE': '/home/thomas/dev/publik/venv/conf/wcs_settings.py', 'SCRIPT_NAME': '', 'XDG_CURRENT_DESKTOP': 'GNOME', 'XDG_SESSION_TYPE': 'wayland', 'REQUEST_METHOD': 'POST', 'LOGNAME': 'thomas', 'USER': 'thomas', 'HOME': '/home/thomas', 'XDG_VTNR': '2', 'PATH': '/home/thomas/dev/publik/venv/bin:/home/thomas/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games', 'QUERY_STRING': '', 'VIRTUALENVWRAPPER_SCRIPT': '/usr/share/virtualenvwrapper/virtualenvwrapper.sh', 'DEBFULLNAME': 'Thomas NOEL', 'DISPLAY': ':0', 'HTTP_X_REAL_IP': '127.0.0.1', 'LANG': 'fr_FR.UTF-8', 'VIRTUAL_ENV': '/home/thomas/dev/publik/venv', 'SHELL': '/bin/bash', 'TZ': 'Europe/Paris', 'HTTP_REFERER': 'https://wcs.publik-tnoel.ddns.entrouvert.org/tests/map-list-json-automatique/', 'PATH_INFO': '/tests/map-list-json-automatique/', 'SESSION_MANAGER': 'local/zepo:@/tmp/.ICE-unix/1200,unix/zepo:/tmp/.ICE-unix/1200', 'SHLVL': '4', 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------4330595861345242794503917950', 'WAYLAND_DISPLAY': 'wayland-0', 'wsgi.url_scheme': 'http', 'CONTENT_LENGTH': '918', 'SERVER_PORT': '8032', 'HTTP_X_FORWARDED_PROTO': 'https', '_VIRTUALENVWRAPPER_API': ' mkvirtualenv rmvirtualenv lsvirtualenv showvirtualenv workon add2virtualenv cdsitepackages cdvirtualenv lssitepackages toggleglobalsitepackages cpvirtualenv setvirtualenvproject mkproject cdproject mktmpenv', 'DEBEMAIL': 'tnoel@entrouvert.com', 'wsgi.run_once': False, 'USERNAME': 'thomas', 'XDG_SESSION_DESKTOP': 'gnome', 'HTTP_CONNECTION': 'close', 'XDG_RUNTIME_DIR': '/run/user/1000', 'HTTP_DNT': '1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'SSH_AUTH_SOCK': '/run/user/1000/keyring/ssh', 'TERM': 'xterm-256color', 'VTE_VERSION': '5402', 'GDMSESSION': 'gnome', 'REMOTE_ADDR': '127.0.0.1', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0', 'HTTP_HOST': 'wcs.publik-tnoel.ddns.entrouvert.org', 'wsgi.multithread': True, 'HTTP_UPGRADE_INSECURE_REQUESTS': '1', 'HTTP_X_FORWARDED_PROTOCOL': 'ssl', 'XDG_SESSION_ID': '3', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/run/user/1000/bus', '_': '/home/thomas/dev/publik/venv/bin/python', 'HISTIGNORE': '&:[ ]*:exit:ls:bg:fg:history:clear', 'DESKTOP_SESSION': 'gnome', 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x7f172c4cd808>, 'wsgi.version': (1, 0), 'GNOME_TERMINAL_SERVICE': ':1.1682', 'SERVER_NAME': 'localhost', 'XDG_SEAT': 'seat0', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f17323721e0>, 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT_LANGUAGE': 'fr-FR,fr;q=0.8,en-US;q=0.5,en;q=0.3', 'GDM_LANG': 'fr_FR.UTF-8', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, br', 'HTTP_X_FORWARDED_FOR': '127.0.0.1', 'PWD': '/home/thomas', 'SERVER_PROTOCOL': 'HTTP/1.0', 'DJANGO_SETTINGS_MODULE': 'wcs.settings', 'wsgi.input': <socket._fileobject object at 0x7f1732220f50>, 'COLORTERM': 'truecolor', 'XDG_MENU_PREFIX': 'gnome-', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:', 'REMOTE_HOST': '', 'GJS_DEBUG_TOPICS': 'JS ERROR;JS LOG', 'HTTP_COOKIE': 'wcs-aad4bd="9602a1d1807c0031"; wcs-b9d5e9="3d6f26ce925097a1"; wcs-8c8f12="1cc4a77b151d3ee5"; wcs-8a34ba="bd74af2c51f68997"', 'GNOME_TERMINAL_SCREEN': '/org/gnome/Terminal/screen/7d780466_8b4a_4ab2_ae67_2d2cea22a4cb'}
397
     self = <django.contrib.staticfiles.handlers.StaticFilesHandler object at 0x7f172cca6090>
398
     start_response = <bound method ServerHandler.start_response of <django.core.servers.basehttp.ServerHandler object at 0x7f17282478d0>>
399

    
400
  File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run
401
    83         try:
402
    84             self.setup_environ()
403
>   85             self.result = application(self.environ, self.start_response)
404
    86             self.finish_response()
405
    87         except:
406

    
407
  locals: 
408
     application = <django.contrib.staticfiles.handlers.StaticFilesHandler object at 0x7f172cca6090>
409
     self = <django.core.servers.basehttp.ServerHandler object at 0x7f17282478d0>
410

    
411
  File "/home/thomas/dev/publik/venv/lib/python2.7/site-packages/django/core/servers/basehttp.py", line 182, in handle
412
   180         )
413
   181         handler.request_handler = self      # backpointer for logging
414
>  182         handler.run(self.server.get_app())
415
   183 
416
   184 
417

    
418
  locals: 
419
     handler = <django.core.servers.basehttp.ServerHandler object at 0x7f17282478d0>
420
     self = <django.core.servers.basehttp.WSGIRequestHandler object at 0x7f1728ba6950>
421

    
422
  File "/usr/lib/python2.7/SocketServer.py", line 655, in __init__
423
   653         self.setup()
424
   654         try:
425
>  655             self.handle()
426
   656         finally:
427
   657             self.finish()
428

    
429
  locals: 
430
     client_address = ('127.0.0.1', 44318)
431
     request = <socket._socketobject object at 0x7f1728b78440>
432
     self = <django.core.servers.basehttp.WSGIRequestHandler object at 0x7f1728ba6950>
433
     server = <django.core.servers.basehttp.WSGIServer object at 0x7f172cd0fdd0>
434

    
435
  File "/home/thomas/dev/publik/venv/lib/python2.7/site-packages/django/core/servers/basehttp.py", line 102, in __init__
436
   100     def __init__(self, *args, **kwargs):
437
   101         self.style = color_style()
438
>  102         super(WSGIRequestHandler, self).__init__(*args, **kwargs)
439
   103 
440
   104     def address_string(self):
441

    
442
  locals: 
443
     args = (<socket._socketobject object at 0x7f1728b78440>, ('127.0.0.1', 44318), <django.core.servers.basehttp.WSGIServer object at 0x7f172cd0fdd0>)
444
     kwargs = {}
445
     self = <django.core.servers.basehttp.WSGIRequestHandler object at 0x7f1728ba6950>
446

    
447
  File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
448
   332     def finish_request(self, request, client_address):
449
   333         """Finish one request by instantiating RequestHandlerClass."""
450
>  334         self.RequestHandlerClass(request, client_address, self)
451
   335 
452
   336     def shutdown_request(self, request):
453

    
454
  locals: 
455
     client_address = ('127.0.0.1', 44318)
456
     request = <socket._socketobject object at 0x7f1728b78440>
457
     self = <django.core.servers.basehttp.WSGIServer object at 0x7f172cd0fdd0>
458

    
459
  File "/usr/lib/python2.7/SocketServer.py", line 599, in process_request_thread
460
   597         """
461
   598         try:
462
>  599             self.finish_request(request, client_address)
463
   600             self.shutdown_request(request)
464
   601         except:
465

    
466
  locals: 
467
     client_address = ('127.0.0.1', 44318)
468
     request = <socket._socketobject object at 0x7f1728b78440>
469
     self = <django.core.servers.basehttp.WSGIServer object at 0x7f172cd0fdd0>
470

    
471
  File "/usr/lib/python2.7/threading.py", line 754, in run
472
   752         try:
473
   753             if self.__target:
474
>  754                 self.__target(*self.__args, **self.__kwargs)
475
   755         finally:
476
   756             # Avoid a refcycle if the thread is running a function with
477

    
478
  locals: 
479
     self = <TenantAwareThread(Thread-13, started daemon 139737494017792)>
480

    
481
  File "/home/thomas/dev/publik/src/wcs/wcs/qommon/__init__.py", line 57, in run
482
    55         if self.publisher:
483
    56             self.publisher.set_in_thread()
484
>   57         super(TenantAwareThread, self).run()
485
    58 
486
    59 
487

    
488
  locals: 
489
     self = <TenantAwareThread(Thread-13, started daemon 139737494017792)>
490

    
491
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
492
   799 
493
   800             try:
494
>  801                 self.run()
495
   802             except SystemExit:
496
   803                 if __debug__:
497

    
498
  locals: 
499
     self = <TenantAwareThread(Thread-13, started daemon 139737494017792)>
500

    
501
  File "/usr/lib/python2.7/threading.py", line 774, in __bootstrap
502
   772         # if a non-daemonic encounters this, something else is wrong.
503
   773         try:
504
>  774             self.__bootstrap_inner()
505
   775         except:
506
   776             if self.__daemonic and _sys is None:
507

    
508
  locals: 
509
     self = <TenantAwareThread(Thread-13, started daemon 139737494017792)>
510

    
511

    
512
Form:
513
_ajax_form_token '0f3d783769de2eb2'
514
f1$latlng       '50.847182767055536;4.347925186157227'
515
f2              '3'
516
magictoken      '872bbeb0c70a4b80'
517
page            '0'
518
step            '0'
519
submit          'Suivant'
520

    
521
Cookies:
522
wcs-8a34ba      'bd74af2c51f68997'
523
wcs-8c8f12      '1cc4a77b151d3ee5'
524
wcs-aad4bd      '9602a1d1807c0031'
525
wcs-b9d5e9      '3d6f26ce925097a1'
526

    
527
Environment:
528
COLORTERM       'truecolor'
529
CONTENT_LENGTH  '918'
530
CONTENT_TYPE    'multipart/form-data; boundary=---------------------------4330595861345242794503917950'
531
DBUS_SESSION_BUS_ADDRESS 'unix:path=/run/user/1000/bus'
532
DEBEMAIL        'tnoel@entrouvert.com'
533
DEBFULLNAME     'Thomas NOEL'
534
DESKTOP_SESSION 'gnome'
535
DISPLAY         ':0'
536
DJANGO_SETTINGS_MODULE 'wcs.settings'
537
GATEWAY_INTERFACE 'CGI/1.1'
538
GDMSESSION      'gnome'
539
GDM_LANG        'fr_FR.UTF-8'
540
GJS_DEBUG_OUTPUT 'stderr'
541
GJS_DEBUG_TOPICS 'JS ERROR;JS LOG'
542
GNOME_DESKTOP_SESSION_ID 'this-is-deprecated'
543
GNOME_TERMINAL_SCREEN '/org/gnome/Terminal/screen/7d780466_8b4a_4ab2_ae67_2d2cea22a4cb'
544
GNOME_TERMINAL_SERVICE ':1.1682'
545
HISTIGNORE      '&:[ ]*:exit:ls:bg:fg:history:clear'
546
HOME            '/home/thomas'
547
HTTP_ACCEPT     'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
548
HTTP_ACCEPT_ENCODING 'gzip, deflate, br'
549
HTTP_ACCEPT_LANGUAGE 'fr-FR,fr;q=0.8,en-US;q=0.5,en;q=0.3'
550
HTTP_CONNECTION 'close'
551
HTTP_COOKIE     'wcs-aad4bd="9602a1d1807c0031"; wcs-b9d5e9="3d6f26ce925097a1"; wcs-8c8f12="1cc4a77b151d3ee5"; wcs-8a34ba="bd74af2c51f68997"'
552
HTTP_DNT        '1'
553
HTTP_HOST       'wcs.publik-tnoel.ddns.entrouvert.org'
554
HTTP_REFERER    'https://wcs.publik-tnoel.ddns.entrouvert.org/tests/map-list-json-automatique/'
555
HTTP_UPGRADE_INSECURE_REQUESTS '1'
556
HTTP_USER_AGENT 'Mozilla/5.0 (X11; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0'
557
HTTP_X_FORWARDED_FOR '127.0.0.1'
558
HTTP_X_FORWARDED_PROTO 'https'
559
HTTP_X_FORWARDED_PROTOCOL 'ssl'
560
HTTP_X_FORWARDED_SSL 'on'
561
HTTP_X_REAL_IP  '127.0.0.1'
562
LANG            'fr_FR.UTF-8'
563
LOGNAME         'thomas'
564
LS_COLORS       'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'
565
PATH            '/home/thomas/dev/publik/venv/bin:/home/thomas/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games'
566
PATH_INFO       '/tests/map-list-json-automatique/'
567
PWD             '/home/thomas'
568
QUERY_STRING    ''
569
REMOTE_ADDR     '127.0.0.1'
570
REMOTE_HOST     ''
571
REMOTE_USER     '1'
572
REQUESTS_CA_BUNDLE '/etc/ssl/certs/ca-certificates.crt'
573
REQUEST_METHOD  'POST'
574
RUN_MAIN        'true'
575
SCRIPT_NAME     ''
576
SERVER_NAME     'localhost'
577
SERVER_PORT     '8032'
578
SERVER_PROTOCOL 'HTTP/1.0'
579
SERVER_SOFTWARE 'WSGIServer/0.1 Python/2.7.14+'
580
SESSION_MANAGER 'local/zepo:@/tmp/.ICE-unix/1200,unix/zepo:/tmp/.ICE-unix/1200'
581
SHELL           '/bin/bash'
582
SHLVL           '4'
583
SSH_AUTH_SOCK   '/run/user/1000/keyring/ssh'
584
TERM            'xterm-256color'
585
TZ              'Europe/Paris'
586
USER            'thomas'
587
USERNAME        'thomas'
588
VIRTUALENVWRAPPER_SCRIPT '/usr/share/virtualenvwrapper/virtualenvwrapper.sh'
589
VIRTUAL_ENV     '/home/thomas/dev/publik/venv'
590
VTE_VERSION     '5402'
591
WAYLAND_DISPLAY 'wayland-0'
592
WCS_SETTINGS_FILE '/home/thomas/dev/publik/venv/conf/wcs_settings.py'
593
XDG_CURRENT_DESKTOP 'GNOME'
594
XDG_MENU_PREFIX 'gnome-'
595
XDG_RUNTIME_DIR '/run/user/1000'
596
XDG_SEAT        'seat0'
597
XDG_SESSION_DESKTOP 'gnome'
598
XDG_SESSION_ID  '3'
599
XDG_SESSION_TYPE 'wayland'
600
XDG_VTNR        '2'
601
_               '/home/thomas/dev/publik/venv/bin/python'
602
_VIRTUALENVWRAPPER_API ' mkvirtualenv rmvirtualenv lsvirtualenv showvirtualenv workon add2virtualenv cdsitepackages cdvirtualenv lssitepackages toggleglobalsitepackages cpvirtualenv setvirtualenvproject mkproject cdproject mktmpenv'
603
wsgi.errors     <open file '<stderr>', mode 'w' at 0x7f17323721e0>
604
wsgi.file_wrapper <class wsgiref.util.FileWrapper at 0x7f172c4cd808>
605
wsgi.input      <socket._fileobject object at 0x7f1732220f50>
606
wsgi.multiprocess False
607
wsgi.multithread True
608
wsgi.run_once   False
609
wsgi.url_scheme 'http'
610
wsgi.version    (1, 0)
611