New submission from STINNER Victor <victor.stin...@haypocalc.com>:

http://www.python.org/dev/buildbot/builders/x86%20debian%20parallel%203.x/builds/806/steps/test/logs/stdio

test test_lib2to3 failed -- multiple errors occurred

======================================================================
ERROR: test_bom (lib2to3.tests.test_refactor.TestRefactoringTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home2/buildbot2/slave/3.x.loewis-parallel/build/Lib/lib2to3/tests/test_refactor.py",
 line 239, in test_bom
    data = self.check_file_refactoring(fn)
  File 
"/home2/buildbot2/slave/3.x.loewis-parallel/build/Lib/lib2to3/tests/test_refactor.py",
 line 186, in check_file_refactoring
    rt.refactor_file(test_file)
  File 
"/home2/buildbot2/slave/3.x.loewis-parallel/build/Lib/lib2to3/refactor.py", 
line 348, in refactor_file
    tree = self.refactor_string(input, filename)
  File 
"/home2/buildbot2/slave/3.x.loewis-parallel/build/Lib/lib2to3/refactor.py", 
line 380, in refactor_string
    self.refactor_tree(tree, name)
  File 
"/home2/buildbot2/slave/3.x.loewis-parallel/build/Lib/lib2to3/refactor.py", 
line 441, in refactor_tree
    find_root(node)
  File 
"/home2/buildbot2/slave/3.x.loewis-parallel/build/Lib/lib2to3/fixer_util.py", 
line 276, in find_root
    while node.type != syms.file_input:
AttributeError: 'NoneType' object has no attribute 'type'

======================================================================
ERROR: test_crlf_newlines (lib2to3.tests.test_refactor.TestRefactoringTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home2/buildbot2/slave/3.x.loewis-parallel/build/Lib/lib2to3/tests/test_refactor.py",
 line 248, in test_crlf_newlines
    self.check_file_refactoring(fn, fixes)
  File 
"/home2/buildbot2/slave/3.x.loewis-parallel/build/Lib/lib2to3/tests/test_refactor.py",
 line 186, in check_file_refactoring
    rt.refactor_file(test_file)
  File 
"/home2/buildbot2/slave/3.x.loewis-parallel/build/Lib/lib2to3/refactor.py", 
line 348, in refactor_file
    tree = self.refactor_string(input, filename)
  File 
"/home2/buildbot2/slave/3.x.loewis-parallel/build/Lib/lib2to3/refactor.py", 
line 380, in refactor_string
    self.refactor_tree(tree, name)
  File 
"/home2/buildbot2/slave/3.x.loewis-parallel/build/Lib/lib2to3/refactor.py", 
line 441, in refactor_tree
    find_root(node)
  File 
"/home2/buildbot2/slave/3.x.loewis-parallel/build/Lib/lib2to3/fixer_util.py", 
line 276, in find_root
    while node.type != syms.file_input:
AttributeError: 'NoneType' object has no attribute 'type'

======================================================================
ERROR: test_file_encoding (lib2to3.tests.test_refactor.TestRefactoringTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home2/buildbot2/slave/3.x.loewis-parallel/build/Lib/lib2to3/tests/test_refactor.py",
 line 235, in test_file_encoding
    self.check_file_refactoring(fn)
  File 
"/home2/buildbot2/slave/3.x.loewis-parallel/build/Lib/lib2to3/tests/test_refactor.py",
 line 186, in check_file_refactoring
    rt.refactor_file(test_file)
  File 
"/home2/buildbot2/slave/3.x.loewis-parallel/build/Lib/lib2to3/refactor.py", 
line 348, in refactor_file
    tree = self.refactor_string(input, filename)
  File 
"/home2/buildbot2/slave/3.x.loewis-parallel/build/Lib/lib2to3/refactor.py", 
line 380, in refactor_string
    self.refactor_tree(tree, name)
  File 
"/home2/buildbot2/slave/3.x.loewis-parallel/build/Lib/lib2to3/refactor.py", 
line 441, in refactor_tree
    find_root(node)
  File 
"/home2/buildbot2/slave/3.x.loewis-parallel/build/Lib/lib2to3/fixer_util.py", 
line 276, in find_root
    while node.type != syms.file_input:
AttributeError: 'NoneType' object has no attribute 'type'

======================================================================
ERROR: test_unencodable_diff (lib2to3.tests.test_main.TestMain)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/home2/buildbot2/slave/3.x.loewis-parallel/build/Lib/lib2to3/tests/test_main.py",
 line 36, in test_unencodable_diff
    ret = self.run_2to3_capture(["-"], input_stream, out_enc, err)
  File 
"/home2/buildbot2/slave/3.x.loewis-parallel/build/Lib/lib2to3/tests/test_main.py",
 line 25, in run_2to3_capture
    return main.main("lib2to3.fixes", args)
  File "/home2/buildbot2/slave/3.x.loewis-parallel/build/Lib/lib2to3/main.py", 
line 168, in main
    rt.refactor_stdin()
  File 
"/home2/buildbot2/slave/3.x.loewis-parallel/build/Lib/lib2to3/refactor.py", 
line 393, in refactor_stdin
    tree = self.refactor_string(input, "<stdin>")
  File 
"/home2/buildbot2/slave/3.x.loewis-parallel/build/Lib/lib2to3/refactor.py", 
line 380, in refactor_string
    self.refactor_tree(tree, name)
  File 
"/home2/buildbot2/slave/3.x.loewis-parallel/build/Lib/lib2to3/refactor.py", 
line 441, in refactor_tree
    find_root(node)
  File 
"/home2/buildbot2/slave/3.x.loewis-parallel/build/Lib/lib2to3/fixer_util.py", 
line 276, in find_root
    while node.type != syms.file_input:
AttributeError: 'NoneType' object has no attribute 'type'

----------------------------------------------------------------------

----------
components: 2to3 (2.x to 3.0 conversion tool)
messages: 120607
nosy: benjamin.peterson, haypo
priority: normal
severity: normal
status: open
title: test_lib2to3 failure on buildbot x86 debian parallel 3.x: node is None 
in find_root()
versions: Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10338>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to