From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DNS_FROM_OPENWHOIS, RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.2.5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=51eJFY88aXM152kmvEWtO0LZLzdfY2s4b6CLmlDlMd8=; b=hN9ABRHfrXJQtQIJWrmO0MvbeH2q5eOIZQPeHHhKFoAJ3xtsn6vVwLPqxSYkJ9Tic1 2HEmJ0w1AAAbSSL1v5o9XOoPo7l0o5OAAp1HBtzlyyT6DS7KwR8zox1cAVTHBEMHMakK VyGRMtjN2Hohci9eKcwbVgicDybtveMtEZffw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=VHi//P0uTac8TWt7Cs9Jd8XGU+tVtHErzbGXJtzlj/IxzqfwLYRO5Jlynyk/mfZZkC 8W3k2Mg4hVtvGrzv1zCqODM48DlvuV6xKKZS/ql/R3tFBICSBh0c75K8wdbOt0DYofSM xJEd6AFYikMQ6ypS1FM5vw4Oex9mtdNEwAQ9A= MIME-Version: 1.0 Date: Wed, 29 Dec 2010 02:41:06 +0300 Message-ID: From: Alexander Potashev To: KDE russian translation mailing list Content-Type: text/plain; charset=UTF-8 Subject: [kde-russian] Pology: Writing spelling mistakes to XML X-BeenThere: kde-russian@lists.kde.ru X-Mailman-Version: 2.1.12 Precedence: list Reply-To: KDE russian translation mailing list List-Id: KDE russian translation mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Dec 2010 23:41:23 -0000 Archived-At: List-Archive: Hi, When I run a command like this: posieve.py check-rules ru/messages/playground-accessibility/ksayit.po -sxml:xml_output , I get the following warnings: [warning] messages/playground-accessibility/ksayit.po:73(#12): Sieving failed: too many values to unpack [warning] messages/playground-accessibility/ksayit.po:234(#48): Sieving failed: too many values to unpack [warning] messages/playground-accessibility/ksayit.po:291(#62): Sieving failed: too many values to unpack The file ksayit.po contains 3 mistakes according to rules and 3 spelling mistakes (6 problems total). When running "posieve.py check-rules ..." without redirecting to XML file, all 6 mistakes are shown. But the XML output does not contain spelling mistakes (and the above warnings point exactly to the messages with spelling mistakes). I can run "posieve.py check-spell" with "-sxml" option, but it seems to be unable to filter out all latin letters before spell-checking. You can find all the rules and aspell dictionaries necessary to reproduce the warnings in pology/lang/ru. You should copy or symlink check-spell.rules.disabled to check-spell.rules in order to enable spell-checking. P.S.: (About caching.) On second checking, 'posieve check-rules -sxml:... ...' says "Using cache." and does not shows the warnings again. How can I clear that cache? -- Alexander Potashev