Bug 1079576
| Summary: | [abrt] pyp2rpm: package_data.py:56:changelog_date_packager:UnicodeEncodeError: 'ascii' codec can't encode character u'\u010d' in position 9: ordinal not in range(128) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> | ||||||
| Component: | pyp2rpm | Assignee: | Robert Kuska <rkuska> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 20 | CC: | bkabrda, jberan, rkuska | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/120e1aa93b6b11466a6628b9edcf5da5e360277d | ||||||||
| Whiteboard: | abrt_hash:d873e5a0cee66a2e77ec7c347642406c406e0405 | ||||||||
| Fixed In Version: | pyp2rpm-1.1.0b-1.fc20 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2014-05-12 05:21:34 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 877504 [details]
File: backtrace
Created attachment 877505 [details]
File: environ
pyp2rpm-1.1.0b-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/pyp2rpm-1.1.0b-1.fc20 Package pyp2rpm-1.1.0b-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing pyp2rpm-1.1.0b-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-5835/pyp2rpm-1.1.0b-1.fc20 then log in and leave karma (feedback). pyp2rpm-1.1.0b-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: pyp2rpm -n python-social-auth Version-Release number of selected component: pyp2rpm-1.0.1-4.fc20 Additional info: reporter: libreport-2.1.12 cmdline: /usr/bin/python /usr/bin/pyp2rpm -n python-social-auth dso_list: python-jinja2-2.7.1-1.fc20.noarch executable: /usr/bin/pyp2rpm kernel: 3.12.10-300.fc20.x86_64 runlevel: N 5 type: Python uid: 1000 Truncated backtrace: package_data.py:56:changelog_date_packager:UnicodeEncodeError: 'ascii' codec can't encode character u'\u010d' in position 9: ordinal not in range(128) Traceback (most recent call last): File "/usr/bin/pyp2rpm", line 9, in <module> load_entry_point('pyp2rpm==1.0.1', 'console_scripts', 'pyp2rpm')() File "/usr/lib/python2.7/site-packages/pyp2rpm/bin.py", line 75, in main converted = convertor.convert() File "/usr/lib/python2.7/site-packages/pyp2rpm/convertor.py", line 75, in convert return jinja_template.render(data = data, name_convertor = name_convertor) 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 "/usr/lib/python2.7/site-packages/pyp2rpm/templates/fedora.spec", line 116, in top-level template code * {{ data.changelog_date_packager }} - {{ data.version }}-1 File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 397, in getattr return getattr(obj, attribute) File "/usr/lib/python2.7/site-packages/pyp2rpm/package_data.py", line 56, in changelog_date_packager return '{0} {1}'.format(date_str, packager.decode(encoding)) UnicodeEncodeError: 'ascii' codec can't encode character u'\u010d' in position 9: ordinal not in range(128) Local variables in innermost frame: packager: 'Miro Hron\xc4\x8dok <mhroncok>' date_str: 'Fri Mar 21 2014' self: <pyp2rpm.package_data.PypiData object at 0x27594d0> encoding: 'UTF-8' Potential duplicate: bug 982321