CentOS - yum install - Fails: Protected Multilib versions: problems found libselinux

I have CentOS 6.5 I'm trying to intsall git via yum but getting an error while installing the pre-requisite packages. I don't need to but it doesn't hurt running sudo with root. Error message: -->...

Reopen window throws Gtk-CRITICAL **: gtk_widget_get_window: assertion 'GTK_IS_WIDGET (widget)' failed

I have simple python3 + gtk3 code, which connects to dbus and listen for all events. When user click on icon in tray, he must see window with all showed earlier events. Code(I don't know where is...

cv2.VideoCapture not working in docker container on a mac host

I am unable to open the web cam or capture a video in an Ubuntu 16.04 docker container on a Mac OS Sierra 10.12.6 Host. vid = cv2.VideoCapture(0) where vid.isOpened() returns a False and ret,...

Ubuntu Python: unable to pip install dlib - Failed building wheel for dlib and machine is almost stuck

I am trying to install dlib (machine learning library) for my django python environment. however, i cant get it installed. there is error and stuck. based on this instruction, this is what I did...

How to resolve issue related to installing Java 8 on Debian 8 (Jessie)?

I'm a Linux noob, and I trying to follow a variety of articles on installing Java 8 on Debian 8...

Headless Chromium with Puppeteer doesn't work on Amazon Linux AMI

Help! Sorry for my bad english Issue:Applying the Puppeteer from the AWS linux AMI doesn't work. Thrown error: (node:11529) UnhandledPromiseRejectionWarning: Error: Failed to launch...

How can i make the JXBrowser run in RedHat Linux latest Version?

I have a valid license for JXBrowser. I am using version jxbrowser-linux64-6.20. When i try to run the program using JXbrowser in linux, i get the below error. This is the error I am getting. I am...

Error "Running as root without --no-sandbox is not supported"

I try to implement scrapy-puppeteer library for my project (https://pypi.org/project/scrapy-puppeteer/) I implement PuppeteerMiddleware according to documentation from library Here is code which I...

CircleCI 2.1 build failing

I am having some issues setting up my CircleCI config.yml file to accommodate a Cypress e2e test after I upgraded it to version 2.1. It keeps failing with the following error: #!/bin/sh -eo...

Install google chrome for python selenium in a google cloud run app

I'm trying to use selenium in a cloud run app that I'm working on. The app works correctly on my local machine but it's not working after I deploy it on google cloud run. The error I'm getting is...

Use openvino from docker

I am trying to use OpenVINO from docker container. I use docker file from official web site https://docs.openvinotoolkit.org/latest/_docs_install_guides_installing_openvino_docker_linux.html FROM...

installing opencv failed- pasting the contents of CMakeError.log

I tried the following sudo apt-get update sudo apt-get upgrade sudo apt-get install build-essential cmake unzip pkg-config sudo apt-get install libjpeg-dev libpng-dev libtiff-dev sudo...

Cypress & Jenkins: Install system dependency "xvfb" via Jenkinsfile

To run Cypress, it requires that system dependencies be installed, Cypress Dependencies apt-get install libgtk2.0-0 libgtk-3-0 libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth...

How to create a lambda layer with selenium 3 and firefox?

I have a working docker container and want migrate to a lambda layer for selenium 3.141 on firefox. Dockerfile for the working container is: FROM python:3.7-slim RUN /usr/local/bin/python -m pip...

Removing "help" tool from Matplotlib toolbar causes: AttributeError: 'NoneType' object has no attribute 'destroy'

In my ubuntu 18.04 VM with Python 3.7.7 and matplotlib 3.3.1 this code works without error: plt.rcParams['toolbar'] = 'toolmanager' fig = plt.figure() tm =...

InternalError running JavaFX 15 application on Windows Subsystem for Linux

I am stuck when trying to run JavaFX 15 applications on Windows Subsystem for Linux WSL2 / Ubuntu 20.04, and need suggestions on the next steps to try. So far I have been able to run all my Java...

Getting Symfony\Component\Process\Exception\ProcessFailedException while downloading a pdf using Puppeteer

I am using puppeteer to download a pdf. I have installed the puppeteer using the following commands. 1.curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - 2.sudo apt-get install -y...

Deploying a Dockerized node app onto Heroku and using Xvfb with puppeteer, cannot launch browser

Puppeteer version: 5.5 Platform / OS version: Docker container deployed on Heroku Node.js version: latest I have set up puppeteer scripts that live in a docker container, so that they can be run...

Gitlab runner ECS fargate build docker images

I have moved my gitlab-runner infrastructure to AWS ecs fargate and now it is working fine. But I have problem, I have a .gitlab-ci.yml file and has following commands: stages: -...

Passing no-sandbox but still getting error 'Running as root without --no-sandbox is not supported.`

I was able to get it working using the node user and setting up a sandbox using --cap-add=SYS_ADMIN but AWS ECS Fargate does not support adding SYS_ADMIN as a linux parameter. Therefore, I am...

Firefox headless not working within Docker as non-root user

As the title says, I'm having trouble running Firefox in headless mode inside a Docker container as a non-root user. Consider the following Dockerfile, built with docker build -t firefox . FROM...

How to deploy google cloud functions using custom container image

To enable the webdriver in my google cloud function, I created a custom container using a docker file: FROM python:3.7 COPY . / WORKDIR / RUN pip3 install -r requirements.txt RUN apt-get update...

Install libgtk-3-dev on Ubuntu 20.04

I would like to write a GUI in cpp. As far as I know gtk is a nice solution for this. Sadly it appears to me that gtk is no longer available under Ubuntu 20.04. (I am using Xubuntu if this...

Find the latest version of sdk-tools-linux-*.zip

I use Travis to run my JUnit tests on Android via the emulator. This works very well so far. However, how can I determine what the latest version of sdk-tools-linux-*.zip is? Currently, I am using...

How to record Video with Audio from a puppeteer instance from a docker container

I'm trying to build a simple server that basically: opens a webpage with a puppeteer instance. records the webpage and save the video file. I was able to implement this with puppeteer-stream and...

Unable to run npm command in bitbucket pipeline

I'm trying to run the following pipeline in bitbucket image: node:14-stretch pipelines: default: - step: name: Install Depndencies caches: - node ...

Electron builder fails to get the proper version of fpm ; it downloads the version for x86,but it needs the arm64 version

I would like to install ferdi inside docker on my jetson nano (arm64). Below u can see the dockerfile that I have written with the help of @https://github.com/vraravam. Unfortunately there is an...

Run puppeteer headful in docker container when the docker host is windows

I have dockerized two services: web frontend(containing the gui in angular accessed on port 3000) backend(that has puppeteer dependency for extracting data from a web page accessed on port...

JavaFX error in WSL 2 : java.lang.UnsupportedOperationException: Unable to open DISPLAY

I just switched from Ubuntu 20.04 distro back to Windows with integrated WSL 2, and I am having trouble running my JavaFX project. I get the following error stacktrace around launch(args) inside...

Cannot launch playwright chromium

I m trying to create .net 5.0 docker image with playwright, my image build properly but when i run my app using dotnet run Agent it fails on: await using var browser = await...