Search Result

Collapse
24 results in 0.0043 seconds.
Keywords
Members
Tags
unix
  •  

  • starlight849
    started a topic Connecting to Oracle Database from Unix?

    Connecting to Oracle Database from Unix?

    Hi and thanks for checking out my post.
    My problem is connecting to a remote oracle database from my unix machine. The remote database is on the network and I typicaly connect to it using an alias, username and password.

    In the past I have connected to the database using sqldeveloper. The connection type is TNS and the network alias is abc123(for example)I also supply my username and password.

    I have also connected...
    See more | Go to post

  • ImportError: No module named Scientific_netcdf

    I am using Ubuntu on server and on my local machine. I have written my python script which runs fine on my local machine but shows some problems on my server because of compatibility issues. The solution of this came in my mind is to make binary file of that script which is running fine on my local machine. I searched for pyinstaller and follow the instructions for how to make binary from python script. For this reason I firstly install pyinstaller...
    See more | Go to post

  • IndexError: narray: index out of range (While working with Ocropus)

    I am working with ocropus for the purpose to binarize and segments the unsegmented images. I use command to binarize the image files by ocropus as

    Code:
    ocropus-binarize -o book /home/images/*.tif
    By using the above mentioned command it worked fine for few images but after sometime it prompts an error message as shown below,

    Code:
    File "/usr/local/bin/ocropus-binarize", line 151, in <module>
    ...
    See more | Go to post

  • saliorkeo
    started a topic Issue parallelizing this c code with openmp
    in C

    Issue parallelizing this c code with openmp

    How can I parallelize this code with OpenMP?. The result I get is not correct.

    I try to use temporary variables p1aux, p2aux, and psumaux because the Reduction clause cannot be used with pointers or intrinsic functions. But as I said the result is incorrect.

    When I say "result is not correct", I would say: The calculations of array1 + array2 are stored in the matrix sumsse. The calculations are correct until...
    See more | Go to post

  • Memory management for Large dataset in python

    Hi Everyone,

    I am working on Latin dataset and I am supposed to read all the data from ~30,000 files. What i did was, I opened and read the file and written file contents in separate one file (say Master.nc) and then close the individual files. But Master.nc will not close unless to read the last file.

    I need Master.nc file at the end having the content information of all ~30,000 files.

    My program is...
    See more | Go to post

  • How do I know that data written to a shared memory segment in Unix is stored properly

    Hello all,

    I am trying to write a client/server application that takes input to an array of structures from the user,stores the data in a shared memory segment and then writes the same to a file when I close the application. How do I get started? And how do I ensure that the server stores the data correctly? Also, the server needs to be a concurrent server that accepts connections from multiple clients.
    See more | Go to post

  • scottmacd
    started a topic Using Javascript variable in HTML Form

    Using Javascript variable in HTML Form

    I'm sure this is a pretty simple question, so would be amazing if anyone could help me! I'm trying to make an HTML search form which can convert a human date into a UNIX timestamp date and include it in the search, alongside other inputs. Here's what I have currently:

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    
    <html lang="en">
    
    <head>
    ...
    See more | Go to post

  • Need Help in Calculating Unix Start time and End time.

    Hello dear friends,

    i needed a help in php...suppose a user buys a service on my site and that service is for 30 days, so i just wanted to know that how to calculate expiration time (unix) from the date they purchased service...plz explain with example code...

    thanx
    See more | Go to post

  • AttributeError: 'module' object has no attribute 'getElementsByTagName'

    Hey,

    I am using Ubuntu10.04 with python 2.6 on 64bit system,
    I want to run xml file but it stucks with an error as mentioned below.

    File "online_xml.py" , line 60, in readStrokes
    strokes = dom.getElements ByTagName("Stro ke")
    AttributeError: 'module' object has no attribute 'getElementsByT agName'

    Please suggest me about the possible error that may have.
    Thanks...
    See more | Go to post

  • amruta21
    started a topic how to mount from python 2.6

    how to mount from python 2.6

    HHello,
    I am using python 2.6 on unix platform. I need to mount window drive from python. For that i done following code. But it does not get mounted.
    Code is Here..........
    Code:
    import pexpect
    cmd2="sudo mount -t cifs //<ip address>/FinalWork  /mnt/win"
    child = pexpect.spawn(cmd2)
    i = child.expect([' password .* ', pexpect.EOF, pexpect.TIMEOUT])
    if i == 0:
       print "******************sending
    ...
    See more | Go to post
    Last edited by bvdet; Aug 30 '11, 02:48 PM. Reason: Add code tags

  • "can only concatenate list (not "str") to list"

    I have encountering a problem while concatenating string with a list. What I did, shows below,
    Code:
    w=''
    wordTargetStrings=[]
    target_s=['000','i','t','sp','ga','i','s','ga','sp','s','t','r','i','n','g','sp'] 
    
    for t in range(len(target_s)):
         if target_s != "sp" and target_s!= "ga" and target_s !="pt":
               w=w+target_s[t]
         else: 
               wordTargetStrings.append(w)
    ...
    See more | Go to post

  • venkata narendr
    started a topic getline() function behaves strangly
    in C

    getline() function behaves strangly

    I am trying to emulate telnet functionality by writing a socket listener program, and an application redirecting its console to the listener over sockets.

    On the server side I opened a socket on my local ip, a defined port, and started listening on it like this
    Code:
    sockfd = socket(AF_INET,SOCK_STREAM,0);
    portno = atoi(argv[1]);
    serv_addr.sin_family = AF_INET;
    serv_addr.sin_addr.s_addr = INADDR_ANY;
    serv_addr.sin_port
    ...
    See more | Go to post
    Last edited by Niheel; Aug 3 '11, 08:26 AM. Reason: fixed code tags :)

  • List Index out of range in Recurrent Nural Network

    I have not too much experience in python. Here goes my problem. I am writing the code for recurrent neural network in order to recognize words given as .xml file and search in the dictionary which word .xml file conatins.
    For this task I have initially defined labels of characters, then read the lines in .xml file and then try to figure out which word it contains, but here it shows List Index out of range error.

    labels contain...
    See more | Go to post

  • Saad Bin Ahmed
    started a topic How to install NetCDF library in python 2.7

    How to install NetCDF library in python 2.7

    This article provides you the essential instruction in order to install netcdf.

    NetCDF is a set of software libraries and self-describing, machine-independent data formats that support the creation, access, and sharing of array-oriented scientific data. You can also find more about NetCDF from http://www.unidata.ucar.edu/software/netcdf/. But I just here only discuss how to install different versions of netcdf. For installing NetCDF...
    See more | Go to post

  • ValueError: shape mismatch: objects cannot be broadcast to a single shape

    Hey,

    I got the following error in python program. If anybody knows about this error then please share the solution.

    Code:
    from numpy import array
    inputMeans =array([1, 2, 3])
    inputStds =array([4, 5, 6])
    
    inputs = ((array(inputs)-inputMeans)/inputStds).tolist()
    ---------------------------------------------------------------------------
    ValueError Traceback (most recent call last)

    ...
    See more | Go to post
    Last edited by bvdet; Jul 13 '11, 11:24 PM. Reason: Add code tags
Working...