realisability checker TypeError
Hi,
When diagnosing unrealizable requirements this TypeError appears: TypeError: Cannot read properties of undefined (reading '0') Testing is a boolean input variable.
What is that trying to communicate?
Thanks, Anna
This is also happening to me (Anna is one of my students at Nottingham) with Ubuntu 22.04.5, Node v20.18.0, and using Kind2 v2.2.0 and Z3.
Anna is on a Mac, also using Kind2 v2.2.0 and Z3.
FRET also prints the following error details to the terminal:
TypeError: Cannot read properties of undefined (reading '0')
at o.exports.runEnginesAndGatherResults (/home/pszml/bin/fret/fret-electron/app/webpack:/fret/analysis/DiagnosisEngine.js:160:38)
at o.exports.main (/home/pszml/bin/fret/fret-electron/app/webpack:/fret/analysis/DiagnosisEngine.js:633:30)
at /home/pszml/bin/fret/fret-electron/app/webpack:/fret/model/realizabilitySupport/realizabilityUtils.js:540:18
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Thanks, Matt
Hi Anna and Matt,
I've been able to replicate this on Ubuntu. Using Kind2 v2.1.1 seems to resolve this issue. Can you downgrade to that and let me know if it worked?
When you downgrade, make sure that the correct Kind2 binary is accessible to FRET. This means that you may need to update the directory under which the new binary exists in your PATH environment variable.
Thanks,
Andreas
One way to ensure that you are indeed using the correct binary is to run the following command from a terminal window:
kind2 --version
The output should be kind2 v2.1.1.
Andreas
Hi @andreaskatis
I've downgraded Kind2 to version 2.1.1 and it works now:
Perhaps I'll default to using Kind2 v2.1.1 for this, it seems to be more stable.
Hopefully this works for Anna on her Mac too.
Thanks for your help, Andreas!
Changing to kind2 v2.1.1 also works for me.
Thanks for helping!