protobuf error with test go-ipfs-repo #300
Description
I'm noticing some weirdness with the cli test repo. The object at QmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG
contains links to the starting materials (about, contact, help, quick-start, readme, security-notes). When trying to get some of the linked objects such as readme (QmPZ9gcCEpqKTo6aq61g2nXGUhM4iCL3ewB6LDXZCtioEB
) from within the cli tests (which are based on a copy of go-ipfs-repo), I'm getting an error "Groups are not supported".
Apparently this error is associated with protocol buffers. It's occurring at node.unMarshal(block.data) in the dag service, but I think the problem is with the block data rather than the dag service because I don't get this error using the same console command against the ~/.ipfs repo (node ./src/cli/bin.js object get QmPZ9gcCEpqKTo6aq61g2nXGUhM4iCL3ewB6LDXZCtioEB
).
Example of a test that shows this:
nexpect.spawn('node', [process.cwd() + '/src/cli/bin.js', 'object', 'get', 'QmPZ9gcCEpqKTo6aq61g2nXGUhM4iCL3ewB6LDXZCtioEB'], {env: env, stream: 'all'})
.run((err, stdout, exitcode) => {
console.log(stdout)
done()
})