Message9618

Author Arfrever
Recipients Arfrever
Date 2015-03-11.18:21:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426098078.25.0.98472961394.issue2286@psf.upfronthosting.co.za>
In-reply-to
Content
Used packages:
https://pypi.python.org/pypi/pep8/1.6.2
https://pypi.python.org/pypi/autopep8/1.1.1

$ PYTHONPATH="$(pwd)" jython2.7 test/test_autopep8.py
…
======================================================================
ERROR: test_e501_experimental_with_unicode (__main__.ExperimentalSystemTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_autopep8.py", line 5455, in test_e501_experimental_with_unicode
    fixed = """\
  File "/usr/share/jython-2.7/Lib/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/usr/share/jython-2.7/Lib/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "test/test_autopep8.py", line 5902, in autopep8_context
    yield autopep8.fix_file(filename=filename, options=options)
  File "/tmp/autopep8-1.1.1/autopep8.py", line 2910, in fix_file
    fixed_source = fix_lines(fixed_source, options, filename=filename)
  File "/tmp/autopep8-1.1.1/autopep8.py", line 2890, in fix_lines
    fixed_source = fix.fix()
  File "/tmp/autopep8-1.1.1/autopep8.py", line 533, in fix
    results = _execute_pep8(pep8_options, self.source)
  File "/tmp/autopep8-1.1.1/autopep8.py", line 2434, in _execute_pep8
    checker.check_all()
  File "/usr/share/jython-2.7/Lib/site-packages/pep8.py", line 1572, in check_all
    for token in self.generate_tokens():
  File "/usr/share/jython-2.7/Lib/site-packages/pep8.py", line 1524, in generate_tokens
    self.maybe_check_physical(token)
  File "/usr/share/jython-2.7/Lib/site-packages/pep8.py", line 1524, in generate_tokens
    self.maybe_check_physical(token)
  File "/usr/share/jython-2.7/Lib/site-packages/pep8.py", line 1534, in maybe_check_physical
    self.check_physical(token[4])
  File "/usr/share/jython-2.7/Lib/site-packages/pep8.py", line 1431, in check_physical
    result = self.run_check(check, argument_names)
  File "/usr/share/jython-2.7/Lib/site-packages/pep8.py", line 1419, in run_check
    return check(*arguments)
  File "/usr/share/jython-2.7/Lib/site-packages/pep8.py", line 223, in maximum_line_length
    length = len(line.decode('utf-8'))
  File "/usr/share/jython-2.7/Lib/site-packages/pep8.py", line 223, in maximum_line_length
    length = len(line.decode('utf-8'))
  File "/usr/share/jython-2.7/Lib/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
IllegalArgumentException: java.lang.IllegalArgumentException: Cannot create PyString with non-byte value
…
History
Date User Action Args
2015-03-11 18:21:18Arfreversetrecipients: + Arfrever
2015-03-11 18:21:18Arfreversetmessageid: <1426098078.25.0.98472961394.issue2286@psf.upfronthosting.co.za>
2015-03-11 18:21:18Arfreverlinkissue2286 messages
2015-03-11 18:21:17Arfrevercreate