Results 1 to 3 of 3

Thread: PyIMSL failing to read imsl_e.bin

  1. #1
    Junior Member
    Join Date
    Aug 2006
    Posts
    8

    PyIMSL failing to read imsl_e.bin

    There is a problem with PyIMSL if the user calls a function that generates an error. It seems to be failing to read the error file. Here is the script to generate an error:

    from numpy import *
    from imsl.stat.autocorrelation import autocorrelation
    from imsl.stat.partialAutocorrelation import partialAutocorrelation
    lag_max = 5
    inputData = [1,2,3,4,5]
    AC = autocorrelation(inputData, lag_max)

    And here is the output:


    Error in reading imsls_e.bin
    File not found.
    Terminal - autocorrelation: Error code 11226.
    Traceback (most recent call last):
    File "corr.py", line 9, in <module>
    AC = autocorrelation(inputData, lag_max)
    File "/usr/local/lib/python2.5/site-packages/imsl/stat/autocorrelation.py", line 78, in autocorrelation
    fatalErrorCheck (STAT)
    File "/usr/local/lib/python2.5/site-packages/imsl/util/i*.py", line 536, in fatalErrorCheck
    _statErrorHandler.handleError ()
    File "/usr/local/lib/python2.5/site-packages/imsl/util/ImslErrorHandler.py", line 232, in handleError
    raise ImslError (_imslErrorType, _imslErrorCode, _imslErrorMessage)
    imsl.util.ImslError.ImslError: 5 (11226): Error code 11226.



    Does any one know why it can't read the imsls_e.bin? This file seems to be in the right place. The user have even added a print statement to the ImslErrorHandler function and it does seem to construct the correct path and filename for this file.

    this problem is on UNIX, Linux 64b Redhat enterprise 4

    Thanks

  2. #2
    Hello fik,

    We have been able to reproduce the error on one of our Linux 64-bit systems.
    However, I don't know what is causing this problem.
    It may be due to a corrupt error file.
    I have filed a change request to have one our engineers investigate this further.
    I'll let you know once we have a solution. So, keep checking the forums.

    Regards,
    Anja
    Anja Gratzer
    Software Support
    Rogue Wave Software, Inc.
    www.roguewave.com | support@roguewave.com

  3. #3
    Junior Member gholling's Avatar
    Join Date
    Aug 2005
    Posts
    8
    This problem has been fixed in the latest version (1.0.1) of the PyIMSL wrappers.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •