On 2/10/2017 11:28 AM, jp charras wrote: > Le 10/02/2017 à 16:20, Wayne Stambaugh a écrit : >> I'm not sure why this is failing. Here is what I get when I run the qa >> tests: >> >> $ python2 ./test.py >> test_assert_equal (test_000_qa_works.TestQAWorks) ... ok >> test_assert_true (test_000_qa_works.TestQAWorks) ... ok >> test_pcb_load (test_001_pcb_load.TestPCBLoad) ... ok >> test_pcb_module_references (test_001_pcb_load.TestPCBLoad) ... ok >> test_pcb_modules (test_001_pcb_load.TestPCBLoad) ... ok >> test_pcb_netcount (test_001_pcb_load.TestPCBLoad) ... ok >> test_pcb_track_count (test_001_pcb_load.TestPCBLoad) ... ok >> test_pcb_bounding_box (test_002_board_class.TestBoardClass) ... ok >> test_pcb_find_module (test_002_board_class.TestBoardClass) ... ok >> test_pcb_get_pad (test_002_board_class.TestBoardClass) ... ok >> test_pcb_get_track_count (test_002_board_class.TestBoardClass) ... ok >> test_pcb_layer_id_get (test_002_board_class.TestBoardClass) ... ok >> test_pcb_layer_name_set_get (test_002_board_class.TestBoardClass) ... ok >> test_pcb_save_and_load (test_002_board_class.TestBoardClass) ... ok >> >> ---------------------------------------------------------------------- >> Ran 14 tests in 0.321s >> >> OK > >>> ====================================================================== >>> ERROR: test_001_pcb_load (unittest.loader.ModuleImportFailure) >>> ---------------------------------------------------------------------- >>> ImportError: Failed to import test module: test_001_pcb_load >>> Traceback (most recent call last): >>> File "/usr/lib/python2.7/unittest/loader.py", line 254, in _find_tests >>> module = self._get_module_from_name(name) >>> File "/usr/lib/python2.7/unittest/loader.py", line 232, in >>> _get_module_from_name >>> __import__(name) >>> File >>> "<http://ci.kicad-pcb.org/job/kicad-qa/ws/qa/testcases/test_001_pcb_load.py",> >>> line 3, in <module> >>> import pcbnew >>> File "<http://ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew/pcbnew.py",> >>> line 15628 >>> -style classes. >>> ^ >>> SyntaxError: invalid syntax > > > the auto generated file > ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew/pcbnew.py looks strange to me: > > line 15628 is the last non empty line of pcbnew.py and is: > "-style classes." > > This is certainly not a correct Python line, and does not exist in my working > tree > > Perhaps an issue in the build process. >
This doesn't exist in any of my build trees either. I wonder if something went wrong when pcbnew.py got generated. It looks like the file is truncated for some reason. Anyone else have any ideas? _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

