[Halld-offline] Calibration exception -- missing file for magnetic field?

Matthew Shepherd mashephe at indiana.edu
Tue Feb 25 13:55:42 EST 2014


Dear offline friends,

I'm trying to help one of my students get going again with software and he is having trouble running hdview2 after doing an update to his sim-recon install. 

Problem seems to be:

?JException:    code = 0    text = Unable to open "/home/s4/zacqjone/gluex/svn/calib/Magnets/Solenoid/solenoid_1350_poisson_20130925"!

We checked and indeed this file is missing, but an update of calib doesn't seem to restore it.  

Did someone forget to check in the new map?

Matt


JANA >>Opening source "pions_1gev_smeared.hddm" of type: HDDM
JANA >>Creating DGeometry:
JANA >>  Run requested:9999  found:9999
JANA >>  Run validity range: 9999-9999
JANA >>  URL="xmlfile:///home/s4/zacqjone/gluex/svn/hdds/prod/main_HDDS.xml"  context="default"
JANA >>  Type="JGeometryXML"
Reading preferences from "/s4/zacqjone/.hdview2" ...
JANA >>Created JCalibration object of type: JCalibrationFile
JANA >>Generated via: fallback creation of JCalibrationFile
JANA >>Run:1
JANA >>URL: file:///home/s4/zacqjone/gluex/svn/calib
JANA >>context: default
JCalibrationFile.cc:51 Unable to open "/tmp/jana/resources/info.xml"!
JANA >>Reading Magnetic field map from Magnets/Solenoid/solenoid_1350_poisson_20130925 ...
JANA >> Factory Call Stack
JANA >>============================
JANA >> JEventLoop:OneEvent  (brun)  --   line:572  JEventLoop.cc
JANA >>----------------------------
JEventLoop.cc:575  EXCEPTION : 
?JException:    code = 0    text = Unable to open "/home/s4/zacqjone/gluex/svn/calib/Magnets/Solenoid/solenoid_1350_poisson_20130925"!

Stack trace:

   jana::JException::getStackTrace()
   jana::JException::JException(std::string const&)
   jana::JCalibrationFile::GetCalib(std::string, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >&, int)
   bool jana::JCalibration::Get<std::string>(std::string, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >&, int)
   jana::JResourceManager::GetResource(std::string)
   bool jana::JResourceManager::Get<std::vector<std::vector<float, std::allocator<float> >, std::allocator<std::vector<float, std::allocator<float> > > > >(std::string, std::vector<std::vector<float, std::allocator<float> >, std::allocator<std::vector<float, std::allocator<float> > > >&, int)
   DMagneticFieldMapFineMesh::ReadMap(std::string, int, std::string)
   DMagneticFieldMapFineMesh::DMagneticFieldMapFineMesh(jana::JApplication*, unsigned int, std::string)
   DApplication::GetBfield(unsigned int)
   MyProcessor::brun(jana::JEventLoop*, int)
   jana::JEventLoop::OneEvent()
   jana::JEventLoop::OneEvent()
   jana::JEventLoop::OneEvent()
   jana::JEventLoop::OneEvent()

terminate called after throwing an instance of 'std::exception'
  what():  std::exception
Abort
[zacqjone at stanley pion_1gev]$ 



---------------------------------------------------------------------
Matthew Shepherd, Associate Professor
Department of Physics, Indiana University, Swain West 265
727 East Third Street, Bloomington, IN 47405

Office Phone:  +1 812 856 5808





More information about the Halld-offline mailing list