yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #53554
[Bug 1600068] [NEW] Cannot run tox using python 3
Public bug reported:
This is because of a unicode character that can't be decoded
Traceback (most recent call last):
File "/usr/bin/tox", line 11, in <module>
sys.exit(cmdline())
File "/usr/lib/python3.5/site-packages/tox/session.py", line 38, in main
config = prepare(args)
File "/usr/lib/python3.5/site-packages/tox/session.py", line 26, in prepare
config = parseconfig(args)
File "/usr/lib/python3.5/site-packages/tox/config.py", line 229, in parseconfig
parseini(config, inipath)
File "/usr/lib/python3.5/site-packages/tox/config.py", line 644, in __init__
self._cfg = py.iniconfig.IniConfig(config.toxinipath)
File "/usr/lib/python3.5/site-packages/py/_iniconfig.py", line 52, in __init__
tokens = self._parse(iter(f))
File "/usr/lib/python3.5/site-packages/py/_iniconfig.py", line 80, in _parse
for lineno, line in enumerate(line_iter):
File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 4222: ordinal not in range(128)
** Affects: neutron
Importance: Undecided
Assignee: Brandon Logan (brandon-logan)
Status: In Progress
** Changed in: neutron
Assignee: (unassigned) => Brandon Logan (brandon-logan)
** Changed in: neutron
Status: New => In Progress
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1600068
Title:
Cannot run tox using python 3
Status in neutron:
In Progress
Bug description:
This is because of a unicode character that can't be decoded
Traceback (most recent call last):
File "/usr/bin/tox", line 11, in <module>
sys.exit(cmdline())
File "/usr/lib/python3.5/site-packages/tox/session.py", line 38, in main
config = prepare(args)
File "/usr/lib/python3.5/site-packages/tox/session.py", line 26, in prepare
config = parseconfig(args)
File "/usr/lib/python3.5/site-packages/tox/config.py", line 229, in parseconfig
parseini(config, inipath)
File "/usr/lib/python3.5/site-packages/tox/config.py", line 644, in __init__
self._cfg = py.iniconfig.IniConfig(config.toxinipath)
File "/usr/lib/python3.5/site-packages/py/_iniconfig.py", line 52, in __init__
tokens = self._parse(iter(f))
File "/usr/lib/python3.5/site-packages/py/_iniconfig.py", line 80, in _parse
for lineno, line in enumerate(line_iter):
File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 4222: ordinal not in range(128)
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1600068/+subscriptions
Follow ups