First, please make sure that your QM 3.3.0 model is valid and opens correctly with QM 3.3.0. Note that you can have both QM 4.0.0 and QM 3.3.0 installed on a single machine. Obviously you need to install QM into different directories.
If your model is valid in QM 3.3.0, perhaps you could share it privately with Quantum Leaps, so that we are able to determine exactly which model reference causes problems. Please send your model to info@state-machine.com, if you choose this option.
--MMS
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Uninstalled 3.3.0, then installed 4.0.0. Model was valid in 3.3.0. I was able to make a 4.0.0 model with a QPC framwork using no temple. I them edited the model file using an editor to copy XML from 3.3.0 model to 4.0.0. Then opened the model in QM. There were errors in building. Turns out I had some QFsm classes and for those classes, the initial state transition was connected to no state anymore. Reconnected and change QFsm to QHsm and it now works.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Editing the XML model file by hand might corrupt the internal model references. Such editing has never been supported in the past and is not going to be supported in the future. The only legitimate changing of the XML model file is though the QM modeler tool.
This bug is closed with this comment.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Last comment, since you did not read/understand my added post before this was closed. QM3.3.0 model file did not open using QM4.0.0. There was no model file editing done, so the issue is with the newer QM. Perhaps it chokes when it see QFsm classes. Let other users be warned.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Good point. QM 4.0.0 is designed to work with QP 5.8.0 and newer (as clearly indicated in the "About" dialog box QM4.0.0 Model Error2.png) and contains the updated models of QP/C, QP/C++, and QP-nano 5.8.0. These frameworks no longer have the QFsm class and therefore the reference to this class cannot be resolved.
The proper course of action is to replace the QFsm as the superclass with QHsm still with the QM 3.3.0 and only after this cleanup the model should be opened with QM 4.0.0. I hope this makes sense.
--MMS
Last edit: Quantum Leaps 2016-12-14
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, the QM 4.0.0 Revision History has been updated to inform QM users that the old QFsm base class has been removed from the internal models of the QP frameworks, and consequently attempts to open older QM 3.x models still referencing the QFsm class will fail.
--MMS
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
First, please make sure that your QM 3.3.0 model is valid and opens correctly with QM 3.3.0. Note that you can have both QM 4.0.0 and QM 3.3.0 installed on a single machine. Obviously you need to install QM into different directories.
If your model is valid in QM 3.3.0, perhaps you could share it privately with Quantum Leaps, so that we are able to determine exactly which model reference causes problems. Please send your model to info@state-machine.com, if you choose this option.
--MMS
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Uninstalled 3.3.0, then installed 4.0.0. Model was valid in 3.3.0. I was able to make a 4.0.0 model with a QPC framwork using no temple. I them edited the model file using an editor to copy XML from 3.3.0 model to 4.0.0. Then opened the model in QM. There were errors in building. Turns out I had some QFsm classes and for those classes, the initial state transition was connected to no state anymore. Reconnected and change QFsm to QHsm and it now works.
Editing the XML model file by hand might corrupt the internal model references. Such editing has never been supported in the past and is not going to be supported in the future. The only legitimate changing of the XML model file is though the QM modeler tool.
This bug is closed with this comment.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Last comment, since you did not read/understand my added post before this was closed. QM3.3.0 model file did not open using QM4.0.0. There was no model file editing done, so the issue is with the newer QM. Perhaps it chokes when it see QFsm classes. Let other users be warned.
Good point. QM 4.0.0 is designed to work with QP 5.8.0 and newer (as clearly indicated in the "About" dialog box QM4.0.0 Model Error2.png) and contains the updated models of QP/C, QP/C++, and QP-nano 5.8.0. These frameworks no longer have the QFsm class and therefore the reference to this class cannot be resolved.
The proper course of action is to replace the QFsm as the superclass with QHsm still with the QM 3.3.0 and only after this cleanup the model should be opened with QM 4.0.0. I hope this makes sense.
--MMS
Last edit: Quantum Leaps 2016-12-14
OK, the QM 4.0.0 Revision History has been updated to inform QM users that the old QFsm base class has been removed from the internal models of the QP frameworks, and consequently attempts to open older QM 3.x models still referencing the QFsm class will fail.
--MMS
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Thanks you Miro for updating the History to warn others!