IBM Support

PM46921: SPSSAUX.PY MODULE IS NOT RUNNING FOR NON-ENGLISH OUTPUT AND LOCALE LANGUAGES IN IBM SPSS STATISTICS 19.0.0.1 AND 20

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • You work with IBM SPSS Statistics 19.0.0.1 or IBM SPSS
    Statistics 20 with the appropriate Python Essentials installed.
    
    After that you run the spssaux.py module which is installed with
    the Python Essentials for non-English locale
    and output language as in the example below for Russian for a
    variable var1:
    
    Example:
    
    dataset close all.
    new file.
    set locale = russian.
    set unicode = off.
    set olang = russian.
    show locale unicode olang.
    
    
    GET  FILE='C:\temp\Mydata.sav'.
    
    
    begin program.
    import spssaux
    prm = spssaux.GetVariableNamesList().index('var1')
    print prm
    print spssaux.GetValueLabels(prm,True)
    end program.
    
    However, you do not get the value labels for var1 printed in the
    output which you requested with
    print spssaux.GetValueLabels(prm,True).
    
    The script only works when you use English locale and output
    language.
    
    This issue was reported to IBM SPSS Development and is corrected
    with a newer version of spssaux.py module available for download
    on IBM DeveloperWorks:
    
    https://www.ibm.com/developerworks/mydeveloperworks/files/app?la
    ng=en#/person/270002VCWN/file/5fd360dc-53cb-4008-99f7-3bb0ae7faa
    12
    
    Please download the updated module and replace the one installed
    with the Essentials in the site-packages/spssaux directory.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users working with Python and spssaux.py module              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * You work with IBM SPSS Statistics 19.0.0.1 or IBM SPSS       *
    * Statistics 20 with the appropriate Python Essentials         *
    * installed.                                                   *
    *                                                              *
    * After that you run the spssaux.py module which is installed  *
    * with                                                         *
    * the Python Essentials for non-English locale                 *
    * and output language as in the example below for Russian for  *
    * a                                                            *
    * variable var1:                                               *
    *                                                              *
    * Example:                                                     *
    *                                                              *
    * dataset close all.                                           *
    * new file.                                                    *
    * set locale = russian.                                        *
    * set unicode = off.                                           *
    * set olang = russian.                                         *
    * show locale unicode olang.                                   *
    *                                                              *
    *                                                              *
    * GET  FILE='C:\temp\Mydata.sav'.                              *
    *                                                              *
    *                                                              *
    * begin program.                                               *
    * import spssaux                                               *
    * prm = spssaux.GetVariableNamesList().index('var1')           *
    * print prm                                                    *
    * print spssaux.GetValueLabels(prm,True)                       *
    * end program.                                                 *
    *                                                              *
    * However, you do not get the value labels for var1 printed in *
    * the                                                          *
    * output which you requested with                              *
    * print spssaux.GetValueLabels(prm,True).                      *
    *                                                              *
    * The script only works when you use English locale and output *
    * language.                                                    *
    *                                                              *
    * This issue was reported to IBM SPSS Development and is       *
    * corrected                                                    *
    * with a newer version of spssaux.py module available for      *
    * download                                                     *
    * on IBM DeveloperWorks:                                       *
    *                                                              *
    * https://www.ibm.com/developerworks/mydeveloperworks/files/ap *
    * p?la                                                         *
    * ng=en#/person/270002VCWN/file/5fd360dc-53cb-4008-99f7-3bb0ae *
    * 7faa12                                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Please download the updated module and replace the one       *
    * installed with the Essentials in the site-packages/spssaux   *
    * directory.                                                   *
    * Install IBM SPSS Statistics 20 FixPack 1 (20.0.0.1) as well. *
    ****************************************************************
    

Problem conclusion

  • Please download the updated module and replace the one installed
    with the Essentials in the site-packages/spssaux directory.
    Install IBM SPSS Statistics 20 FixPack 1 (20.0.0.1) as well.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM46921

  • 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-01

  • 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