-
as seen on Ask Ubuntu
- Search for 'Ask Ubuntu'
I tried today to install a dvb-card on my Ubuntu 12.04 (Linux blauhai-linux 3.2.0-25-generic #40-Ubuntu SMP Wed May 23 20:30:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
). The installation failed with an error. After that, i tried to install python (it was already installed but i got this error):
linux:~$…
>>> More
-
as seen on Ask Ubuntu
- Search for 'Ask Ubuntu'
I installed sikuli-ide with
sudo apt-get install sikuli-ide
Everything was fine until I tried to start it from the terminal. I typed
sikuli-ide
But the only response I got was
[info] locale: en_US
The application was not started, furthermore there is no desktop file and sikuli-ide does not…
>>> More
-
as seen on Super User
- Search for 'Super User'
I can't import some python libraries (PIL, psycopg2) that I just installed with MacPorts. I looked through these forums, and tried to adjust my PATH variable in $HOME/.bash_profile in order to fix this but it did not work.
I added the location of PIL and psycopg2 to PATH.
I know that Terminal is…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I want to pass a chunk of Python code to Python in R with something like system('python ...'), and I'm wondering if there is an easy way to emulate the python console in this case. For example, suppose the code is "print 'hello world'", how can I get the output like this in R?
>>> print…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I am currently struggling to call a non python program from a python script.
I have a ~1000 files that when passed through this C++ program will generate ~1000 outputs. Each output file must have a distinct name.
The command I wish to run is of the form:
program_name -input -output -o1 -o2…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
Hi,
I run a LVM setup on a raid1 created by mdadm. md2 is based on sda6 (major:minor 8:6) and sdb6 (8:22). md2 is partition 9:2. The VG on top of md2 has 4 LVs, var, home, usr, tmp.
First the problem: While booting it seems as if the device mapper takes the wrong partition for the mapping! Immediately…
>>> More
-
as seen on Ask Ubuntu
- Search for 'Ask Ubuntu'
[ 2560.376113] usb 9-1: new high-speed USB device number 2 using xhci_hcd
[ 2560.376186] usb 9-1: Device not responding to set address.
[ 2560.580136] usb 9-1: Device not responding to set address.
[ 2560.784104] usb 9-1: device not accepting address 2, error -71
[ 2560.840127] hub 9-0:1.0: unable…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
My root server at 1&1 was unresponsive on HTTP and SSH, so I logged into the serial console . It flooded my connection with endless error messages like quoted below.
I initiated a reboot and now everything seems to work properly.
After googling, I installed smartctl and ran a short self test…
>>> More
-
as seen on Super User
- Search for 'Super User'
I'm having a problem with pulseaudio. My machine crashed, and when I rebooted and ran pavucontrol, I got a "Connection Failed: Connection refused" dialog.
When I run pulseaudio --log-level=info --log-target=stderr from the command line, I get the following output:
[...]
I: alsa-util.c: Error opening…
>>> More
-
as seen on Super User
- Search for 'Super User'
My Friend's Pen Drive, which was working well very well just few days ago, is not being recognized after getting used by a virus affected machine.
Its not on fdisk -l or lsusb
However in dmesg I can see the following:
[ 977.300013] usb 5-2: new full speed USB device using uhci_hcd and address 2
[…
>>> More