Bug 1702110
| Summary: | [abrt] recoll: find_cookie(): tokenize.py:405:find_cookie: File "<string>", line None | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | kxra | ||||||||||||||||
| Component: | recoll | Assignee: | Terje Røsten <terje.rosten> | ||||||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||
| Version: | 30 | CC: | pbonzini, terje.rosten | ||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/23874e9fe97a01ff24bd810224a292c37d9d593b | ||||||||||||||||||
| Whiteboard: | abrt_hash:463898153340056d233577fc7a032c48355127c7;VARIANT_ID=workstation; | ||||||||||||||||||
| Fixed In Version: | recoll-1.25.15-1.fc28 recoll-1.25.15-1.fc30 recoll-1.25.15-1.fc29 | Doc Type: | If docs needed, set a value | ||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||
| Last Closed: | 2019-05-07 04:49:55 UTC | Type: | --- | ||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||
| Embargoed: | |||||||||||||||||||
| Attachments: |
|
||||||||||||||||||
Created attachment 1557309 [details]
File: backtrace
Created attachment 1557310 [details]
File: cgroup
Created attachment 1557311 [details]
File: cpuinfo
Created attachment 1557312 [details]
File: environ
Created attachment 1557313 [details]
File: mountinfo
Created attachment 1557314 [details]
File: namespaces
Created attachment 1557315 [details]
File: open_fds
recoll-1.25.15-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-7abe176067 recoll-1.25.15-1.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-a4787f16d2 recoll-1.25.15-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2019-b3167666fa recoll-1.25.15-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-b3167666fa recoll-1.25.15-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-7abe176067 recoll-1.25.15-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-a4787f16d2 recoll-1.25.15-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. recoll-1.25.15-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. recoll-1.25.15-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report. |
Version-Release number of selected component: recoll-1.25.11-1.fc30 Additional info: reporter: libreport-2.10.0 cmdline: /usr/bin/python3 /usr/share/recoll/filters/rclpython /home/kyra/.local/lib/python2.7/site-packages/astroid/tests/testdata/python2/data/invalid_encoding.py crash_function: find_cookie exception_type: LookupError executable: /usr/share/recoll/filters/rclpython interpreter: python3-3.7.3-1.fc30.x86_64 kernel: 5.0.8-300.fc30.x86_64 runlevel: N 5 type: Python3 uid: 1000 Truncated backtrace: tokenize.py:405:find_cookie: File "<string>", line None Traceback (most recent call last): File "/usr/lib64/python3.7/tokenize.py", line 397, in find_cookie codec = lookup(encoding) LookupError: unknown encoding: lala During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/recoll/filters/rclpython", line 258, in <module> colorize_file(filepath, out) File "/usr/share/recoll/filters/rclpython", line 239, in colorize_file Parser(source, out=outstream).format() File "/usr/share/recoll/filters/rclpython", line 155, in format for a,b,c,d,e in tokenize.tokenize(text.readline): File "/usr/lib64/python3.7/tokenize.py", line 481, in tokenize encoding, consumed = detect_encoding(readline) File "/usr/lib64/python3.7/tokenize.py", line 426, in detect_encoding encoding = find_cookie(first) File "/usr/lib64/python3.7/tokenize.py", line 405, in find_cookie raise SyntaxError(msg) File "<string>", line None SyntaxError: unknown encoding: lala Local variables in innermost frame: line: b'# -*- coding: lala -*-' line_string: '# -*- coding: lala -*-' msg: 'unknown encoding: lala' match: <re.Match object; span=(0, 18), match='# -*- coding: lala'> encoding: 'lala' bom_found: False filename: None