I made an update of my pywikibot-core repository ( /usr/bin/git pullall) and now I have an error when editing my User page for tests :
Exception in thread Put-Thread:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/mnt/nfs/labstore-secondary-tools-project/herculebot/pywikibot-core/pywi kibot/__init__.py", line 1409, in async_manager
request(*args, **kwargs)
File "/mnt/nfs/labstore-secondary-tools-project/herculebot/pywikibot-core/pywi kibot/page.py", line 109, in handle
func(self, *args, **kwargs)
File "/mnt/nfs/labstore-secondary-tools-project/herculebot/pywikibot-core/pywi kibot/page.py", line 1278, in _save
summary = self._cosmetic_changes_hook(summary)
File "/mnt/nfs/labstore-secondary-tools-project/herculebot/pywikibot-core/pywi kibot/page.py", line 1325, in _cosmetic_changes_hook
self.text = ccToolkit.change(old)
File "/mnt/nfs/labstore-secondary-tools-project/herculebot/pywikibot-core/pywi kibot/cosmetic_changes.py", line 301, in change
new_text = self._change(text)
File "/mnt/nfs/labstore-secondary-tools-project/herculebot/pywikibot-core/pywi kibot/cosmetic_changes.py", line 295, in _change
text = self.safe_execute(method, text)
File "/mnt/nfs/labstore-secondary-tools-project/herculebot/pywikibot-core/pywi kibot/cosmetic_changes.py", line 282, in safe_execute
result = method(text)
File "/mnt/nfs/labstore-secondary-tools-project/herculebot/pywikibot-core/pywi kibot/cosmetic_changes.py", line 662, in removeEmptySections
stripped_text = str(text)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xea' in position 78: ordinal not in range(128)
Do I need to make something else ?