Support #873
Geometry Updates - Errors
Status:
Closed
Priority:
Normal
Assignee:
Category:
common_py
Target version:
Start date:
20 January 2012
Due date:
% Done:
100%
Estimated time:
Workflow:
New Issue
Description
Hi,
I have now updated all of the things I've been working on and everything seems to be happy. Except I have two errors when I run run_tests.bash I don't there are to do with the stuff I've been working on. The errors are,
====================================================================== ERROR: Failure: ImportError (cannot import name HTTPSConnection) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/matt/maus-littlefield/third_party/install/lib/python2.7/site-packages/nose-1.0.0-py2.7.egg/nose/loader.py", line 390, in loadTestsFromName addr.filename, addr.module) File "/home/matt/maus-littlefield/third_party/install/lib/python2.7/site-packages/nose-1.0.0-py2.7.egg/nose/importer.py", line 39, in importFromPath return self.importFromDir(dir_path, fqname) File "/home/matt/maus-littlefield/third_party/install/lib/python2.7/site-packages/nose-1.0.0-py2.7.egg/nose/importer.py", line 86, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/home/matt/maus-littlefield/build/test_CouchDBDocumentStore.py", line 21, in <module> import couchdb File "build/bdist.linux-i686/egg/couchdb/__init__.py", line 9, in <module> File "build/bdist.linux-i686/egg/couchdb/client.py", line 34, in <module> File "build/bdist.linux-i686/egg/couchdb/http.py", line 17, in <module> ImportError: cannot import name HTTPSConnection ====================================================================== ERROR: @brief walk up from $MAUS_ROOT_DIR and run pylint looking for errors ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/matt/maus-littlefield/build/test_python_style.py", line 124, in test_python_style ". Now "+str(n_errors)) RuntimeError: Number of python style errors has increased - Previously 648. Now 650 -------------------- >> begin captured stdout << --------------------- 650/648 style errors in following files (see tmp/pylint.out for details) ['src/common_py/Configuration.py', 'src/common_py/ErrorHandler.py', 'src/common_py/Go.py', 'src/common_py/SchemaSchema.py', 'src/common_py/__init__.py', 'src/common_py/make_canvas.py', 'src/input/InputCppDAQData/test_InputCppDAQData.py', 'src/input/InputPyEmptyDocument/InputPyEmptyDocument.py', 'src/input/InputPyEmptyDocument/test_InputPyEmptyDocument.py', 'src/input/InputPyJSON/InputPyJSON.py', 'src/input/InputPyJSON/test_InputPyJson.py', 'src/legacy/FILES/Models/Modules/MakeEMR.py', 'src/legacy/check_sync.py', 'src/legacy/fix_includes.py', 'src/map/MapCppPrint/test_MapCppPrint.py', 'src/map/MapCppSimulation/run_visualisation_for_tests.py', 'src/map/MapCppSimulation/test_MapCppSimulation.py', 'src/map/MapCppTrackerDigitization/test_MapCppTrackerDigitization.py', 'src/map/MapPyBeamMaker/test_MapPyBeamMaker.py', 'src/map/MapPyDoNothing/MapPyDoNothing.py', 'src/map/MapPyDoNothing/test_MapPyDoNothing.py', 'src/map/MapPyFakeTestSimulation/MapPyFakeTestSimulation.py', 'src/map/MapPyFakeTestSimulation/test_MapPyFakeTestSimulation.py', 'src/map/MapPyGroup/MapPyGroup.py', 'src/map/MapPyPrint/MapPyPrint.py', 'src/map/MapPyPrint/test_MapPyPrint.py', 'src/map/MapPyRemoveTracks/MapPyRemoveTracks.py', 'src/map/MapPyRemoveTracks/test_MapPyRemoveTracks.py', 'src/map/MapPyTOFPlot/MapPyTOFPlot.py', 'src/map/MapPyValidateSpill/MapPyValidateSpill.py', 'src/map/MapPyValidateSpill/test_MapPyValidateSpill.py', 'src/output/OutputPyDoNothing/OutputPyDoNothing.py', 'src/output/OutputPyDoNothing/test_OutputPyDoNothing.py', 'src/reduce/ReducePyDoNothing/ReducePyDoNothing.py', 'tests/integration/geometries/simulate_mice.py', 'tests/integration/test_simulation/test_help/test_help.py', 'tests/integration/test_simulation/test_rf/run_simulation.py', 'tests/integration/test_simulation/test_rf/test_broken_rf.py', 'tests/integration/test_simulation/test_rf/test_repeating_rf.py', 'tests/integration/test_simulation/test_rf/test_single_rf.py', 'tests/integration/test_simulation/test_virtual_planes/test_virt.py', 'tests/integration/test_utilities/simulate_mice.py', 'tests/integration/test_utilities/test_geometry/sim_config.py', 'tests/py_unit/test_always_true.py', 'tests/py_unit/test_cdb_mockup.py', 'tests/py_unit/test_cpp_unit.py', 'tests/py_unit/test_numpy.py', 'tests/py_unit/test_root_plot.py', 'tests/py_unit/test_schema_schema.py', 'tests/py_unit/test_spill_schema.py', 'tests/style/cpplint_exceptions.py', 'tests/style/test_cpp_style.py', 'tests/style/test_python_style.py'] --------------------- >> end captured stdout << ----------------------
the first error I have had seen the upgrade to 1.1 but the upgrade this week produced the pylint error
Also, I'm not sure what has happened to my test server? Any ideas?
Many thanks :-)
Files