-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing unit test on macOS 10.15 with nixpkgs 19.09 (beta) #7
Comments
This is pretty strange and seems to originate in tensorflow or protobuf? tensorflow/tensorflow#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 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 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. |
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
:The text was updated successfully, but these errors were encountered: