Open danieldk opened 5 years ago
This is pretty strange and seems to originate in tensorflow or protobuf? https://github.com/tensorflow/tensorflow/issues/23410 sounds similar but the issue is supposedly solved since 1.13/1.14
If I'm reading the logs correctly, then this error originates in the following method:
def AppendBoolArrayToTensorProto(tensor_proto, nparray):
cdef long i, n
n = nparray.size
for i in range(n):
tensor_proto.bool_val.append(nparray.item(i))
which ends up calling the method in protobuf
:
def append(self, value):
"""Appends an item to the list. Similar to list.append()."""
self._values.append(self._type_checker.CheckValue(value))
if not self._message_listener.dirty:
self._message_listener.Modified()
So something is going wrong in that method call that leaves self
uninitialized?
I don't have a machine with MacOS 10.15 and travis-ci only supports up to 10.14, I'm not sure on how to proceed with this issue
This may be a 10.15 issue, Apple is notorious for breaking things between releases and since this is Cython code there may be some weird interaction between Tensorflow (compiled with older macOS) and something that was compiled with 10.15.
But that's just a wild guess.
I might also try with macOS outside Nix, but I dread setting up all the stuff, since the machine is only half functional anyway since the update to 10.15 (that's what you get for running betas). Let's see what Patricia finds with her Mac.
I might also try with macOS outside Nix, but I dread setting up all the stuff, since the machine is only half functional anyway since the update to 10.15 (that's what you get for running betas). Let's see what Patricia finds with her Mac.
No failing unit tests on 10.14.6
The failure part of the log. Environment file below (but pretty boring), same setup works on Linux.
shell.nix
: