Comments (4)
I'm using it on a French website and have no issue (with "é" for example).
from collective.searchandreplace.
I installed a fresh copy of Plone-5.0.5-UnifiedInstaller on a Debian
./install.sh standalone --password=12345 --target=/usr/local/Plone505test
added collective.searchandreplace, five.formlib to "eggs ="
Set French by default.
Moved to the main page
Perform a search for "trouvé"
The resul:
............
Module collective.searchandreplace.browser.searchreplacetable, line 40, in getItems
Module collective.searchandreplace.searchreplaceutility, line 98, in searchObjects
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 5: ordinal not in range(128)
- Expression: "context/@@searchreplacetable"
- Filename: ... y2.7.egg/collective/searchandreplace/browser/pageform.pt
- Location: (line 92: col 50)
- Source: ... replace="structure context/@@searchreplacetable" />
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Expression: "view/getItems"
- Filename: ... ollective/searchandreplace/browser/searchreplacetable.pt
- Location: (line 6: col 22)
- Source: items view/getItems;
^^^^^^^^^^^^^ - Arguments: repeat: {...} (0)
template: <ViewPageTemplateFile - at 0xb35e7bacL>
views: <ViewMapper - at 0xb052b68cL>
modules: <instance - at 0xb6415decL>
args: <tuple - at 0xb753d02cL>
here: <ImplicitAcquisitionWrapper front-page at 0xb03e9d9cL>
user: <ImplicitAcquisitionWrapper - at 0xb03e96bcL>
view: <SimpleViewClass from /usr/local/Plone505test/buildout-cache/eggs/collective.searchandreplace-7.1-py2.7.egg/collective/searchandreplace/browser/searchreplacetable.pt searchreplacetable at 0xb052b10cL>
nothing: <NoneType - at 0x83ac190>
container: <ImplicitAcquisitionWrapper front-page at 0xb03e9d9cL>
request: <instance - at 0xb102abecL>
wrapped_repeat: <SafeMapping - at 0xb0dcc734L>
traverse_subpath: <list - at 0xb102a48cL>
default: <object - at 0xb7563700L>
loop: {...} (0)
context: <ImplicitAcquisitionWrapper front-page at 0xb03e9d9cL>
isFolderish: 0
translate: <function translate at 0xb03e15a4L>
root: <ImplicitAcquisitionWrapper Zope at 0xb0cc2eb4L>
options: {...} (0)
target_language: <NoneType - at 0x83ac190>
^C2016-07-24 00:03:36 INFO SignalHandler Caught signal SIGINT
2016-07-24 00:03:36 INFO Z2 Shutting down
from collective.searchandreplace.
same situation for version Plone 5.0.4
Traceback (innermost last):
Module ZPublisher.Publish, line 138, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 48, in call_object
Module zope.formlib.form, line 800, in call
Module zope.formlib.form, line 920, in render
Module zope.formlib.form, line 790, in render
Module Products.Five.browser.pagetemplatefile, line 125, in call
Module Products.Five.browser.pagetemplatefile, line 59, in call
Module zope.pagetemplate.pagetemplate, line 132, in pt_render
Module five.pt.engine, line 93, in call
Module z3c.pt.pagetemplate, line 163, in render
Module chameleon.zpt.template, line 261, in render
Module chameleon.template, line 171, in render
Module bbdd25959ca055246654fd83c667d6ed.py, line 1699, in render
Module c94341d518084cc5e15e52b738dab2e7.py, line 1223, in render_master
Module c94341d518084cc5e15e52b738dab2e7.py, line 458, in render_content
Module bbdd25959ca055246654fd83c667d6ed.py, line 1687, in fill_main
Module bbdd25959ca055246654fd83c667d6ed.py, line 1513, in render_form
Module bbdd25959ca055246654fd83c667d6ed.py, line 531, in render_master
Module five.pt.expressions, line 161, in __call
Module Products.Five.browser.metaconfigure, line 485, in call
Module Products.Five.browser.pagetemplatefile, line 125, in call
Module Products.Five.browser.pagetemplatefile, line 59, in call
Module zope.pagetemplate.pagetemplate, line 132, in pt_render
Module five.pt.engine, line 93, in call
Module z3c.pt.pagetemplate, line 163, in render
Module chameleon.zpt.template, line 261, in render
Module chameleon.template, line 191, in render
Module chameleon.template, line 171, in render
Module 85f8ed32f55b3c3acf5536f4287f9ea6.py, line 121, in render
Module five.pt.expressions, line 161, in call
Module collective.searchandreplace.browser.searchreplacetable, line 40, in getItems
Module collective.searchandreplace.searchreplaceutility, line 98, in searchObjects
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0401' in position 0: ordinal not in range(128)
- Expression: "context/@@searchreplacetable"
- Filename: ... y2.7.egg/collective/searchandreplace/browser/pageform.pt
- Location: (line 92: col 50)
- Source: ... replace="structure context/@@searchreplacetable" />
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Expression: "view/getItems"
- Filename: ... ollective/searchandreplace/browser/searchreplacetable.pt
- Location: (line 6: col 22)
- Source: items view/getItems;
^^^^^^^^^^^^^ - Arguments: repeat: {...} (0)
template: <ViewPageTemplateFile - at 0xb364820cL>
views: <ViewMapper - at 0xb3479dacL>
modules: <instance - at 0xb64055ccL>
args: <tuple - at 0xb752802cL>
here: <ImplicitAcquisitionWrapper front-page at 0xb10685ccL>
user: <ImplicitAcquisitionWrapper - at 0xb10687acL>
view: <SimpleViewClass from /usr/local/Plone504test/buildout-cache/eggs/collective.searchandreplace-7.1-py2.7.egg/collective/searchandreplace/browser/searchreplacetable.pt searchreplacetable at 0xb347990cL>
nothing: <NoneType - at 0x83ac190>
container: <ImplicitAcquisitionWrapper front-page at 0xb10685ccL>
request: <instance - at 0xb145480cL>
wrapped_repeat: <SafeMapping - at 0xb10438ecL>
traverse_subpath: <list - at 0xb0f5850cL>
default: <object - at 0xb754e700L>
loop: {...} (0)
context: <ImplicitAcquisitionWrapper front-page at 0xb10685ccL>
isFolderish: 0
translate: <function translate at 0xb323bd84L>
root: <ImplicitAcquisitionWrapper Zope at 0xb3865cfcL>
options: {...} (0)
target_language: <NoneType - at 0x83ac190>
from collective.searchandreplace.
I have released 7.1.1 with a fix.
from collective.searchandreplace.
Related Issues (14)
- Remove maintainer note HOT 3
- Search and (Replace + Remove) HOT 1
- Restrict searching and replacing to portal_type instead of interface HOT 2
- Allow replacing in all text fields HOT 1
- Removed behavior searchandreplace from type Document HOT 4
- plone 5.1* HOT 1
- leaving the "Find What" and "Replace With" field blank results in error HOT 8
- Control panel configlet icon broken in Plone 6 HOT 1
- Uninstall profile? HOT 1
- Can the form look a little nicer? HOT 3
- deprecationwarning: isDefaultPage HOT 6
- Add static portlets support HOT 3
- Traceback when searching for text with parentheses HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from collective.searchandreplace.