IBM Support

PM46705: IBM SPSS STATISTICS 20: CANNOT PRODUCE PRINTED OUTPUT IN VIEWER FROM PYTHON SCRIPT AND ERRORS DO NOT APPEAR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • You are using IBM SPSS Statistics 20 with Python Integration
    PlugIn for release 20 installed.
    In Statistics 20 you run a Python script with PRINT like the
    example below:
    
    import SpssClient
    SpssClient.StartClient()
    print "I'm not an autoscript"
    SpssSyntaxDoc=SpssClient.NewSyntaxDoc()
    SpssClient.StopClient()
    
    However, when you run this script the script itself executes, as
    can be seen by the appearance of a new syntax window, but no
    output is printed.
    Furthermore, if the script has an error, "No error" appears in
    the Viewer, but the actual error from the script is not printed.
    You can see this by adding, say, SpssClient.RunSyntax("show
    dir") to the script.
    
     This issue was reported to IBM SPSS Development.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users working with Python scripts including Print            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * You are using IBM SPSS Statistics 20 with Python Integration *
    * PlugIn for release 20 installed.                             *
    * In Statistics 20 you run a Python script with PRINT like the *
    * example below:                                               *
    *                                                              *
    * import SpssClient                                            *
    * SpssClient.StartClient()                                     *
    * print "I'm not an autoscript"                                *
    * SpssSyntaxDoc=SpssClient.NewSyntaxDoc()                      *
    * SpssClient.StopClient()                                      *
    *                                                              *
    * However, when you run this script the script itself          *
    * executes, as                                                 *
    * can be seen by the appearance of a new syntax window, but no *
    * output is printed.                                           *
    * Furthermore, if the script has an error, "No error" appears  *
    * in                                                           *
    * the Viewer, but the actual error from the script is not      *
    * printed.                                                     *
    * You can see this by adding, say, SpssClient.RunSyntax("show  *
    * dir") to the script.                                         *
    ****************************************************************
    * 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

    PM46705

  • 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-08-30

  • 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