Post

Replies

Boosts

Views

Activity

Debugging and fixing rPaths for GateKeeper?
I am yet another another developer facing the issue of having a notarized application cryptically blocked by GateKeeper with the unhelpful "unidentified developer" message. I followed Eskimo's instructions of combing the system logs, and caught an event by XprotectService: File /Applications/Cook-a-Dream.app/Contents/Resources/app_packages/PySide6/lupdate failed on rPathCmd /Users/qt/work/install/lib/QtCore.framework/Versions/A/QtCore Googling around, I found some people reporting similar problems (with other libraries) being fixed by detecting and fixing this kind of problem by deleting/changing some of the rpaths with install_name_tool. The questions: How do I confirm if the issue is indeed one of rpath? What are the general "rules" that govern what is allowed or not allowed in terms of rpaths for GateKeeper? Can I add a prophylactic step to my workflow to detect those issues before notarization?
6
0
1.7k
Feb ’22
Getting a Check failed: IsAligned() ptr on tensorflow-metal for the deepdream demo
When running the code on the sample notebook for deepdream — https://www.tensorflow.org/tutorials/generative/deepdream — I get the error below when I try executing the tiled version (cell [18] in the notebook). 2021-12-17 15:56:05.988238: I tensorflow/core/grappler/optimizers/custom_graph_optimizer_registry.cc:112] Plugin optimizer for device_type GPU is enabled. 2021-12-17 15:56:06.768675: F tensorflow/core/framework/tensor.cc:681] Check failed: IsAligned() ptr = 0x7fb6115606f0 I don't get the error on the other cells of the notebook, and I don't get the error running the notebook on CPU, or running it on other accelerators (e.g., NVIDIA on Linux). I'm running tensorflow-metal on a 27-inch, 2017 iMac with a 8GB Radeon Pro 580 and macOS 11.6.1 (20G224).
14
0
3.4k
Dec ’21