Hi, I don't have an account in the tracker, how can I request it? I got the error trying to rename a site after I created some sections, workspaces and documents. From the root folder in the ZMI (http://localhost:8080/manage_main), I selected the checkbox next to the site I wanted to rename and then clicked the rename button. Then in the next screen I entered the new name for the site and clicked the ok button. As I wrote before this happens only when I try to rename the site with some contents in it. I tried the same procedure on a new site without contents and I didn't have any problem. Could it be related to some sections, workspaces or documents containing characters with accents, as à è ì, ecc.?
Thanks again, Stefano > Hi, > I could not reproduce the bug, could you give more details in the > tracker (steps to reproduce would be great if you can)? > Thanks, > anahide. > > Stefano Schintu a écrit : > > Hello, > > when I try to rename a CPS site from the ZMI I get an UnicodeDecodeError. > > > > This is what I found in the logs: > > > > 2006-02-21T15:46:42 ERROR Zope.SiteErrorLog > > http://localhost:8080/manage_renameObjects > > Traceback (most recent call last): > > File "/home/zope/z290-p242/lib/python/ZPublisher/Publish.py", line > > 119, in publish > > transactions_manager.commit() > > File "/home/zope/z290-p242/lib/python/Zope2/App/startup.py", line > > 234, in commit > > transaction.commit() > > File "/home/zope/z290-p242/lib/python/transaction/_manager.py", line > > 96, in commit > > return self.get().commit(sub, deprecation_wng=False) > > File > > "/home/zope/cps340-z290-p242/Products/CPSCompat/PatchZODBTransaction.py", > > line 169, in commit > > self._callBeforeCommitHooks() > > File "/home/zope/z290-p242/lib/python/transaction/_transaction.py", > > line 421, in _callBeforeCommitHooks > > hook(*args, **kws) > > File "/home/zope/cps340-z290-p242/Products/CPSCore/commithooks.py", > > line 229, in __call__ > > subscriber(*args, **kws) > > File "/home/zope/cps340-z290-p242/Products/CPSCore/IndexationManager.py", > > line 132, in __call__ > > self.process(info['object'], info['idxs'], info['secu']) > > File "/home/zope/cps340-z290-p242/Products/CPSCore/IndexationManager.py", > > line 151, in process > > ob._reindexObject(idxs=idxs) > > File "/home/zope/cps340-z290-p242/Products/CPSCore/ProxyBase.py", > > line 402, in _reindexObject > > return CMFCatalogAware.reindexObject(self, idxs=idxs) > > File "/home/zope/cps340-z290-p242/Products/CMFCore/CMFCatalogAware.py", > > line 87, in reindexObject > > catalog.reindexObject(self, idxs=idxs) > > File "/home/zope/cps340-z290-p242/Products/CMFCore/CatalogTool.py", > > line 353, in reindexObject > > self.catalog_object(object, uid, idxs, update_metadata) > > File "/home/zope/cps340-z290-p242/Products/CPSCore/PatchCatalogTool.py", > > line 242, in cat_catalog_object > > ZCatalog.catalog_object(self, w, uid, idxs, update_metadata, *pgharg) > > File "/home/zope/z290-p242/lib/python/Products/ZCatalog/ZCatalog.py", > > line 566, in catalog_object > > update_metadata=update_metadata) > > File "/home/zope/z290-p242/lib/python/Products/ZCatalog/Catalog.py", > > line 360, in catalogObject > > blah = x.index_object(index, object, threshold) > > File > > "/home/zope/z290-p242/lib/python/Products/PluginIndexes/common/UnIndex.py", > > line 235, in index_object > > res += self._index_object(documentId, obj, threshold, attr) > > File > > "/home/zope/z290-p242/lib/python/Products/PluginIndexes/common/UnIndex.py", > > line 262, in _index_object > > self.insertForwardIndexEntry(datum, documentId) > > File > > "/home/zope/z290-p242/lib/python/Products/PluginIndexes/common/UnIndex.py", > > line 207, in insertForwardIndexEntry > > indexRow = self._index.get(entry, _marker) > > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe0 in position > > 60: ordinal not in range(128) > > > > This happens only when I try to rename a site with some sections, > > workspaces and documents already created, it works fine when I try to > > rename a new site. > > > > Stefano > > _______________________________________________ > > cps-users mailing list > > [email protected] > > http://lists.nuxeo.com/mailman/listinfo/cps-users > _______________________________________________ cps-users mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/cps-users
