"Cannot execute command" popup from IntelliJ when launching Docker Desktop - docker

I'm getting a strange error popup I suspect it has something to do with a built in integration of Docker in IntelliJ.
I'm running the following:
Mac OS Big Sur 11.4
IntelliJ 21.1.3
Docker Desktop 3.5.2.18
Docker version 20.10.7, build f0df350
When I launch Docker Desktop, it launches IntelliJ for some reason and I get an error popup immediately:
Title: Cannot execute command
Body: Can not open file /Users/myuser/Library/Containers/com.docker.docker/Data/--list-extensions
I've tried reinstalling both several times and used the Clear cache and clear data options in the Docker settings. I should also note that i've tried removing all projects from IntelliJ and docker and have even disabled the "Docker" plugin in IntelliJ but still get the same error.
Does anyone have any ideas on how to prevent this popup on launch? It is more of an annoyance than a blocker as I can simply close it and then use the tools without problems but its odd that this would happen. Originally I dismissed it as some random system specific configuration but today found that it is not specific to my environment as I got it on a fresh install on a new machine with new user.

It seems a bug of Docker Development Environments Preview. The IntelliJ IDEA is opened by this process.
/Applications/Docker.app/Contents/MacOS/com.docker.dev-envs
You can degrade the Docker Desktop to version 3.4.0 to temporarily fix this problem.

What worked for me today:
Upgrade to Big Sur (wanted to do that anyway).
Remove Intelli-J
Uninstall Docker
Install Docker 3.6.x
Install latest Intelli-J
Problem gone.

Related

Is Docker for Windows available for Windows 10 Enterprise - 10586 Build?

I have tried to download latest docker and it
Docker Desktop requires Windows 10 Pro or Enterprise version 14393 to run.
My build is :
It is difficult to find Docker which supports my version and on Google searches i am just finding posts where people are getting same error with 10586 build which suggests that Docker window exists for this build.
Can anyone suggest how to find and install the same?
From Docker Developer:
We updated the doc. Sorry, effectively we stopped supporting build
10586 in september, you will need to update to windows build 14393 at
least to install Docker For Windows. (Alternatively you can use Docker
Toolbox on windows)

Cordova build iOS App' : "Could not find module 'npm-registry-client' (Node JS)

I try to build my Cordova App' on Iphone without success. Everything is ok with Android and Windows Phone. I always have the same error when I try to build it on Iphone or iOS simulator : "Could Not find module 'npm-registry-client'".
Here's some screens:
PC:
Mac (Remote Build):
I use Visual studio 2015 on Windows PC,Angular JS framework, Npm 2.11.3 and NodeJS 0.12.7 . I've already build a blank Iphone app' with Xcode 7 on my mac. I've tried to remove the node_modules folder and reinstall Npm but it's not working...
Any suggestions?
Thanks for reading
EDIT : SOLUTION
I found the solution. 'npm-registry-client' was installed on my Windows PC but not on my Mac. In terminal,just write "npm install npm-registry-client" and everything works great!! (Emulator and device)
That error is most likely a bad install of Cordova on your Mac. Clearing out the installed Cordova version(s) from ~/.taco_home/node_modules will let the next build reinstall Cordova and should clear up the problem.
It's also possible but less likely that a Cordova install issue happened on your Windows machine instead. Reading the Output panel in VS will tell you if the error happened in the remote build log section or not. If it didn't come from the remote build, then clearing your Cordova cache and your npm cache would be the needed fix.
Hope that helps.

Visual Studio 2015 hangs on deploying cordova application

I'm trying to build a blank cordova application into my iPad Air 2 with Visual Studio 2015 Enterprise edition as i've already done it with success with the release candidate version.
I've got node.js v 4.2.2 on both machines since version 5.2.0 was hanging the build indefinitely, i've also got latest version of iTunes (12.3.1) as well as iOS 9.2 on the mobile device.
I've got the remote MAC set up and everything works fine for the building part, infact i've checked and the .ipa file is there at the end of the build into the folder ...\Documents\Visual Studio 2015\Projects\BlankCordovaApp1\BlankCordovaApp1\bin\iOS\Debug and if i launch that it will correctly install into iTunes and the iPad itself.
The problem is that the build action with Configuration "iOS" and "Local Device" with the iPad connected to the windows 7 PC will hang indefinitely after copying back said .ipa file after writing this line into the Build Output:
2>------ Deploy started: Project: BlankCordovaApp1, Configuration: Debug iOS ------
No matter how much time i wait it wont start the debug session even if i authorized the pc onto the iPad and have my web Inspector turned on onto the safari options. At this point i have to interrupt the build to be able to work again.
What really gets me is that if i connect the iPad to the MAC machine and build with "Remote Device" option the build works fine and i can debug remotely from my windows pc, unfortunately working like that isn't an option since the Apple machine isn't in the same room of my developing machine.
Any insight about this issue would be really appreciate, thanks in advance.
You are using a recent version of node and thus will also need to use a recent version of Cordova.
Specifically, you need to use Cordova 5.3.3 to be able to use Node.js 4.x.x+. The hang you are experiencing is exactly why. It's an incompatibility with a down stream node module and Node 4.x.x. You can downgrade to Node 0.12.x or upgrade your Cordova project to 5.3.3.
http://cordova.apache.org/news/2015/09/22/tools-release.html
Note that Node 5.x.x is only supported in Cordova 5.4.1.
This should be addressed in the latest VS Tools for Cordova Update 6. Deploying to local device is now available.
Take a look at http://microsoft.github.io/vstacoblog/2016/02/04/announcing-update-6.html.

Uploading app to iTunes Store,Error in Mavericks OSX 10.9.3 ,Xcode 5.1.1 [duplicate]

We Really need some help on this one:
We've Struggled with all the Apple Mumbo-Jumbo for the Last two months and can't seem to get our APP on the APPStore...
Right now my problem is after Validating the ARCHIVE compilation and sharing it.. in the Submit Process I Get -
"An error occurred uploading to the iTunes Store"
I Really don't Know what I'm doing wrong and don't seem to find ANYTHING on the Internet that solves the problem...
I've been stugling with this for over a week now... I've tried:
Creating a new Distribution Profile for Code Signing.
Checking All the Target Settings over and over.
Changing the FTP mode from Passive to non-Passive
Connecting from different networks
Reinstalling Xcode4
some other Work Arounds like Downloading the application Loader (Haven't installed it yet, but I Don't Know if I Should)
Please help us, what do you think could be the problem?
Thanks
Hernan
If you are unable to upload Apps to Apple and installed the JavaOSX update (April 3, 2012) this may help you regain your ability to upload Apps:
You can work around this issue by re-creating the old Java 1.5 symlinks:
cd /System/Library/Frameworks/JavaVM.framework/Versions
sudo ln -s CurrentJDK /System/Library/Frameworks/JavaVM.framework/Versions/1.5
sudo ln -s CurrentJDK /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0
Edit Oct 5, 2012 Oracle's Java 7
Elaborating on Hackmonford's comment below.
This exact error message also occurs with Oracle's Java SE 7 1.7.0_10 package installed. To resolve, open "Java Preferences" and either change the order to have Apple's Java SE 6 first, or untick Oracle's Java 7 while submitting to the app store. Verify your change by opening the Terminal:
prince$ java -version
java version "1.6.0_35"
I was having this problem this week, and installed the Java for OS X Lion 2012-002 update, and the problem cleared up. Resetting disk permissions had no effect.
This just happened again.
For OSX 10.8.2 users (does not have Java preference), the only way to fix this is to uninstall oracle jdk.
cd /Library/Java/JavaVirtualMachines
sudo rm -rf jdk1.7.0_09.jdk/
I had also a JavaVM / JRE issue. I have installed the JDK 7 preview from Oracle and that mixed up the upload process which told me the known "An error occurred uploading to the iTunes Store".
A quick check of /var/log/system.log (e.g. using tail in a terminal: tail -n 100 /var/log/system.log) brought up the following error message:
Java 1.5, 1.6, or 1.7 is required. Currently, java is the default java version. Please upgrade.
I had installed the MacOS Preview of JDK 7 directly from Oracle. To fix this issue, simply launch the Java Settings app in Utilities and uncheck JDK 7 from Oracle. Of course you should have an alternate JRE from Apple. See the screenshot how my configuration looks. The upload works for me now.
The odd thing is that the Oracle JDK isn't recognized as Java 1.7 by Apple. This seems like a bug.
UPDATE:
The GUI tool was removed from MacOS. Now, the only solution I know of is to remove the JDK 1.7 folder manually. See the JDK 7 docs how to do this:
Navigate to /Library/Java/JavaVirtualMachines and remove the directory whose name matches the following format:
/Library/Java/JavaVirtualMachines/jdk<major>.<minor>.<macro[_update]>.jdk
For example, to uninstall 7u6:
% rm -rf jdk1.7.0_06.jdk
A bit late, I know - but for anyone still having this problem - Look in your /var/log/system.log log file. In my case the problem was that the iTMSTransporter script (used by the Organizer when uploading the file) used 'awk', and I had to replace it with '/usr/bin/awk'.
Completely solved my problem.
Y.
Just in case this is useful for anyone else - for me it was that the Java JRE was not up-to-date. I checked the console and Application Loader was complaining
I had this problem today after installing latest XCode.
I fixed it by running software update and installing latest Java Update.
I tried the same thing as Hernan, but even with application loader 1.3 I wasn't able to upload.
I noticed that this has happened after installing OSx Lion and upgrading XCode to 4.1!
I followed Joe's tip and I found out that JAVA wasn't even installed.
Follow this blog entry:
Unable to Upload App to App Store
My mbp now run Xcode4.2(4D199) on Lion, I installed the latest java for Lion. And finally I sovled this issue.
Many guys said, he can used the old Application Loader app to upload the apps. so I guess the problem is the latest Application Loader app(2.4.1 (190)), and the fact told me I am right
Okie, in short words:
Here is the solution:
1.I hope you guys do not delete the old Xcode(4.1). We Should pick up the old version Application Loader app.
cd <Install Xcode app>/Contents/Resources/Packages
cp ApplicationLoader.pkg ~/Desktop/
Now, you get the ApplicationLoader package.
2.Install the old one.
Tips: you can remove the latest Application Loader app in path: /Developer/Applications/Utilities/ or just remane it.
That's All.
Hope this way can help you and enjoy the new Xcode4.2. Also hope apple developer can saw this problem and test the latest Application Loader app more.
No Problems submitting to AppStore on April 1st. Issue occured on April 9th. Installing the Java for OS X Lion 2012-002 update via Mac-OS software updater and rebooting the machine fixed it.
Just update to the latest JAVA at your Mac Software Update.
Here is the steps to resolve this issue:
To start with I had installed Oracles Java 1.7 JDK, which was really messing things up.
Went to Finder>Applications and entered in Search box - JavaAppletPlugin.plugin
Right clicked and removed to trash.
A check in Terminal for Java version still showed Java 1.7
my-imac:~ my$ java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
1. Finder>Library>Java>JavaVirtualMachines showed the 1.7 SDK (make note of exact name of the Directory name)
Just in case anything went wrong I copied the 1.7 SDK folder to my desktop before doing the next item
2. In terminal type
cd /Library/Java/JavaVirtualMachines
3. You should now be in that directory
sudo rm -rf jdk1.7.0_06.jdk (or whatever the exact name of the directory is in step 1.)
You may have to enter your administrator password
The directory should now be deleted and you can verify in Terminal by
java -version
Mine now showed "Java 1.6_xxx"
Went into Xcode Organizer and distributed my app to the iTunes store without a problem. Whoo,hoo!

DSInit has disappeared on upgrading Azure SDK to 2.3

I recently upgraded two separate development environments to the new Azure SDK 2.3 tools.
The storage emulator did not initialise as expected. So I go to run DSinit to initialise the database and it's gone! It's like someone has stolen it. I have searched the whole disk and it's not there. So now I have a storage emulator that will not initialise and the tool to repair it has somehow disappeared when I upgraded from Azure SDK 2.2 to 2.3.
The question is, Where can I get DSInit. and Is this just me?
I have tried uninstalling and reinstalling both SDK's.
It looks like DSInit is no longer the way to start the emulator.
The options I can see is to use CSRun from an Azure SDK Command Prompt
csrun /devstore:start
This appears to have been replaced by WAStorageEmulator.exe that can be found at %ProgramFiles(x86)%\Microsoft SDKs\Windows Azure\Storage Emulator. From there, WAStorageEmulator.exe can be run to init, start and stop the emulator.
WAStorageEmulator.exe init : Initialize the emulator database and configuration.
WAStorageEmulator.exe start : Start the emulator.
WAStorageEmulator.exe stop : Stop the emulator.
WAStorageEmulator.exe status : Get current emulator status.
WAStorageEmulator.exe clear : Delete all data in the emulator.
WAStorageEmulator.exe help [command] : Show general or command-specific help.
There is also an icon on the Start Menu/Screen that runs WAStorageEmulator.exe for you in a command prompt.
DSInit is replaced by WAStorageEmulator. You can run the following commands in Windows Azure Command Prompt - 2.3:
Change the directory:
cd C:\Program Files (x86)\Microsoft SDKs\Windows Azure\Storage Emulator
Running the utility:
WAStorageEmulator init /sqlInstance .\sqlexpress
Hope this helps!

Resources