ubuntu-14.04

Kinect for Xbox 360 freezes and disconnects from USB after running Processing SimpleOpenNi depth image example

二次信任 提交于 2019-11-28 19:59:05
please help I've been trying to set up kinect for XBOX 360 to run on ubuntu in order to start developing an application to control a humanoid robot. for the past four days I've been searching , downloading , installing and trying dozens of libraries and drivers to get the kinect to work on Ubuntu. in the beginning none was working and I was only able to read the RGB camera with "Camorama" and "guvcview" no matter what library or driver I attempted to run.. Finally, I installed a fresh copy of Ubuntu and installed libfreenect libraries using synaptic (I'm kinda newbie) and I also installed the

error starting docker daemon on ubuntu 14.04 (Devices cgroup isn't mounted)

限于喜欢 提交于 2019-11-28 19:48:03
问题 I followed docker instructions to install and verify the docker installation (from http://docs.docker.com/linux/step_one/). I tried on 2 Ubuntu 14.04 machines and on both I got following error when starting docker daemon: $ sudo docker daemon INFO[0000] Listening for HTTP on unix (/var/run/docker.sock) INFO[0000] [graphdriver] using prior storage driver "aufs" INFO[0000] Option DefaultDriver: bridge INFO[0000] Option DefaultNetwork: bridge WARN[0000] Running modprobe bridge nf_nat br

Docker Error bind: address already in use

こ雲淡風輕ζ 提交于 2019-11-28 17:02:26
问题 When I run docker-compose up in my Docker project it failes with the following message: Error starting userland proxy: listen tcp 0.0.0.0:3000: bind: address already in use netstat -pna | grep 3000 shows this: tcp 0 0 0.0.0.0:3000 0.0.0.0:* LISTEN - I've already tried docker-compose down , but it doesn't help. 回答1: In your case it was some other process that was using the port and as indicated in the comments, sudo netstat -pna | grep 3000 helped you in solving the problem. While in other

Ugrade tmux from 1.8 to 1.9 on Ubuntu 14.04

半世苍凉 提交于 2019-11-28 16:03:55
I was just adding tmux plugins to my .tmux.conf file to find out that one of the plugins (tmux-copycat I think) requires tmux 1.9. When I start tmux I get the message `Error: Tmux version unsupported. Please install tmux version 1.9 or greater!". So, what is the best way to upgrade tmux 1.8 to 1.9 on Ubuntu 14.04? Update : due to new tmux version and changes in package repository, this answer is updated to show how to install tmux 2.0 (which is better, no reason to use 1.9 anymore). Here are the steps to update "blank" ubuntu - version 14.04 only (see below for other ubuntu versions): sudo apt

Cannot install packages inside docker Ubuntu image

二次信任 提交于 2019-11-28 15:00:13
I installed Ubuntu 14.04 image on docker. After that, when I try to install packages inside the ubuntu image, I'm getting unable to locate package error: apt-get install curl Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package curl How to fix this error? ISanych It is because there is no package cache in the image, you need to run: apt-get update before installing packages, and if your command is in a Dockerfile, you'll then need: apt-get -y install curl To suppress the standard output from a command use -qq . E.g. apt-get -qq -y

Android Studio: /dev/kvm device permission denied

 ̄綄美尐妖づ 提交于 2019-11-28 14:55:26
When I try to run my Android app on an emulator I get this error: /dev/kvm permission denied. I checked the permissions and added the user I am currently logged in with to the kvm group. What is wrong? serv-inc As mentioned in the comments, starting with Ubuntu 18.04 and Linux Mint Tara you need to first sudo apt install qemu-kvm . To check the ownership of /dev/kvm use ls -al /dev/kvm The user was root , the group kvm . To check which users are in the kvm group, use grep kvm /etc/group This returned kvm:x:some_number: on my system: as there is nothing rightwards of the final : , there are no

Cannot install packages inside docker Ubuntu image

岁酱吖の 提交于 2019-11-28 13:16:30
问题 I installed Ubuntu 14.04 image on docker. After that, when I try to install packages inside the ubuntu image, I'm getting unable to locate package error: apt-get install curl Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package curl How to fix this error? 回答1: It is because there is no package cache in the image, you need to run: apt-get update before installing packages, and if your command is in a Dockerfile, you'll then need:

How to integrate Pygame and PyQt4?

纵饮孤独 提交于 2019-11-28 12:57:07
I'm using python 2.7 and Ubuntu 14.04. I'm trying to do this in order to have my pygame window inside my GUI On some platforms it is possible to embed the pygame display into an already existing window. To do this, the environment variable SDL_WINDOWID must be set to a string containing the window id or handle. The environment variable is checked when the pygame display is initialized So this is what I did: from PyQt4 import QtGui, QtCore import os import subprocess import sys class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setWindowModality(QtCore.Qt.ApplicationModal)

Ubuntu (14 & 16) Bash errors with printf loops from input containing lowercase “n” characters

元气小坏坏 提交于 2019-11-28 11:16:51
问题 I have some bash scripts I have been running on Ubuntu 14.04 and 16.04 for well over a year now. Some recent Ubuntu update has broken bash and I cannot figure out how to sort this out. Example: #!/bin/bash INPUT=myinput.txt OUTPUT=myoutput.txt ACTION1="0;" cat $INPUT | while read LINE do printf "\t\"~${LINE}\"\t\t$ACTION1\n" >> $OUTPUT done my script then loops through the file doing the printf statement as follows but this is the output produced "~jetmo" 0; "~spamme" 0; "~baidu" 0; example

running hive 0.12 with error of slf4j

六眼飞鱼酱① 提交于 2019-11-28 08:53:22
问题 Logging initialized using configuration in jar:file:/usr/local/hive/lib/hive-common-0.12.0.jar!/hive-log4j.properties SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/usr/local/hadoop/share/hadoop/common/lib/slf4j-log4j12- 1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/local/hive/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for