04 Aug 2023, Konstantin Olchanski, Forum, Issues with Universe II Driver  
 | 
> I can compile 32 bit midas. Unless I am interpreting the linking error, I don't 
 
> think I can use the driver as built.
 
 | 
   
   09 Aug 2023, Konstantin Olchanski, Forum, pull request for PostgreSQL support 
 | 
> The compilation of midas was broken by the last modification. The reason is that 
 
>    Pgsql *fPgsql = NULL;
 
> was not protected by #ifdef HAVE_PGSQL
 | 
   
   09 Aug 2023, Konstantin Olchanski, Bug Report, Error accessing history files 
 | 
I confirm I see same on the agmini system. Two problems: (a) error message is wrong, it's a 
 
short read, not a read error (clue: read() syscall does not return "no such file"). (b) 
 
mlogger is supposed to write history in record-size blocks, read in the same record size 
 | 
   
   09 Aug 2023, Konstantin Olchanski, Suggestion, Maximum ODB size 
 | 
> > RFE filed:
 
> > https://bitbucket.org/tmidas/midas/issues/367/odb-should-be-saved-to-disk-periodically
 
> 
 | 
   09 Aug 2023, Konstantin Olchanski, Bug Fix, Stefan's improved ODB flush to disk 
 | 
This is an important improvement, should have a post of it's own. K.O.
 
 
> > > RFE filed:
 | 
   
   14 Aug 2023, Konstantin Olchanski, Bug Report, excessive logging of http requests 
 | 
> Our default configuration of apache httpd logs every request.
 
> MIDAS custom web pages can easily make a huge number of RPC calls creating a 
 
> huge log file and filling system disk to 100% capacity.
 | 
   15 Aug 2023, Konstantin Olchanski, Info, mlogger update 
 | 
A bit of update to the mlogger. In preparation for more cleanup when Stefan is 
 
here at TRIUMF.
 
 | 
   16 Aug 2023, Konstantin Olchanski, Bug Report, midas wants to show notification? 
 | 
I started to get web browser popups about "midas wants to show notifications, 
 
block/allow/x". is this a glitch or a new unannounced/undocumented feature? 
 
google chrome on macos. K.O. | 
   
   16 Aug 2023, Konstantin Olchanski, Bug Report, midas wants to show notification? 
 | 
> This feature was asked by some people ...
 
 
"show notifications" popups are strongly associated with disreputable web sites (presumably to 
 | 
   
   16 Aug 2023, Konstantin Olchanski, Bug Report, excessive logging of http requests 
 | 
> > Our default configuration of apache httpd logs every request.
 
> > MIDAS custom web pages can easily make a huge number of RPC calls creating a 
 
> > huge log file and filling system disk to 100% capacity.
 | 
   
   17 Aug 2023, Konstantin Olchanski, Bug Report, Error accessing history files 
 | 
Confirmed. The error message is wrong. It is printed after a short read(), but short read() does not 
 
set errno, and errno reported by the error message is from some previous syscall. Corrected error 
 
message is already committed. K.O.
 | 
   
   17 Aug 2023, Konstantin Olchanski, Bug Report, excessive logging of http requests 
 | 
> > > Our default configuration of apache httpd logs every request.
 
> > > MIDAS custom web pages can easily make a huge number of RPC calls creating a 
 
> > > huge log file and filling system disk to 100% capacity.
 | 
   
   14 Sep 2023, Konstantin Olchanski, Forum, Hide start and stop buttons 
 | 
I believe the original "hide run start / stop" was added specifically for ND280 GSC MIDAS. I do not know 
 
why it was removed. "hide pause / resume" is still there. I will restore them. Hiding logger channel 
 
section should probably be automatic of there is no /logger/channels, I can check if it works and what 
 | 
   03 Oct 2023, Konstantin Olchanski, Bug Fix, wrong array size after loading xml or json file 
 | 
both the xml and the json decoders have a bug (fix pending). loading saved odb 
 
from xml and json file did not truncate arrays in odb to the size of arrays in 
 
the file. for example, if /example/double_array has size 20 in odb, but size 5 
 | 
   
   06 Oct 2023, Konstantin Olchanski, Bug Report, Error accessing history files 
 | 
> Still get the same error with the latest version:
 
> 3:28 [mhttpd,ERROR] [history_schema.cxx:2913:FileHistory::read_data,ERROR] Cannot read 
 
> '/data2/history/mhf_1692391703_20230818_hv_tc.dat', read() errno 2 (No such file or directory)
 | 
   
   06 Oct 2023, Konstantin Olchanski, Bug Report, Error accessing history files 
 | 
> two fixes forthcoming:
 
> a) check for short read in the 2nd place that I missed
 
> b) two write() are replaced by 2 memcpy() to a preallocated buffer and 1 write()
 | 
   06 Oct 2023, Konstantin Olchanski, Info, default midas history switched to "FILE" and "PerVariable" history 
 | 
We are very happy with the "FILE" implementation of MIDAS history and it is time 
 
to make it the default for new experiments. This history driver works best if 
 
"per variable" history is alos enabled. (SQL history already only works in "per-
 | 
   06 Oct 2023, Konstantin Olchanski, Info, new history panel editor 
 | 
the new history panel editor has been activated. it is meant to work the same as 
 
the old editor, with some improvements to the history variables selection page. 
 
this new version is written in html+javascript and it will be easier to improve, 
 | 
   
   13 Nov 2023, Konstantin Olchanski, Forum, mlogger does not HAVE_ROOT 
 | 
> I am setting up Midas (v2.1) for a new experiment. We want to save the data in the ROOT format. We installed ROOT from source (v6.28/06), and ROOTSYS 
is set. When we compile Midas, it says that it found ROOT. We set up a second logger channel where we set the filename to run%05d.root, the format to ROOT, 
and the output to ROOT. Nevertheless, when starting a run, the logger writes the error that "channel '1' requested ROOT output, but mlogger is built without | 
   
   14 Nov 2023, Konstantin Olchanski, Forum, mlogger does not HAVE_ROOT 
 | 
> Finally, make sure you start "rmlogger" and not "mlogger". Only "rmlogger" contains the ROOT binding.
 
 
Stefan is right. I forgot this. As solution to our troubles, mlogger is built without root support. use rmlogger instead.
 |