Skip to content
Advertisement

Tag: python

Python shell script open less with +F option

I have the following Python script, all seems to work how I want it to, except for the following: less opens with the option -F, this will follow the file like Tail would. to inspect (move through) the file the user has to ctrl + c to send an interrrupt. when sending the ctrl +c (interrupt) this gets send to

GNU Radio & Python script: “shmget (2): No space left on device”

I currently have the following error when running a Python script with gnuradio 3.7 blocks: I have followed the lines as suggest here: http://osdir.com/ml/discuss-gnuradio-gnu/2013-06/msg00521.html and changing the kernel.shmall and kernel.shmmax values. But what are acceptable values? I have increased them 8 fold and have had no success. More info: I am starting and stopping gnuradio pythons chains in a loop.

opencv installation ffmpeg error

I have been trying to install opencv for a long time in my fedora 20 32 bit system.I followed the instructions from http://docs.opencv.org/trunk/doc/py_tutorials/py_setup/py_setup_in_fedora/py_setup_in_fedora.html#install-opencv-python-in-fedora But after all cmake commands when I m trying to make it I am getting an error again and again. I have followed so many articles about the ffmpeg versions and updating stuff but did understand a

OS X UDP send error: 55 No buffer space available

While I was implementing RUDP in python3.3 on OSX10.9.1 I noticed that the following code actually does not do what it does on linux: (it doesn’t matter which language, same behavior for C, Java and C#/Mono) This code just keep writing a lot udp packets to 8.8.8.8, those packets get dropped after 4 hops so they should not reach the

Advertisement