IBM Support

PM48493: PYTHON SCRIPT CAUSE IBM SPSS STATISTICS 20 TO SHUT DOWN ON WINDOWS 7 64 BIT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • You work with IBM SPSS Statistics 20 64 bit version installed on
    a Windows 7 64 bit operating system. You also installed the
    Python Essentials for Statistics 20 as 64 bit version on this
    computer.
    You create an output file and run a python script from a syntax
    window as in the example below:
    
    BEGIN PROGRAM .
    import SpssClient
    SpssClient.StartClient()
    OutputDoc = SpssClient.GetDesignatedOutputDoc()
    OutputItems = OutputDoc.GetOutputItems()
    for index in range(OutputItems.Size()):
      OutputItem = OutputItems.GetItemAt(index)
      if (OutputItem.GetType() == SpssClient.OutputItemType.PIVOT):
        PivotTable = OutputItem.GetSpecificType()
        Rows = PivotTable.RowLabelArray()
        for i in range(Rows.GetNumRows()):
          for j in range(Rows.GetNumColumns()):
            print i, j, Rows.GetValueAt(i,j)
    SpssClient.StopClient()
    END PROGRAM.
    
    However, when you run the syntax with the Python script the
    program shuts down immediately with no error message. In the
    Windows Event Log on the Control Panel you can find an error log
    referring to
    Faulting module name: spssdxcom.dll, version: 20.0.0.0
    
    When you run the same script on a 32 bit system everything works
    fine.
    
    This issue was reported to IBM SPSS Development and is expected
    to be resolved with IBM SPSS Statistics 20 FixPack 1.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * users working on Windows 64 bit with Python Essentials       *
    * installed                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * You work with IBM SPSS Statistics 20 64 bit version          *
    * installed on                                                 *
    * a Windows 7 64 bit operating system. You also installed the  *
    * Python Essentials for Statistics 20 as 64 bit version on     *
    * this                                                         *
    * computer.                                                    *
    * You create an output file and run a python script from a     *
    * syntax                                                       *
    * window as in the example below:                              *
    *                                                              *
    * BEGIN PROGRAM .                                              *
    * import SpssClient                                            *
    * SpssClient.StartClient()                                     *
    * OutputDoc = SpssClient.GetDesignatedOutputDoc()              *
    * OutputItems = OutputDoc.GetOutputItems()                     *
    * for index in range(OutputItems.Size()):                      *
    *   OutputItem = OutputItems.GetItemAt(index)                  *
    *   if (OutputItem.GetType() ==                                *
    * SpssClient.OutputItemType.PIVOT):                            *
    *     PivotTable = OutputItem.GetSpecificType()                *
    *     Rows = PivotTable.RowLabelArray()                        *
    *     for i in range(Rows.GetNumRows()):                       *
    *       for j in range(Rows.GetNumColumns()):                  *
    *         print i, j, Rows.GetValueAt(i,j)                     *
    * SpssClient.StopClient()                                      *
    * END PROGRAM.                                                 *
    *                                                              *
    * However, when you run the syntax with the Python script the  *
    * program shuts down immediately with no error message. In the *
    * Windows Event Log on the Control Panel you can find an error *
    * log                                                          *
    * referring to                                                 *
    * Faulting module name: spssdxcom.dll, version: 20.0.0.0       *
    *                                                              *
    * When you run the same script on a 32 bit system everything   *
    * works                                                        *
    * fine.                                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Install IBM SPSS Statistics 20 FixPack 1 (20.0.0.1)          *
    ****************************************************************
    

Problem conclusion

  • Install IBM SPSS Statistics 20 FixPack 1 (20.0.0.1)
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM48493

  • Reported component name

    SPSS STATISTICS

  • Reported component ID

    5725A54ST

  • Reported release

    J00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-09-22

  • Closed date

    2012-03-01

  • Last modified date

    2012-03-01

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    SPSS STATISTICS

  • Fixed component ID

    5725A54ST

Applicable component levels

  • RK00 PSN

       UP

  • RK00 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCQ88K","label":"Statistics Desktop"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"19.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
01 March 2012