<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><br></div>Hi Matt,<div><br></div><div> The flat files that we kept in the repository for the calibration constants have not been kept up for some time. You now have to get the constants from the CCDB either via SQLite file (recommended for your current use case) or MySQL. An SQLite file is generated every night now from the MySQL database. These can be found on the JLab CUE here:</div><div><br></div><div><div style="margin: 0px; font-size: 10px; font-family: Monaco;">/group/halld/Software/calib/ccdb_sqlite</div></div><div style="margin: 0px; font-size: 10px; font-family: Monaco;"><br></div><div style="margin: 0px;">Download a recent file and set your JANA_CALIB_URL environment variable to something like:</div><div style="margin: 0px;"><br></div><div style="margin: 0px;">setenv JANA_CALIB_URL <a href="sqlite:////path/to/ccdb_2014-02-21.sqlite">sqlite:////path/to/ccdb_2014-02-21.sqlite</a></div><div style="margin: 0px;"><br></div><div style="margin: 0px;">(note the four “/‘)</div><div style="margin: 0px;"><br></div><div style="margin: 0px;">You will have to download a new SQLite file occasionally. If you point to the MySQL DB at JLab, you will always be up-to-date, but will have a slower startup due to the long distance network access.</div><div style="margin: 0px;"><br></div><div style="margin: 0px;">Regards,</div><div style="margin: 0px;">-David</div><div><br><div><div>On Feb 25, 2014, at 1:55 PM, Matthew Shepherd <<a href="mailto:mashephe@indiana.edu">mashephe@indiana.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br>Dear offline friends,<br><br>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. <br><br>Problem seems to be:<br><br>?JException: code = 0 text = Unable to open "/home/s4/zacqjone/gluex/svn/calib/Magnets/Solenoid/solenoid_1350_poisson_20130925"!<br><br>We checked and indeed this file is missing, but an update of calib doesn't seem to restore it. <br><br>Did someone forget to check in the new map?<br><br>Matt<br><br><br>JANA >>Opening source "pions_1gev_smeared.hddm" of type: HDDM<br>JANA >>Creating DGeometry:<br>JANA >> Run requested:9999 found:9999<br>JANA >> Run validity range: 9999-9999<br>JANA >> URL="<a href="xmlfile:///home/s4/zacqjone/gluex/svn/hdds/prod/main_HDDS.xml">xmlfile:///home/s4/zacqjone/gluex/svn/hdds/prod/main_HDDS.xml</a>" context="default"<br>JANA >> Type="JGeometryXML"<br>Reading preferences from "/s4/zacqjone/.hdview2" ...<br>JANA >>Created JCalibration object of type: JCalibrationFile<br>JANA >>Generated via: fallback creation of JCalibrationFile<br>JANA >>Run:1<br>JANA >>URL: <a href="file:///home/s4/zacqjone/gluex/svn/calib">file:///home/s4/zacqjone/gluex/svn/calib</a><br>JANA >>context: default<br><a href="http://JCalibrationFile.cc">JCalibrationFile.cc</a>:51 Unable to open "/tmp/jana/resources/info.xml"!<br>JANA >>Reading Magnetic field map from Magnets/Solenoid/solenoid_1350_poisson_20130925 ...<br>JANA >> Factory Call Stack<br>JANA >>============================<br>JANA >> JEventLoop:OneEvent (brun) -- line:572 <a href="http://JEventLoop.cc">JEventLoop.cc</a><br>JANA >>----------------------------<br><a href="http://JEventLoop.cc">JEventLoop.cc</a>:575 EXCEPTION : <br>?JException: code = 0 text = Unable to open "/home/s4/zacqjone/gluex/svn/calib/Magnets/Solenoid/solenoid_1350_poisson_20130925"!<br><br>Stack trace:<br><br> jana::JException::getStackTrace()<br> jana::JException::JException(std::string const&)<br> 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)<br> 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)<br> jana::JResourceManager::GetResource(std::string)<br> 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)<br> DMagneticFieldMapFineMesh::ReadMap(std::string, int, std::string)<br> DMagneticFieldMapFineMesh::DMagneticFieldMapFineMesh(jana::JApplication*, unsigned int, std::string)<br> DApplication::GetBfield(unsigned int)<br> MyProcessor::brun(jana::JEventLoop*, int)<br> jana::JEventLoop::OneEvent()<br> jana::JEventLoop::OneEvent()<br> jana::JEventLoop::OneEvent()<br> jana::JEventLoop::OneEvent()<br><br>terminate called after throwing an instance of 'std::exception'<br> what(): std::exception<br>Abort<br>[zacqjone@stanley pion_1gev]$ <br><br><br><br>---------------------------------------------------------------------<br>Matthew Shepherd, Associate Professor<br>Department of Physics, Indiana University, Swain West 265<br>727 East Third Street, Bloomington, IN 47405<br><br>Office Phone: +1 812 856 5808<br><br><br>_______________________________________________<br>Halld-offline mailing list<br><a href="mailto:Halld-offline@jlab.org">Halld-offline@jlab.org</a><br>https://mailman.jlab.org/mailman/listinfo/halld-offline<br></blockquote></div><br></div></body></html>