IBM Support

PM66504: STARTX.EXE HANGS IF A CUSTOM PYTHON SCRIPT RUN MORE THAN ONCE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • You have created a Python script which invoke two dialogs in the
    IBM SPSS Statistics 19.0.0.2 output viewer if no table is
    selected. in 19.0.0.2 you can run this Python script multiple
    times after another and both dialogs occur fast.
    
    However, when you run the same script in IBM SPSS statistics
    20.0.0.1 with the python Essentials for 20.0.0.1 installed you
    get both dialog boxes only for the first two runs but on the
    third run startx.exe to invoke Python hangs.
    
    You only see 'running begin program' on status bar of the viewer
    and none of the two dialog boxes are displayed again on the
    third run.
    You have to quit startx.exe or stats.exe via task manager.
    This issue was reported to IBM SPSS Development and is related
    to the use of Tk toolkit that comes with Python.
    In your script you use the following command:
    BEGIN PROGRAM.
    import Tkinter
    import SpssClient
    
    To invoke the Tk toolkit multiple times one after another cause
    startx process to hang and consuming cpu time.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users working with Python                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * You have created a Python script which invoke two dialogs in *
    * the                                                          *
    * IBM SPSS Statistics 19.0.0.2 output viewer if no table is    *
    * selected. in 19.0.0.2 you can run this Python script         *
    * multiple                                                     *
    * times after another and both dialogs occur fast.             *
    *                                                              *
    * However, when you run the same script in IBM SPSS statistics *
    * 20.0.0.1 with the python Essentials for 20.0.0.1 installed   *
    * you                                                          *
    * get both dialog boxes only for the first two runs but on the *
    * third run startx.exe to invoke Python hangs.                 *
    *                                                              *
    * You only see 'running begin program' on status bar of the    *
    * viewer                                                       *
    * and none of the two dialog boxes are displayed again on the  *
    * third run.                                                   *
    * You have to quit startx.exe or stats.exe via task manager.   *
    * This issue was reported to IBM SPSS Development and is       *
    * related                                                      *
    * to the use of Tk toolkit that comes with Python.             *
    * In your script you use the following command:                *
    * BEGIN PROGRAM.                                               *
    * import Tkinter                                               *
    * import SpssClient                                            *
    *                                                              *
    * To invoke the Tk toolkit multiple times one after another    *
    * cause                                                        *
    * startx process to hang and consuming cpu time.               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * This issue is resolved with IBM SPSS Statistics 21 release   *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM66504

  • Reported component name

    SPSS STATISTICS

  • Reported component ID

    5725A54ST

  • Reported release

    K00

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-06-11

  • Closed date

    2012-08-29

  • Last modified date

    2012-08-29

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

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

Fix information

Applicable component levels

  • RL00 PSN

       UP

  • RL00 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":"20.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
29 August 2012