Failed to create crx file - google-chrome

I'm trying to create crx file with the following command on a Virtual machine.
/opt/google/chrome/chrome --pack-extension=/tmp/private/1584732592206 --pack-extension-key=/tmp/private/ibehccbjeaejbaaamkdnaogceilbogkg.pem
I'm getting the following error:
ERROR:browser_main_loop.cc(1512)] Unable to open X display.
Other details:
OS: Ubuntu 18.04.2 LTS (Bionic Beaver)
Chrome Version: Google Chrome 80.0.3987.132
Can you please guide me overcome this issue? I just want to create crx file with the chrome executable.

Related

VSCode open-in-browser won't open google-chrome (ubuntu)

When I try to run the open-in-browser extension (TechER version; there are a few such extensions by roughly the same name) in VS Code (1.41.1), I continually get the following error message: "Open browser failed!! Please check if you have installed the browser correctly!"
I reinstalled google-chrome, made sure it was default, double-checked the xdg settings, but it still won't work. Any suggestions much appreciated
It is because there is no binary executable named google-chrome may be yours is google-chrome-stable .
One thing you can do is to copy the binary file google-chrome-stable and create a renamed file google-chrome
Or you can set a bah alias
alias google-chrome='google-chrome-stable'
I was having this same issue with the "open in browser" extension. I clicked on the settings icon and installed an older version 1.1.0. Its working again for me.

Cannot find chrome driver on Jenkins server

The issue that I am running into is that I cannot find the chrome driver on my Jenkins server. I am trying to run my selenium tests using the chrome driver.
Here is what I have tried so far:
1. Checked the version of Google Chrome that is installed
2. Commands that I have tried so far
which google-chrome
google-chrome --version
google-chrome --headless --disable-gpu --screenshot --window-size=1280,1696
Here is the error that I am receiving:
java.lang.IllegalStateException: The driver executable does not exist:

OpenFOAM installation for Windows - \config.json: The system cannot find the file specified

I am trying to install OpenFOAM on Windows 10 following the instruction on the official website (http://www.openfoam.com/download/install-binary-windows.php).
When I click OF_Env_Create to initiate Docker environment I get an error message:
open C:\Users\Admin.docker\machine\machines\default\config.json: The system cannot find the file specified.
Any Idea how I can solve this?
Thank you very much!

Can't open chrome with command line in Centos

I just installed chrome on my CentOS 6.7, following instructions here. The install seems to have completed, but I couldn't open chrome with the following command:
$google-chrome
It just does not do anything. If I try:
$google-chrome &
I get
[1]27033
And I did all these as a non-root user. Any input will be much appreciated!
Have you tried this steps from this link:
Open Chrome from centos

APE Install Missing File

After installing from the RPM and then trying the Binary versions of APE (AJAX Push Engine) I am getting this error (on both versions) when I try to run the APE server:
[Module] Failed to load ../modules/libmod_spidermonkey.so [Invalid library] (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory)
I am using Fedora Linux, with MySql and apache installed. How can I get this libmysqlclient file? I have found this RPM: http://rpm.pbone.net/index.php3/stat/4/idpl/12471829/dir/fedora_4/com/mysqlclient15-5.0.67-1.fc4.remi.i386.rpm.html
And it says it includes this file, so I downloaded it to the box, attempted to install and tells me that it's already installed.
Any advice would help thanks!
Inside the ape.conf there's a module working directory which must be altered.