I am using appdmg https://www.npmjs.com/package/appdmg to create dmg.
In OSX 10.15 it is failing quite often, I get the following error
Error: Command failed: hdiutil detach /Volumes/MyAppName
hdiutil: couldn't unmount "disk2" - Resource busy
What should I do to fix this?
Related
I'm struggling to run the same tensorflow serving docker image on two different mac computers.
Here is the dockerfile
FROM tensorflow/serving:2.6.0
RUN mkdir /models
WORKDIR /models
COPY ./ /models
EXPOSE 8080
ENTRYPOINT tensorflow_model_server --rest_api_port=8080 --model_name=MyModel --model_base_path=/models/
When I build and run this on Mac 1, it works fine.
However, on Mac 2, the following error occurs:
[libprotobuf FATAL external/com_google_protobuf/src/google/protobuf/generated_message_reflection.cc:2345] CHECK failed: file != nullptr:
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: file != nullptr:
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted
Does anyone know why is happening, and how to prevent it? Thanks!
Mac 1 specs:
MacOS Monterey Version 12.5
Processor: Quad-Core Intel Core i7
Mac2 specs:
MacOS Monterey Version 12.0.1 (21A559)
Chip: Apple M1 Pro
I have not seen this error. Yet if it works with i7 and not M1, it might be because your TensorFlow serving image does not work with arm64 arch. You may need a custom build
I have found one here : build for apple's M1
but I am having difficulties myself to run it.
Edit: actually it runs now
Whenever, I am opening my mac terminal it is showing me the following error :
Error: unknown or unsupported macOS version: :mountain_lion.
I do not have any type of mongodb setup as most of the resources I found online was referring to this error when they were trying to work with mongodb.
I am running macOS Catalina, version 10.15.7. Any suggestion how to resolve or investigate this? If I look in .profile, .bashrc or bash_profile , what should I be looking for?
This Terminal Emulator is not functional because no 'bash' shell could be found.
Please correct the problem and restart the ID
This is a brand new OSX laptop with 10.13.6, and I've been trying to replicate the setup with aptana 3. I'm not sure what I'm missing to be getting this error... previous threads with similar errors all seem to be dealing with windows environments
I had the same issue on macOS Mojave 10.14 with AptanaStudio 3.7.2 and could fix it based on the suggestion here (which is for linux) https://stackoverflow.com/a/6685532/5220160
So assuming your AptanaStudio.app sits in /Applications the fix would be chmod +x /Applications/AptanaStudio.app/Contents/Eclipse/plugins/com.aptana.terminal_3.0.0.201802081530/os/macosx/redtty
I've installed fiddler for mac and the mono framework. I also followed the install instructions pdf included in the download
While running
$ mono --arch=32 Fiddler.exe
I get
Thunderbolt
/Users/XXX/dev/fiddler-mac/FiddlerAttach.applescript:7:87: execution error: /bin/sh: Ethernet,127.0.0.1,8888,on,127.0.0.1,8888,on,0,0,off,0,0,off: command not found (127)
The UI does launch and when I try to start capturing traffic, the same error repeats in the terminal
Mac OS X V. 10.9.4 2.4 GHz 2 GB RAM
Im trying to use Git through my mac terminal and it keeps returning this error every time I submit a git command: "xcrun: error: unable to exec Xcode native xcrun (Exec format error).".
I already installed git and github in my mac. Im somehow new to programming I i don't really understand whats causing this error. Its getting very frustrating.
The following works for me:
sudo xcode-select --reset
The GUI equivalent of this is to log into the machine, open Xcode, go to preferences, locations, and set the active command line tools version of xcode
I was getting a similar xcrun: error: unable to exec Xcode native xcrun (Not a directory). on my mac which is managed by a central admin. I had to run my command with sudo.