Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnicodeDecodeError if Directory Contains Special Characters #29

Closed
msom opened this issue Dec 19, 2014 · 1 comment
Closed

UnicodeDecodeError if Directory Contains Special Characters #29

msom opened this issue Dec 19, 2014 · 1 comment

Comments

@msom
Copy link
Contributor

msom commented Dec 19, 2014

A directory with a membership and a special character (e.g. 'ü') in the title leads to an UnicodeDecodeError when filtering for organizations in the people list:

  ...
  Module seantis.people.browser.list, line 93, in people
  Module seantis.people.content.list, line 100, in people
  Module Products.CMFPlone.CatalogTool, line 393, in searchResults
  Module Products.ZCatalog.ZCatalog, line 604, in searchResults
  Module Products.ZCatalog.Catalog, line 925, in searchResults
  Module Products.ZCatalog.Catalog, line 545, in search
  Module Products.PluginIndexes.common.UnIndex, line 403, in _apply_index
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128)

Furthermore:

  • The organization filter in the people list is not updated (reindexing the seantis_people_catalog required)
@href href closed this as completed in 73f628a Dec 19, 2014
@msom msom reopened this Feb 2, 2015
@msom
Copy link
Contributor Author

msom commented Feb 2, 2015

The problem seems to be that some descendants of seantis.people use unicode for the filterable fields (e.g. seantis.translators: written_languages) while other (such as seantis.people/seantis.agencies: organizations) use strings. We should use only unicode for filterable fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant