hickerson/UCNA — Issue #3: OfficialReplay error message
Author: rpicker
Created: 2011-12-21 23:06:41+00:00
State: open

I have pulled the current version of the repository, compiled UCNdataanalyzer11b and run
./ucnaDataAnalyzer11b 18317-18340
to test on some random runs.

I get the following error:
Connecting to output DB...
Connected to DB server: MySQL 5.1.41-3ubuntu12.10
*** Expected 1 cut but found 0 for Cut_MWPC_E_Anode/18317! Fail!
ucnaDataAnalyzer11b: ucnaDataAnalyzer11b.cc:50: void ucnaDataAnalyzer11b::loadCut(CutVariable&, const std::string&): Assertion `false' failed.
Aborted

I use the following environment variables
# setting environment variables for MySQL database
UCNADBADDRESS=ucn.krl.caltech.edu; export UCNADBADDRESS #where is the database?
UCNADB=test_20111221; export UCNADB #use the database test_20111209, this is my database to play around with

# user and password for MySQL database, read only
UCNADBUSER_READONLY=ucn; export UCNADBUSER_READONLY
UCNADBPASS_READONLY=UCNBetAs; export UCNADBPASS_READONLY

# user and password for MySQL database, write access
UCNADBUSER=ucnwrite; export UCNADBUSER
UCNADBPASS=UCNBetAs08; export UCNADBPASS

# set the directory where the raw UCNA runs can be found on the UCN machine
UCNADATADIR=/data/ucnadata/2011/rootfiles; export UCNADATADIR

# set the directory for the files created by the official replay
UCNAOUTPUTDIR=/data/rpicker/ucna/replay; export UCNAOUTPUTDIR

and have checked that connection to the database above works.

But the error seems to be connected to the DB...
what could it be?

Ruediger