Bug 700321

Summary: [abrt] recoll-1.14.4-1.fc14: re.py:151:sub:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc9 in position 0: ordinal not in range(128)
Product: [Fedora] Fedora Reporter: hallam71
Component: recollAssignee: Terje Røsten <terje.rosten>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: terje.rosten
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:bfb0f457
Fixed In Version: recoll-1.15.8-2.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-02 11:01:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace none

Description hallam71 2011-04-28 06:43:34 UTC
abrt version: 1.1.17
architecture: x86_64
component: recoll
executable: /usr/share/recoll/filters/rclchm
kernel: 2.6.35.12-88.fc14.x86_64
package: recoll-1.14.4-1.fc14
reason: re.py:151:sub:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc9 in position 0: ordinal not in range(128)
release: Fedora release 14 (Laughlin)
time: 1303638621
uid: 500

backtrace
-----
re.py:151:sub:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc9 in position 0: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/share/recoll/filters/rclchm", line 152, in <module>
    rclexecm.main(proto, extract)
  File "/usr/share/recoll/filters/rclexecm.py", line 144, in main
    proto.mainloop(extract)
  File "/usr/share/recoll/filters/rclexecm.py", line 137, in mainloop
    self.processmessage(processor, params)
  File "/usr/share/recoll/filters/rclexecm.py", line 104, in processmessage
    if not processor.openfile(params):
  File "/usr/share/recoll/filters/rclchm", line 134, in openfile
    self.tp.feed(self.topics)
  File "/usr/lib64/python2.7/HTMLParser.py", line 108, in feed
    self.goahead(0)
  File "/usr/lib64/python2.7/HTMLParser.py", line 148, in goahead
    k = self.parse_starttag(i)
  File "/usr/lib64/python2.7/HTMLParser.py", line 252, in parse_starttag
    attrvalue = self.unescape(attrvalue)
  File "/usr/lib64/python2.7/HTMLParser.py", line 390, in unescape
    return re.sub(r"&(#?[xX]?(?:[0-9a-fA-F]+|\w{1,8}));", replaceEntities, s)
  File "/usr/lib64/python2.7/re.py", line 151, in sub
    return _compile(pattern, flags).sub(repl, string, count)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc9 in position 0: ordinal not in range(128)

Local variables in innermost frame:
count: 0
pattern: '&(#?[xX]?(?:[0-9a-fA-F]+|\\w{1,8}));'
repl: <function replaceEntities at 0x7eff9bddcd70>
flags: 0
string: '&quot;\xc9\xd5\xc2\xbc&quot;\xb4\xb0\xbf\xda'

How to reproduce
-----
1. sorry, but I do not know.   I started Recoll from terminal, I think as root, and that is what happened. 
2.
3.

Comment 1 hallam71 2011-04-28 06:43:37 UTC
Created attachment 495418 [details]
File: backtrace

Comment 2 Fedora Update System 2011-05-24 07:08:14 UTC
recoll-1.15.8-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/recoll-1.15.8-2.fc15

Comment 3 Fedora Update System 2011-05-24 07:08:35 UTC
recoll-1.15.8-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/recoll-1.15.8-2.fc14

Comment 4 Fedora Update System 2011-05-24 07:08:56 UTC
recoll-1.15.8-2.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/recoll-1.15.8-2.fc13

Comment 5 Fedora Update System 2011-05-25 03:00:44 UTC
Package recoll-1.15.8-2.fc13:
* should fix your issue,
* was pushed to the Fedora 13 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing recoll-1.15.8-2.fc13'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/recoll-1.15.8-2.fc13
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2011-06-02 11:01:04 UTC
recoll-1.15.8-2.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2011-06-02 18:50:43 UTC
recoll-1.15.8-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2011-06-02 18:54:22 UTC
recoll-1.15.8-2.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2011-06-02 19:10:03 UTC
recoll-1.15.8-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.