Bug 952732

Summary: [abrt] pyflakes-0.6.1-1.fc18: reporter.py:39:unexpectedError:UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128)
Product: [Fedora] Fedora Reporter: autarch princeps <autarch>
Component: pyflakesAssignee: Jeffrey C. Ollie <jeff>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: jeff, ville.skytta
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:3605a7a959d45184f7a48c24cdaacd17ab003661
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-28 03:49:37 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:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: environ none

Description autarch princeps 2013-04-16 14:59:45 UTC
Version-Release number of selected component:
pyflakes-0.6.1-1.fc18

Additional info:
cmdline:        /usr/bin/python /usr/bin/pyflakes '\xe2\xb0\x94\xe2\xb0\x8b'
executable:     /usr/bin/pyflakes
kernel:         3.8.7-201.fc18.x86_64
runlevel:       N 5
uid:            1000
ureports_counter: 2

Truncated backtrace:
reporter.py:39:unexpectedError:UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/bin/pyflakes", line 9, in <module>
    load_entry_point('pyflakes==0.6.1', 'console_scripts', 'pyflakes')()
  File "/usr/lib/python2.7/site-packages/pyflakes/api.py", line 127, in main
    warnings = checkRecursive(args, reporter)
  File "/usr/lib/python2.7/site-packages/pyflakes/api.py", line 119, in checkRecursive
    warnings += checkPath(sourcePath, reporter)
  File "/usr/lib/python2.7/site-packages/pyflakes/api.py", line 82, in checkPath
    reporter.unexpectedError(filename, 'problem decoding source')
  File "/usr/lib/python2.7/site-packages/pyflakes/reporter.py", line 39, in unexpectedError
    self._stderr.write(u("%s: %s\n") % (filename, msg))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128)

Local variables in innermost frame:
msg: 'problem decoding source'
self: <pyflakes.reporter.Reporter object at 0xac9ad0>
filename: '\xe2\xb0\x94\xe2\xb0\x8b'

Comment 1 autarch princeps 2013-04-16 14:59:48 UTC
Created attachment 736365 [details]
File: backtrace

Comment 2 autarch princeps 2013-04-16 14:59:50 UTC
Created attachment 736366 [details]
File: core_backtrace

Comment 3 autarch princeps 2013-04-16 14:59:53 UTC
Created attachment 736367 [details]
File: environ

Comment 4 Ville Skyttä 2013-04-18 19:15:14 UTC
Looks like a regression since 0.6.1, it used to work in 0.5.
Reported upstream: https://bugs.launchpad.net/pyflakes/+bug/1170459

Comment 5 Fedora Update System 2013-04-23 16:25:12 UTC
pyflakes-0.7.1-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/FEDORA-2013-6088/pyflakes-0.7.1-1.fc19

Comment 6 Fedora Update System 2013-04-24 16:41:09 UTC
Package pyflakes-0.7.1-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing pyflakes-0.7.1-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-6088/pyflakes-0.7.1-1.fc19
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-04-28 03:49:39 UTC
pyflakes-0.7.1-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.