This project is read-only.

Cannot serialize message to stream

Sep 16, 2015 at 2:52 AM
I have come across an error from OpenCppCoverage. When running even a basic configuration against a certain project, I get the following error.

Error: Binary\CoverageDataSerializer.cpp:87 Cannot serialize message to stream

I tried verbose mode and didn't see anything that seemed to help either.
Anywhere I can look to solve this?

My calling command is as follows
OpenCppCoverage.exe -v --sources xxx --modules xxx --export_type binary:Coverage\7\binary\yyyUnitTests -- xxx\Main\Trunk\Server\xxxUnitTests\yyyUnitTests\Debug\yyyUnitTests.exe
Sep 16, 2015 at 9:44 PM
After some trial and error, I've realised it's just because the destination folder doesn't exist. Maybe something that can be fixed in the next version?
Now I know I can work around it obviously.
Sep 17, 2015 at 9:43 PM

I will definitely add a fix or an explicit error message in the next version. Thanks a lot for your feedback.

Nov 19, 2015 at 5:59 PM

It will be fixed in release 0.9.4:

Marked as answer by OpenCppCoverage on 1/2/2016 at 3:40 AM