Bug 1617948
| Summary: | Run fails with UnicodeDecodeError: 'ascii' codec can't decode byte | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Frank Büttner <bugzilla> |
| Component: | R2spec | Assignee: | Pierre-YvesChibon <pingou> |
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | epel7 | CC: | pingou |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-07-09 02:31:45 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
EPEL 7 entered end-of-life (EOL) status on 2024-06-30.\n\nEPEL 7 is no longer maintained, which means that it\nwill not receive any further security or bug fix updates.\n As a result we are closing this bug. |
Description of problem: When I try to generate the package, an python error will occurs. Version-Release number of selected component (if applicable): R2spec-4.2.1-1.el7 How reproducible: Every time Steps to Reproduce: 1. R2spec --no-suggest --no-check -p alfred Actual results: Python error: Traceback (most recent call last): File "/usr/bin/R2spec", line 29, in <module> R2spec().main(ARG) File "/usr/lib/python2.7/site-packages/r2spec/r2spec_obj.py", line 286, in main spec.get_template() File "/usr/lib/python2.7/site-packages/r2spec/spec.py", line 230, in get_template self.spec = mytemplate.render(self.__dict) File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 969, in render return self.environment.handle_exception(exc_info, True) File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 742, in handle_exception reraise(exc_type, exc_value, tb) File "<template>", line 35, in top-level template code UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 250: ordinal not in range(128) Expected results: srpm + spec file