Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SNSLiveEventDataListener: Reduce a warning from error to debug #9134

Closed
mantid-builder opened this issue Oct 29, 2013 · 1 comment
Closed
Labels
Framework Issues and pull requests related to components in the Framework Low Priority Things that you don't ever want to be done.
Milestone

Comments

@mantid-builder
Copy link
Collaborator

Original Reporter: Russell Taylor

In the testing of http://trac.mantidproject.org/mantid/ticket/8065 and subsequently, the log message at line 609 of SNSLiveEventDataListener has been observed:

g_log.error() << "run_number property already exists.  Current value will be ignored."  << std::endl
              << "(This should never happen.  Talk to the Mantid developers.)" << std::endl;

I think that this can now appear if the listener is started outside a run, or there is a gap between runs. A run number of 0 will be entered if a RunStatus::STATE packet is encountered. The message will then be seen when a new run starts. This situation should be avoided with the fixing of http://trac.mantidproject.org/mantid/ticket/7209.

In the meantime, logging this message at error level is not helpful - it is really a very minor issue (the run number will be wrong inside the workspace) and having it appear may concern some users unnecessarily.

@mantid-builder
Copy link
Collaborator Author

This issue was originally trac ticket 8289

@mantid-builder mantid-builder added Low Priority Things that you don't ever want to be done. Framework Issues and pull requests related to components in the Framework labels Jun 3, 2015
@mantid-builder mantid-builder added this to the Release 3.0 milestone Jun 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Framework Issues and pull requests related to components in the Framework Low Priority Things that you don't ever want to be done.
Projects
None yet
Development

No branches or pull requests

1 participant