Cannot serialize message to stream

Sep 16, 2015 at 1: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 8: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.
Coordinator
Sep 17, 2015 at 8:43 PM
Hello,

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

OpenCppCoverage
Coordinator
Nov 19, 2015 at 4:59 PM
Hello,

It will be fixed in release 0.9.4: https://opencppcoverage.codeplex.com/discussions/647651

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