Note from maintainers: This question is no longer relevant. The bokeh.objects module has not existed for years I’m trying to run this script: from: https://www.continuum.io/content/painless-streaming-plots-bokeh but at this line: I got: The version I’m using is 0.11.1 On linux mint 17.1 Answer Not…
Tag: linux
mkdir makes wrong directory names when used with cut on *.tex files
When make directories for each file with certain extension: …everything works just fine. However if I do it for .tex files I get following results: I just wanted to clean my latex directory and I get weird directory names. Why is that and how to make it work? Answer It is error prone to use output from …
Executable Unix script cannot be found by which command
I have a Unix bash script written by a former teammate that must be in my PATH, though I can’t find it by manual inspection (see below). I can however execute it anywhere by just typing I would like to view and edit this script. However, when I try to find it via the which command, I get a blank
AWK script automatically removing leading 0s from String
I have a file BLACK.FUL.eg2: I’ve written this AWK script: which gives me an output of: with one problem: the leading 0s of strings in field1, are automatically getting removed due to a numeric operation on them. So my actual expected output is: For that I’m trying the below updated AWK script: Bu…
Combining videos with ffmpeg using crossfades and plain cuts
I am writing a script to combine/slice arbitrary video files from S3 into one output video. So far, I am doing this by first trimming the videos to their proper length using ffmpeg -i input-X.mp4 -ss start -t duration slice-X.mp4 and recombining the resultant slices with the ffmpeg concat filter. I want to be…
How can I control the number of running processes?
I’m doing a shell script and the unknown situation occurred. I must execute a certain number of processes, lets suppose 12. But I want to limit the executions by ‘t’ each time. So if ‘t’ is 3 I would have to execute 3 processes then 3, 3 and finally 3. But I would like to do it a…
How to open new bash terminal using Python
I am trying to open a new terminal window in Tkinter application. I’ve used os.system(“/bin/bash”) but it works in current bash only. Which stops runnning code and causes application freeze. I want to open new Terminal. How to do that? gedit like programs work fine without disturbing current…
How do I open a specific port on RHEL 6.4?
I’m setting up the remote connection to oracle database and it requires that the connection should be established through port 1521 by default. However, i’m getting the error repeatly: [Oracle JDBC Driver]Error establishing socket to host and port: :1521. Reason: Connection refused Checking deeper…
Ubuntu – sudo with ACL [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack …
Changing python version on platform LSF job script on Linux server
I want to execute my python code on LSF, and problem is that the return of in lsf is 2.6.6 (r266:84292, Jul 22 2015, 16:47:47) [GCC 4.4.7 20120313 (Red Hat 4.4.7-16)] But my code has been written for python2.7. How can I change or assign the correct version of python to LSF job script. Answer I found the answ…