IMFS-MMB / mmb-gui-electron

Electron-vue based GUI of the Macroeconomic Model Database
http://www.macromodelbase.com
Other
7 stars 16 forks source link

Test with Matlab 2019a still fails #125

Closed btatar13 closed 4 years ago

btatar13 commented 4 years ago

Describe the bug I have just tested the latest version with Matlab 2019a, but the test still fails. With Octave 4.4.1 no Octave terminal window pops up but after about one and a half minutes it writes that all tests passed. Is that normal?

Desktop (please complete the following information):

gboehl commented 4 years ago

Octave: Yes, that is normal. The sample size is relatively large, so it tkes time.

What does "test still fails" mean? By now you know how to run the test inside Matlab, so what is it that is not working? Matlab part or the GUI?

btatar13 commented 4 years ago

This is the Output in Matlab:

---OUTPUT-START--- --- Autocorrelation --- expected -0.071, actual -0.071 success --- Unconditional variances --- expected 1.1702, actual 1.1702 success --- Input response functions --- expected 0.0415, actual 0.0415 success

successful =

 4

successful =

 5

--- [AL] Input response functions --- expected -0.6807, actual -0.6807 success 6 out of 6 successful

And the GUI message is: "Tests seem to have run, but no output could be captured. Simulations may produce wrong results ... "

It seems that something is not working properly in the GUI.

j2L4e commented 4 years ago

Can't reproduce. Please post a screenshot of the settings dialog.

btatar13 commented 4 years ago

Here you go MMB_error_test_GUI.pptx

j2L4e commented 4 years ago

You still have backends in the list from when version detection was broken. Remove the matlab/ovctave versions from the list and rescan, then it's going to work.

btatar13 commented 4 years ago

Thanks a lot, now it works. No Matlab window pops up, but in the GUI it is written that all tests are passed. For Octave it works too.