16 Jul 2019, Konstantin Olchanski, Bug Report, a3818 and signals, Frontend killed at stop of run 
 | 
Message from John M O'Donnell <odonnell@lanl.gov>
 
 
Folks,
 | 
   
   16 Jul 2019, Konstantin Olchanski, Bug Report, a3818 and signals, Frontend killed at stop of run 
 | 
> Message from John M O'Donnell <odonnell@lanl.gov>
 
>
 
> the A3818 and MIDAS both used unix alarm signals, resulting in clashes.
 | 
   21 Jul 2019, Konstantin Olchanski, Info, error handling is hard 
 | 
Happy summer to everybody.
 
 
When programming in general, and when programming MIDAS, there is always a struggle
 | 
   08 Aug 2019, Konstantin Olchanski, Info, c++11 for RHEL/SL/CentOS-6 
 | 
The default el6 (RHEL/SL/CentOS-6) compiler is gcc-4.4.7, it does not support c++11, not even a little bit.
 
 
Do this to install newer c++ compilers and build MIDAS with c++11:
 | 
   08 Aug 2019, Konstantin Olchanski, Info, MIDAS will use C++11 
 | 
After much discussion, and following the MIDAS workshop at TRIUMF, we made the decision to use C++11 in MIDAS.
 
 
There are many benefits, and only one drawback - no c++11 compilers in the default OS install on older computers (i.e. 
 | 
   
   08 Aug 2019, Konstantin Olchanski, Suggestion, midas cmake migration 
 | 
> Each CMakeLists.txt should specify which version of CMake it requires. The MIDAS CMakeLists.txt requires CMake 3.1 or later. 
 
> We deliberately stayed away from fancy cutting edge CMake features in order to make midas easier to compile. On top of that,
 
> midas is a much simpler package compared to root, so things are not so complicated.
 | 
   
   08 Aug 2019, Konstantin Olchanski, Bug Report, ROOTANA bug? 
 | 
> indnerlt:rootana lindner$ git diff libMidasInterface/TMidasOnline.cxx
 
> diff --git a/libMidasInterface/TMidasOnline.cxx b/libMidasInterface/TMidasOnline.cxx
 
> index 92eb3e9..67da613 100644
 | 
   
   09 Aug 2019, Konstantin Olchanski, Info, Precedence of equipment/common structure 
 | 
> Today I fixed a long-annoying problem. ...
 
> /Equipment/<name>/Common
 
> In the past, the ODB setting took precedence over the frontend structure...
 | 
   
   09 Aug 2019, Konstantin Olchanski, Bug Report, Fetest History Plot 
 | 
> Hi, our logger was running.
 
 
 | 
   
   09 Aug 2019, Konstantin Olchanski, Bug Report, Fetest History Plot 
 | 
> Hi, our logger was running.
 
 
Please do these simple tests:
 | 
   
   09 Aug 2019, Konstantin Olchanski, Forum, How to convert C midas frontends to C++ 
 | 
> How do I solve mismatched declarations in the mfe (or other places in the midas code)?
 
 
I run into such problems all the time. My solution? I grep for the function name in my code and in the header file,
 | 
   14 Aug 2019, Konstantin Olchanski, Bug Fix, incorrect recursion in ss_suspend() via the user event handler 
 | 
The ROOTANA midas analyzer uncovered a problem with recursive use of ss_suspend().
 
 
When running in graphical mode, the ROOT graphics main event loop was calling 
 | 
   
   14 Aug 2019, Konstantin Olchanski, Bug Report, ROOTANA bug? 
 | 
> -  ss_suspend_set_dispatch_ipc(NULL);
 
> +  //  ss_suspend_set_dispatch_ipc(NULL);
 
> 
 | 
   
   16 Sep 2019, Konstantin Olchanski, Forum, Open a hotlink to a single element in an ODB array 
 | 
> Is it possible to open a hotlink to a single element in an ODB array?
 
 
Not possible.
 | 
   
   16 Sep 2019, Konstantin Olchanski, Bug Report, https redirect and ODB access 
 | 
> I'm not sure if these issues are related or not, but I'm getting an error
 
> message when I want to access the root of the ODB via the webserver:
 
> [mhttpd,ERROR] [mhttpd.cxx:563:rread,ERROR] Cannot read file '/root', read of
 | 
   
   16 Sep 2019, Konstantin Olchanski, Info, New history plot facility 
 | 
> I see currently quite often is the error hs_read_arraybuffer (see the 
 
attachement).
 
> Are there ways to get a log which would document where the problems 
 | 
   
   16 Sep 2019, Konstantin Olchanski, Info, New history plot facility 
 | 
> During my visit at TRIUMF we rewrote the history plotting functionality of midas.
 
 
This is a most amazing achievement. We wanted to do this "for years" and I think we have
 | 
   
   16 Sep 2019, Konstantin Olchanski, Forum, History plot problems for frontend with multiple indicies 
 | 
> My first question would be why are you using several font-ends at all? That makes things more 
 
> complicated than needed. In the normal FE framework, you can define either several equipment 
 
> served by one frontend, or even one equipment linked to several devices.
 | 
   
   16 Sep 2019, Konstantin Olchanski, Forum, History plot problems for frontend with multiple indicies 
 | 
> it's probably better to run a multi-threaded setup, than individual frontends.
 
 
I recommend against using multiple threads if at all possible and unless absolutely required.
 | 
   
   16 Sep 2019, Konstantin Olchanski, Forum, History plot problems for frontend with multiple indicies 
 | 
> thanks for your reply. I can confirm that your suggested workaround does indeed
 
> make the problem dissapear.
 
> I guess this issue hasn't been seen at T2K since we use MYSQL for the history.
 |