Back Midas Rome Roody Rootana
  Midas DAQ System, Page 13 of 150  Not logged in ELOG logo
    Reply  26 Dec 2010, Konstantin Olchanski, Bug Report, race condition and deadlock between ODB lock and SYSMSG lock in cm_msg() 

> The only remaining problem when running my script is some kind of deadlock between the ODB and SYSMSG semaphores...
Entry  01 May 2023, Giovanni Mazzitelli, Bug Report, python issue with mathplot lib vs odb query Screenshot_2023-05-01_at_09.57.01.png
Ciao, 
we have a very strange issue with python lib with client.odb_get("/") function 
when running as midas process and matplotlib is used.
    Reply  01 May 2023, Ben Smith, Bug Report, python issue with mathplot lib vs odb query 
> it seams that there is a difference between the to way of use the code, and that 
> is sufficient the call to matplotlib to corrupt in some way the odb. any ideas?
    Reply  01 May 2023, Giovanni Mazzitelli, Bug Report, python issue with mathplot lib vs odb query 
> > it seams that there is a difference between the to way of use the code, and that 
> > is sufficient the call to matplotlib to corrupt in some way the odb. any ideas?
    Reply  01 May 2023, Giovanni Mazzitelli, Bug Report, python issue with mathplot lib vs odb query output.txt
> > it seams that there is a difference between the to way of use the code, and that 
> > is sufficient the call to matplotlib to corrupt in some way the odb. any ideas?
    Reply  01 May 2023, Ben Smith, Bug Report, python issue with mathplot lib vs odb query 
Looks like a localisation issue. Your floats are formatted as "6,6584e+01", whereas the JSON decoder expects "6.6584e+01".

Can you run the following few lines please? Then I'll be able to write a test using the same setup as you:
    Reply  01 May 2023, Ben Smith, Bug Report, python issue with mathplot lib vs odb query 
> Looks like a localisation issue. Your floats are formatted as "6,6584e+01", whereas the JSON decoder expects "6.6584e+01".

This should be fixed in the latest commit to the midas develop branch. The JSON specification requires a dot for the decimal separator, so we must ignore
    Reply  01 May 2023, Giovanni Mazzitelli, Bug Report, python issue with mathplot lib vs odb query 
> > Looks like a localisation issue. Your floats are formatted as "6,6584e+01", whereas the JSON decoder expects "6.6584e+01".

> This should be fixed in the latest commit to the midas develop branch. The JSON specification requires a dot for the decimal separator, so we must ignore
Entry  17 Mar 2025, Federico Rezzonico, Bug Report, python hist_get_recent_data returns no historical data 
Setup:
setting up midas, starting mhttpd and mlogger and running fetest.
    Reply  17 Mar 2025, Ben Smith, Bug Report, python hist_get_recent_data returns no historical data 
Unfortunately I again cannot reproduce this:

$ python ~/DAQ/midas_latest/python/examples/basic_hist_script.py
    Reply  17 Mar 2025, Federico Rezzonico, Bug Report, python hist_get_recent_data returns no historical data 
> Unfortunately I again cannot reproduce this:

> $ python ~/DAQ/midas_latest/python/examples/basic_hist_script.py
    Reply  18 Mar 2025, Federico Rezzonico, Bug Report, python hist_get_recent_data returns no historical data 
> Unfortunately I again cannot reproduce this:

> $ python ~/DAQ/midas_latest/python/examples/basic_hist_script.py
    Reply  18 Mar 2025, Konstantin Olchanski, Bug Report, python hist_get_recent_data returns no historical data 
>
> However right after running these commands I removed a .SHM_HOST.TXT file
>
Entry  11 Mar 2025, Federico Rezzonico, Bug Report, python hist_get_events not returning events, but javascript does 
After starting midas (mhttpd &, and mlogger -D) and running the `fetest` frontend I went into the midas/python/examples directory and ran basic_hist_script.py,
and, even though I could see the 'pytest' program in the Programs page,
    Reply  11 Mar 2025, Ben Smith, Bug Report, python hist_get_events not returning events, but javascript does 
> Valid events are:
> Enter event name:
    Reply  14 Mar 2025, Konstantin Olchanski, Bug Report, python hist_get_events not returning events, but javascript does 
> After starting midas (mhttpd &, and mlogger -D) and running the `fetest` frontend I went into the midas/python/examples directory and ran basic_hist_script.py,
and, even though I could see the 'pytest' program in the Programs page,
    Reply  16 Mar 2025, Federico Rezzonico, Bug Report, python hist_get_events not returning events, but javascript does 
> After starting midas (mhttpd &, and mlogger -D) and running the `fetest` frontend I went into the midas/python/examples directory and ran basic_hist_script.py,
and, even though I could see the 'pytest' program in the Programs page,
    Reply  19 Mar 2025, Konstantin Olchanski, Bug Report, python hist_get_events not returning events, but javascript does 
> beta version of macOS: Switching beta updates off fixed the issue.

I would be very surprised if that was the problem.
Entry  05 Feb 2008, Denis Bilenko, Info, pymidas 0.6.0 released - python bindings for Midas 
Hi!

I have released pymidas - Python binding to Midas.
Entry  06 Mar 2023, Gennaro Tortone, Forum, pull request for PostgreSQL support 

Hi,
ELOG V3.1.4-2e1708b5