camptocamp / c2cgeoportal

c2cgeoportal application
http://geomapfish.org
Other
64 stars 46 forks source link

[admin interface] Error when loading a Layer Group page #2725

Closed pgiraud closed 7 years ago

pgiraud commented 7 years ago

When loading the following URL in the browser https://geomapfish-demo.camptocamp.net/2.1/wsgi/admin/LayerGroup/63/edit

I get the following error:

UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 24: ordinal not in range(128) - Expression: "fs.render()" - Filename: ... ython2.7/site-packages/fa/jquery/templates/admin/edit.pt - Location: (line 5: col 36) - Source: <div tal:content="structure fs.render()" /> ^^^^^^^^^^^ - Expression: "field.render()" - Filename: ... n2.7/site-packages/fa/jquery/templates/forms/fieldset.pt - Location: (line 21: col 32) - Source: tal:content="structure field.render()" /> ^^^^^^^^^^^^^^ - Arguments: repeat: {...} (0) renderer_name: pyramid_formalchemy:templates/forms/fieldset.pt localizer: <Localizer - at 0x7f9cbf3143d0> F_: <instancemethod translate at 0x7f9cbd1cd050> renderer_info: <RendererHelper - at 0x7f9cbe97bf90> focus_rendered: True fieldset: <FieldSet - at 0x7f9cbe97b6d0> _: <function auto_translate at 0x7f9cbd465aa0> fatypes: <module formalchemy.fatypes at 0x7f9cc43018a0> request: <Request - at 0x7f9cbce64f10> req: <Request - at 0x7f9cbce64f10> field: <ChildrenAttributeField - at 0x7f9cbe948ed0> html: <module formalchemy.helpers at 0x7f9cc43694e8> context: <LayerGroupCustomModel_admin_edit_GET 63 at 0x7f9cbce64750> view: <NoneType - at 0x7f9cd6405390>
ger-benjamin commented 7 years ago

The returned form for this view should be unicode