Bug 1141237

Summary: [abrt] python-tools: posixpath.py:80:join:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 32: ordinal not in range(128)
Product: [Fedora] Fedora Reporter: Rodrigo de Farias Gomes <shpnft>
Component: pythonAssignee: Matej Stuchlik <mstuchli>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: bkabrda, dmalcolm, ivazqueznet, jberan, jonathansteffan, mstuchli, ncoghlan, rkuska, tomspur, tradej
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/09f01f88198e756adc95256f948f909924bf2bf1
Whiteboard: abrt_hash:04030078057796a3f7a521e588ccdb375ebbfc52
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-29 22:30:29 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: environ none

Description Rodrigo de Farias Gomes 2014-09-12 13:54:13 UTC
Description of problem:
1. Install ninja-ide (yum install ninja-ide)
2. Open python file from dir with unicode char in name

Version-Release number of selected component:
python-tools-2.7.5-13.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python2.7 /usr/bin/2to3 '/home/shpnft/Documentos/ufam/Per\xc3\xadodo Letivo 2014-1/aulas.tex/metnum.src/edo-3.py'
dso_list:       python-libs-2.7.5-13.fc20.x86_64
executable:     /usr/bin/2to3
kernel:         3.15.10-201.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
posixpath.py:80:join:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 32: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/bin/2to3", line 5, in <module>
    sys.exit(main("lib2to3.fixes"))
  File "/usr/lib64/python2.7/lib2to3/main.py", line 260, in main
    options.processes)
  File "/usr/lib64/python2.7/lib2to3/refactor.py", line 706, in refactor
    items, write, doctests_only)
  File "/usr/lib64/python2.7/lib2to3/refactor.py", line 301, in refactor
    self.refactor_file(dir_or_file, write, doctests_only)
  File "/usr/lib64/python2.7/lib2to3/refactor.py", line 747, in refactor_file
    *args, **kwargs)
  File "/usr/lib64/python2.7/lib2to3/refactor.py", line 354, in refactor_file
    tree = self.refactor_string(input, filename)
  File "/usr/lib64/python2.7/lib2to3/refactor.py", line 386, in refactor_string
    self.refactor_tree(tree, name)
  File "/usr/lib64/python2.7/lib2to3/refactor.py", line 460, in refactor_tree
    new = fixer.transform(node, results)
  File "/usr/lib64/python2.7/lib2to3/fixes/fix_import.py", line 63, in transform
    if self.probably_a_local_import(imp.value):
  File "/usr/lib64/python2.7/lib2to3/fixes/fix_import.py", line 91, in probably_a_local_import
    base_path = join(base_path, imp_name)
  File "/usr/lib64/python2.7/posixpath.py", line 80, in join
    path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 32: ordinal not in range(128)

Local variables in innermost frame:
a: '/home/shpnft/Documentos/ufam/Per\xc3\xadodo Letivo 2014-1/aulas.tex/metnum.src'
path: '/home/shpnft/Documentos/ufam/Per\xc3\xadodo Letivo 2014-1/aulas.tex/metnum.src'
b: u'__future__'
p: (u'__future__',)

Comment 1 Rodrigo de Farias Gomes 2014-09-12 13:54:18 UTC
Created attachment 936979 [details]
File: backtrace

Comment 2 Rodrigo de Farias Gomes 2014-09-12 13:54:20 UTC
Created attachment 936980 [details]
File: environ

Comment 3 Fedora Admin XMLRPC Client 2015-05-12 12:03:35 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Fedora End Of Life 2015-05-29 12:51:51 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Fedora End Of Life 2015-06-29 22:30:29 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.