<div dir="ltr"><div><span style="font-family:arial,sans-serif;font-size:20px">Hello:</span></div><div><span style="font-family:arial,sans-serif;font-size:20px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:20px">Posieve fails with the following traceback due of the lack of the sentence "import locale" in the module "match.py".</span></div>
<div><span style="font-family:arial,sans-serif;font-size:20px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:20px">The problem occurs when posieve is called with a malformed regexpr.</span></div>
<div><span style="font-family:arial,sans-serif;font-size:20px"><br></span></div><span style="font-family:arial,sans-serif;font-size:20px">Traceback (most recent call last):nroot-cop/branches/</span><span style="font-family:arial,sans-serif;font-size:20px">stable/l10n-kde4/es/messages/</span><span style="font-family:arial,sans-serif;font-size:20px">kde-workspace/libplasmaclock.</span><span style="font-family:arial,sans-serif;font-size:20px">po</span><br style="font-family:arial,sans-serif;font-size:20px">
<span style="font-family:arial,sans-serif;font-size:20px"> File "/home/javier/svnroot/pology/</span><span style="font-family:arial,sans-serif;font-size:20px">scripts/posieve.py", line 607, in <module></span><br style="font-family:arial,sans-serif;font-size:20px">
<span style="font-family:arial,sans-serif;font-size:20px"> exit_on_exception(main)</span><br style="font-family:arial,sans-serif;font-size:20px"><span style="font-family:arial,sans-serif;font-size:20px"> File "/home/javier/svnroot/pology/</span><span style="font-family:arial,sans-serif;font-size:20px">pology/fsops.py", line 990, in exit_on_exception</span><br style="font-family:arial,sans-serif;font-size:20px">
<span style="font-family:arial,sans-serif;font-size:20px"> func()</span><br style="font-family:arial,sans-serif;font-size:20px"><span style="font-family:arial,sans-serif;font-size:20px"> File "/home/javier/svnroot/pology/</span><span style="font-family:arial,sans-serif;font-size:20px">scripts/posieve.py", line 345, in main</span><br style="font-family:arial,sans-serif;font-size:20px">
<span style="font-family:arial,sans-serif;font-size:20px"> sieves.append(mod.Sieve(</span><span style="font-family:arial,sans-serif;font-size:20px">sparams[name]))</span><br style="font-family:arial,sans-serif;font-size:20px">
<span style="font-family:arial,sans-serif;font-size:20px"> File "/home/javier/svnroot/pology/</span><span style="font-family:arial,sans-serif;font-size:20px">sieve/find_messages.py", line 329, in __init__</span><br style="font-family:arial,sans-serif;font-size:20px">
<span style="font-family:arial,sans-serif;font-size:20px"> ], negatable=True, orlinked=self.p.or_match)</span><br style="font-family:arial,sans-serif;font-size:20px"><span style="font-family:arial,sans-serif;font-size:20px"> File "/home/javier/svnroot/pology/</span><span style="font-family:arial,sans-serif;font-size:20px">sieve/find_messages.py", line 308, in make_match_group</span><br style="font-family:arial,sans-serif;font-size:20px">
<span style="font-family:arial,sans-serif;font-size:20px"> raise SieveError(str_to_unicode(str(</span><span style="font-family:arial,sans-serif;font-size:20px">e)))</span><br style="font-family:arial,sans-serif;font-size:20px">
<span style="font-family:arial,sans-serif;font-size:20px"> File "/home/javier/svnroot/pology/</span><span style="font-family:arial,sans-serif;font-size:20px">pology/match.py", line 90, in __str__</span><br style="font-family:arial,sans-serif;font-size:20px">
<span style="font-family:arial,sans-serif;font-size:20px"> return self.__unicode__().encode(</span><span style="font-family:arial,sans-serif;font-size:20px">locale.getpreferredencoding())</span><br style="font-family:arial,sans-serif;font-size:20px">
<span style="font-family:arial,sans-serif;font-size:20px">NameError: global name 'locale' is not defined</span><br><div><span style="font-family:arial,sans-serif;font-size:20px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:20px">Regards, Javier</span></div>
</div>