= Description = ## Please read this page. Lines prefixed with ## such as this one are comments, ## you can remove them (except for those after the "Plan" section.) ## Please follow the instructions given in those comments and the text. ## After creating the bug page, please subscribe to it! We may have questions ## that only you can answer, and if you get email when your bug changes it'll ## be much faster to get it fixed since you can answer the questions! A OOo document with a password leads to the following problems with Xapian Search: * when attaching the file the filter plugin throws an exception and the document can not be indexed * when rebuilding the index (Xapian) the script stops with an exception == Steps to reproduce == ## Describe the steps needed to reproduce the bug. If we can't reproduce it, we probably can't fix it. 1. Produce a OOo document with a password 1. Attach that document. 1. Review the moin logs. 1. Rebuild the Xapian Index (--mode=rebuild). == Example == ##Add URL that show the bug, screenshot or test wiki markup that fail... ##URL: ##{{attachment:screenshot.png}} ##{{{ ##Example wiki markup that fail ##}}} == Component selection == ## Where you think is this bug happening ? (general, plugin [plugin name], theme [theme name], ... * MoinMoin/filter/application_vnd_oasis_opendocument.py == Details == ## If you got a traceback, please save the traceback page as html and attach here: ## [[attachment:traceback.html]] * Traceback {{{ "/opt/moin/lib/python2.6/site-packages/MoinMoin/filter/application_vnd_oasis_opendocument.py",line 27, in execute return data.decode('utf-8') File "/opt/webstack/python/lib/python2.6/encodings/utf_8.py", line 16,in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode bytes in position 2-3:invalid data }}} ## if the bug is in this wiki, just kill the table and write: This Wiki. ## If a traceback is not available, please fill in the details here: || '''!MoinMoin Version''' || 1.8.5 || || '''OS and Version''' || SunOS sun 5.10 Generic_141445-09 i86pc i386 i86pc || || '''Python Version''' || Python 2.6.1 || || '''Server Setup''' || Apache and mod_wsgi || || '''Server Details''' || Apache 2.2.11,mod_wsgi 2.6 || || '''Language you are using the wiki in''' (set in the browser/UserPreferences) || german || == Workaround == ## How to deal with the bug until it is fixed * turn off Xapian Search or * don't use OOo documents with passwords or * ignore exceptions for these documents = Discussion = = Plan = ## This part is for Moin``Moin developers: * Priority: * Assigned to: * Status: fixed by http://hg.moinmo.in/moin/1.8/rev/b2e96d4cac1c (catch exception) ---- ## If you are a moin core developer, replace the category to Category* in these cases: ## Category MoinMoinNoBug - if this is not a bug. ## Category MoinMoinBugConfirmed - if you can confirm the bug on current code. ## Category MoinMoinBugFixed - after the bug is fixed in current code. CategoryMoinMoinBugFixed