See <http://ci.kicad-pcb.org/job/kicad-full/395/changes>
Changes: [jean-pierre charras] Add a python script example in demo folder to create various plot files from a board. Fix also some issues in plot controller helper class. Important note: from a python script one cannot plot the palge layout, because the page layout template file is not stored in the board file, but it is part of the project. Because when using a python script, the project is not loaded, the page layout template is not known. Trying to plot it crashes the script. ------------------------------------------ Started by an SCM change Building on master in workspace <http://ci.kicad-pcb.org/job/kicad-full/ws/> $ bzr revision-info -d <http://ci.kicad-pcb.org/job/kicad-full/ws/> info result: bzr revision-info -d <http://ci.kicad-pcb.org/job/kicad-full/ws/> returned 0. Command output: "5626 jp.char...@wanadoo.fr-20150427085508-xumcef8vko0zy34b " stderr: "" [kicad-full] $ bzr pull --overwrite lp:kicad You have not informed bzr of your Launchpad ID, and you must do this to write to Launchpad or access private data. See "bzr help launchpad-login". http://bazaar.launchpad.net/~kicad-product-committers/kicad/product is permanently redirected to http://bazaar.launchpad.net/~kicad-product-committers/kicad/product/changes You have not informed bzr of your Launchpad ID, and you must do this to write to Launchpad or access private data. See "bzr help launchpad-login". +N demos/python_scripts_examples/ +N demos/python_scripts_examples/plot_board.py +N helpers/tools_to_build_newstroke-font/font.kicad_pcb M demos/CMakeLists.txt M demos/test_pads_inside_pads/test_pads_inside_pads.kicad_pcb -D helpers/tools_to_build_newstroke-font/font.brd M pcbnew/pcbplot.cpp M pcbnew/plotcontroller.h All changes applied successfully. Now on revision 5627. [kicad-full] $ bzr revert $ bzr revision-info -d <http://ci.kicad-pcb.org/job/kicad-full/ws/> info result: bzr revision-info -d <http://ci.kicad-pcb.org/job/kicad-full/ws/> returned 0. Command output: "5627 jp.char...@wanadoo.fr-20150427180227-h02ikbk785s6g2w1 " stderr: "" [kicad-full] $ bzr log -v -r revid:jp.char...@wanadoo.fr-20150427085508-xumcef8vko0zy34b..revid:jp.char...@wanadoo.fr-20150427180227-h02ikbk785s6g2w1 --long --show-ids Getting local revision... $ bzr revision-info -d <http://ci.kicad-pcb.org/job/kicad-full/ws/> info result: bzr revision-info -d <http://ci.kicad-pcb.org/job/kicad-full/ws/> returned 0. Command output: "5627 jp.char...@wanadoo.fr-20150427180227-h02ikbk785s6g2w1 " stderr: "" RevisionState revno:5627 revid:jp.char...@wanadoo.fr-20150427180227-h02ikbk785s6g2w1 [kicad-full] $ /bin/sh -xe /tmp/hudson2287981327952270656.sh + OPTS=' -DCMAKE_BUILD_TYPE=Debug -DBUILD_GITHUB_PLUGIN=ON -DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON -DKICAD_USE_WEBKIT=OFF' + '[' -d build ']' + cd build + /usr/bin/cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_GITHUB_PLUGIN=ON -DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON -DKICAD_USE_WEBKIT=OFF -- Check for installed OpenGL -- found -- Found Glew: /usr/lib64/libGLEW.so -- Check for installed GLEW -- found -- Check for installed Cairo -- found -- Check for installed Python Interpreter -- found -- Python module install path: lib/python2.6/site-packages -- wxPython version 3.0 found. -- Bazaar version control system version 2.1.1 found. -- Kicad Bazaar build version: (2015-04-27 BZR 5627) -- Configuring done -- Generating done -- Build files have been written to: <http://ci.kicad-pcb.org/job/kicad-full/ws/build> + rm -f pcbnew/scripting/pcbnewPYTHON_wrap.cxx.o + rm -f pcbnew/scripting/pcbnewPYTHON_wrap.cxx + make -j4 [ 1%] Built target page_layout_lexer_source_files [ 2%] [ 2%] Built target boost Built target netlist_lexer_source_files [ 2%] Built target fp_lib_table_lexer_source_files [ 3%] Built target pcb_lexer_source_files [ 3%] Built target pcb_plot_lexer_source_files [ 3%] Built target specctra_lexer_source_files [ 3%] Built target cmp_library_lexer_source_files [ 3%] [ 3%] [ 3%] Built target avhttp Built target field_template_lexer_source_files Built target dialog_bom_cfg_lexer_source_files [ 3%] Built target lib_dxf [ 3%] Built target pcb_calculator_lexer_source_files [ 4%] Built target potrace [ 34%] Built target bitmaps [ 34%] Built target idfrect [ 34%] Built target lib-dependencies [ 34%] Built target idfcyl [ 34%] Generating headers containing GLSL source code Headers are up-to-date [ 34%] Built target shader_headers [ 34%] Built target idf3 [ 34%] Built target polygon [ 34%] Built target dxf2idf [ 34%] Built target idf2vrml [ 34%] Built target github_plugin [ 35%] Built target gal [ 38%] Built target pcbcommon Scanning dependencies of target common [ 39%] Built target pcad2kicadpcb [ 39%] Building CXX object common/CMakeFiles/common.dir/build_version.cpp.o [ 41%] Built target pnsrouter [ 42%] Built target 3d-viewer Linking CXX static library libcommon.a [ 50%] Built target common Linking CXX shared module _cvpcb.kiface Linking CXX shared module _gerbview.kiface [ 50%] Swig source Linking CXX shared module _eeschema.kiface <http://ci.kicad-pcb.org/job/kicad-full/ws/pcbnew/../polygon/PolyLine.h>:122: Warning(389): operator[] ignored (consider using %extend) <http://ci.kicad-pcb.org/job/kicad-full/ws/pcbnew/../include/utf8.h>:208: Warning(312): Nested class not currently supported (ignored). <http://ci.kicad-pcb.org/job/kicad-full/ws/pcbnew/io_mgr.h>:517: Warning(312): Nested class not currently supported (ignored). <http://ci.kicad-pcb.org/job/kicad-full/ws/pcbnew/../include/base_struct.h>:187: Warning(401): Nothing known about base class 'KIGFX::VIEW_ITEM'. Ignored. <http://ci.kicad-pcb.org/job/kicad-full/ws/pcbnew/../include/layers_id_colors_and_visibility.h>:192: Warning(401): Nothing known about base class 'BASE_SET'. Ignored. <http://ci.kicad-pcb.org/job/kicad-full/ws/pcbnew/../include/utf8.h>:72: Warning(509): Overloaded method UTF8::UTF8(std::string const &) is shadowed by UTF8::UTF8(char const *) at <http://ci.kicad-pcb.org/job/kicad-full/ws/pcbnew/../include/utf8.h>:63. <http://ci.kicad-pcb.org/job/kicad-full/ws/pcbnew/../include/utf8.h>:63: Warning(509): Overloaded method UTF8::UTF8(char const *) is shadowed by UTF8::UTF8(std::string const &) at <http://ci.kicad-pcb.org/job/kicad-full/ws/pcbnew/../include/utf8.h>:72. [ 53%] Built target gerbview_kiface Scanning dependencies of target _pcbnew [ 53%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/scripting/pcbnewPYTHON_wrap.cxx.o Scanning dependencies of target pcbnew_kiface [ 53%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface.dir/pcbplot.cpp.o [ 54%] Built target cvpcb_kiface Linking CXX shared module _pl_editor.kiface [ 56%] Built target pl_editor_kiface Linking CXX executable bitmap2component [ 56%] Built target bitmap2component [ 66%] Built target eeschema_kiface Linking CXX shared module _pcb_calculator.kiface Linking CXX executable kicad [ 66%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface.dir/pcbnew_wrap.cxx.o [ 67%] Built target pcb_calculator_kiface [ 68%] Built target kicad Linking CXX executable cvpcb Linking CXX executable eeschema <http://ci.kicad-pcb.org/job/kicad-full/ws/build/pcbnew/pcbnew_wrap.cxx>: In function ‘PyObject* _wrap_PLOT_CONTROLLER_AccessPlotOpts(PyObject*, PyObject*)’: <http://ci.kicad-pcb.org/job/kicad-full/ws/build/pcbnew/pcbnew_wrap.cxx>:101658: error: ‘class PLOT_CONTROLLER’ has no member named ‘AccessPlotOpts’ <http://ci.kicad-pcb.org/job/kicad-full/ws/build/pcbnew/pcbnew_wrap.cxx>: In function ‘PyObject* _wrap_PLOT_CONTROLLER_PlotLayer(PyObject*, PyObject*)’: <http://ci.kicad-pcb.org/job/kicad-full/ws/build/pcbnew/pcbnew_wrap.cxx>:101883: error: no matching function for call to ‘PLOT_CONTROLLER::PlotLayer(LAYER_NUM&)’ <http://ci.kicad-pcb.org/job/kicad-full/ws/pcbnew/./plotcontroller.h>:83: note: candidates are: bool PLOT_CONTROLLER::PlotLayer() [ 68%] [ 68%] Built target eeschema Built target cvpcb make[2]: *** [pcbnew/CMakeFiles/pcbnew_kiface.dir/pcbnew_wrap.cxx.o] Error 1 make[1]: *** [pcbnew/CMakeFiles/pcbnew_kiface.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 68%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/pcbplot.cpp.o Linking CXX executable gerbview Linking CXX executable pl_editor [ 68%] Built target pl_editor [ 69%] Built target gerbview Linking CXX shared module _pcbnew.so [ 84%] Built target _pcbnew make: *** [all] Error 2 Build step 'Execute shell' marked build as failure [WARNINGS] Skipping publisher since build result is FAILURE _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp