Bug 952732 - [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)
Summary: [abrt] pyflakes-0.6.1-1.fc18: reporter.py:39:unexpectedError:UnicodeDecodeErr...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pyflakes
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jeffrey C. Ollie
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:3605a7a959d45184f7a48c24cda...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-16 14:59 UTC by autarch princeps
Modified: 2013-04-28 03:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-28 03:49:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.07 KB, text/plain)
2013-04-16 14:59 UTC, autarch princeps
no flags Details
File: core_backtrace (513 bytes, text/plain)
2013-04-16 14:59 UTC, autarch princeps
no flags Details
File: environ (8.51 KB, text/plain)
2013-04-16 14:59 UTC, autarch princeps
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.