Python3: How can I find out what version of GTK+ I am using?

I need to find out what version of GTK+ I am using. The problem is there seem to be so many different version numbers involved I am not sure which ones are most relevant. My system is Ubuntu 12.04...

Problems around Gtk and PyGtk

In the code file i have to link just one library (from gi.repository import Gtk). But when i run it it replies me: Gtk-WARNING **: Unknown property: GtkTextView.input-purpose ERROR --file:...

Regex using Vala and GLib

Is there a function, something like http://php.net/manual/en/function.preg-match-all.php ? Using GLib http://references.valadoc.org/#%21api=glib-2.0/GLib.MatchInfo, all i'v found is : public bool...

Search Directories for ld passed via gcc and loaded libraries

I am trying to crosscompile a simple c program using gcc. In my case it is a small gtk2 application: #include <gtk/gtk.h> int main(int argc, char *argv[]) { gtk_init(&argc, &argv); return...

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: -->...

Ubuntu / DigitalOcean - Unable to fetch packages to install git on a fresh install

Just started with a fresh install of Ubuntu 14.04 on my digitalocean droplet and I'm trying to install git. My first attempt failed to install some packages - [email protected]:~# sudo apt-get install...

Net::HTTPServerException causing Chef to fail

I'm attempting to set up a Rails environment with Vagrant and Chef by following this guide. I've used it in the past with success. When I run vagrant up it fails, and (I think) this is the...

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,...

Error while installing postgresql

I've never used postgres, only MySQL, so it's new for me. I'm trying to installing it on a VM(so I can use only command line). Running the command sudo apt-get install postgresql this is my...

Sublime Text 3 installation with GTK library fails on AWS Ubuntu 16.04.03 instance

I tried to install Sublime Text 3 on an AWS Ubuntu 16.04.3 LTS instance according to the instructions provided by the link: Install Sublime Text 3 in Ubuntu 16.04 & Higher The Official Way. After...

Haskell with glade gtk+ requiredversion 3.20

I installed glade from ubuntu software on 17.04, gtk and all dependency packages and I found out that the installed version of gtk+ (2.24) isn't compatible with glade Gtkbuilder format but gtk+...

Open files from Linux bash shell on Windows 10

Using Windows 10 and I have the Linux Bash Shell to use with Jekyll. All I am looking to do is open the explorer or filesystem to copy some files. Does anyone know how you browse the file explorer...

How to install openCV for python3.5 on docker (debian:jessie)

I've been struggling for a few days with this, couldn't find the proper way to install OpenCV + python3.5 on debian:jessie docker (I can't use any over base image beside debian:jessie). I...

AttributeError: 'NoneType' object has no attribute 'text' ElementTree Python

I am trying to find package element and iterate inside package elements to get required fields. I have referred some of the answers but it didn't work out for me. Can someone suggest/help me how...

Glade detects wrong version of Gtk+

I have a program (written by someone else) that I am trying to run. Traceback (most recent call last): File "gui/gui.py", line 387, in <module> gui = GUI(filepath=filename) File...

How to minimize an ubuntu docker image which needs only git, cron and openjdk-8-jre

Testing some docker project so after playing with alpine, I would like to use ubuntu:bionic for production. I decided to roll out my own image but the problem is that it's 600MB+ . REPOSITORY ...

Unable to connect to docker.sock when it exist with permissions running inside docker container

I'm setting up a base image that has docker installed and configured so when I run my jenkins pipeline I can do anchore scanning. I have to pull the anchore image inside the docker image because...

How to resolve "Function calls are not supported in decorators but 'StoreModule' was called."

I've an angular (7) project. In my package.json, I've a command defined: { "name": "xxx", "version": "0.1.0", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", ...

EROFS: read-only file system when running puppeteer on EBS after a day

I'm running puppeteer on Elastic BeanStalk. Every 30 minutes it has around 200 URL to open. Each of those opens and closes a brand new browser. After around a day of running it just stops and...

Docker-compose up missing files

My question is simple , when docker-compose build : some new folders will be generated using npm run prod command , I've added in my Dockerfile "ls -lhtr the_missingFolder" and I can see it's...

is $DISPLAY set properly? - Running a wxPython Phoenix GUI in a docker container

I would like to dockerize a GUI written with wxPython Phoenix in order to have the GUI appear on the host when running the docker image. Below is a basic wxPython Phoenix GUI and the Dockerfile...

docker: building opencv with cuda image size too big (22.4 GB)

After countless errors i have been able to build an image of opencv with cuda for python. But image size is way too big. I have tried to reduce the size by following some articles but failed to do...

KeyError while trying to run Selenium-pytest in Docker Container

I am trying to run pytest Test Framework with Docker. However I am encountering the below error while running the...

Testing extension's vscode-test tests on wsl fails with 'bash: cannot set terminal process group (-1): Invalid argument'

I am unable to run VS Code tests (that are using the vscode-tests package) as in the helloworld-test-sample on wsl to locally reproduce build failures. I think I got close, I overcame this...

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...

Heroku requirements.txt dependencies not installing, returning ImportError: No module named selenium

I'm trying to deploy a Python script on Heroku that utilizes Selenium. I have my Python script file, Procfile, requirements.txt(created via pipfreeze), and runtime.txt files all created in my root...

Java Eclipse (2020-09) Import launch configuration: Unhandled event loop exception

I'm trying to import a Launch configuration that I created before. File->Import...->Run/Debug->Launch Configuration. When I click on browse to locate the file I get a window with a...

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...

Headless Tor on Ubuntu + Selenium WebDriver (Kotlin) + Docker

I'm trying to build Docker image with Tor Browser and my simple Kotlin application inside. My application is functioning well locally on MacOS, but when I try to run it inside Docker container, it...

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: -...