Cannot save in Checkmate Pre-defined pipeline QA check setting exported from Rainbow
Hi Yves,
Cah you please check this?
I have a pre-defined pipeline QA check setting exported from Rainbow - qa_us_sch_20141103.qccfg. When I import it into Checkmate, I can properly use it, but I cannot save the Checkmate session correctly - an error box always pops up - 2016-06-16.png - and the saved file - dd.qcs - is incomplete/damaged. You can find all the mentioned files in the attached zip package.
Thanks, Wei
Comments (12)
-
-
The issue is that the CheckMate session is a binary file, saved using
DataOutputStream
and more specificallywriteUTF()
. There is a 64K size limit in the size of the string that function can write, and the string containing all the configuration parameters in more than 500K, so we get an error.There is no quick work around this. I'll work on it this week-end.
Meanwhile, in your specific file most of the size is due to the patterns settings which are disabled. So maybe you can delete the patterns in that configuration since they are not used. This should bring down the size significantly. Then you should be able to save the session.
-
reporter Actually, I would need those patterns - it just so happened that I turned them off when I was trying to find out about the issue.
-
reporter And I had always wanted to see a feature of putting bulksized patterns in a separate file for Checkmate/Rainbow to use...
-
It was faster than I thought to fix the problem. So there should be a fix available within a few hours. But the session files with large configurations like this will not be backward compatible with previous versions of CheckMate.
-
Yes, having a separate pattern file would be good. But it'll take time to have that.
-
- changed status to resolved
Updated CheckMate session files to allow for large configurations, keeping files backward compatible if configuration is under about 21K. This resolves issue
#548.→ <<cset 4f381dafe3bd>>
-
The updated version of CheckMate with the fix is available here: http://okapiframework.org/snapshots/
-
reporter WOW that's fast! Thanks Yves!!
-
reporter Actually, I have another question - who would have access to files attached to an issue ticket? I am a little concerned about privacy here.
-
Everybody. this is open-source. I will delete the file.
-
reporter Yes, please, and I am sure that will be a very good practice.
- Log in to comment
I'll try to look at it today.