SPSS Statistics

 View Only
  • 1.  Issues with Apple M1 Pro and/or Monterey 12.4 and SPSS 28??

    Posted Wed June 01, 2022 04:31 PM
    Hi all, 
    Just upgraded the laptop to Apple M1 pro with Monterey 12.4.
    SPSS 28.0.1.1 is running impossibly slow (takes 4-5 mins to startup), and it cannot correctly load data from excel or csv format (same data that I have used on my Intel version of Mac). I searched the forum, but didn't see anything. Is this a known issue. Is there a fix? I would appreciate any help. 



    ------------------------------
    Anna Han
    ------------------------------

    #SPSSStatistics


  • 2.  RE: Issues with Apple M1 Pro and/or Monterey 12.4 and SPSS 28??

    Posted Wed June 01, 2022 04:35 PM
    Hi, Anna.

    I was just speaking to one of my colleagues about this. He said...

    "We do run Stats 28.x on M1 Mac hardware, and note about at 25% speed hit due to the application being translated from Intel to Apple silicon instructions. I've not personally seen the user's issues with CSV or Excel files.  I just ran Stats 28.0.1.1 on an M1 Mac and imported a CSV file fine."
    "As for making Stats run native on Apple Silicon, it's on the roadmap."
    As for the data imports, are you seeing an error or warning message of any kind?


    ------------------------------
    Rick Marcantonio
    Quality Assurance
    IBM
    ------------------------------



  • 3.  RE: Issues with Apple M1 Pro and/or Monterey 12.4 and SPSS 28??

    Posted Thu June 02, 2022 09:22 AM
    Hi Everyone, 
    I have upgraded the SPSS. It is working well on my Laptop computer. Please could you help me with a user guide?

    Mohamed Dawood Turay williams





  • 4.  RE: Issues with Apple M1 Pro and/or Monterey 12.4 and SPSS 28??

    Posted Sun June 12, 2022 06:13 AM
    Hi Rick, 

    I have tried to do that but nothing came; here is the output:

    Last login: Thu May 26 21:26:57 on console

    The default interactive shell is now zsh.
    To update your account to use zsh, please run `chsh -s /bin/zsh`.
    For more details, please visit https://support.apple.com/kb/HT208050.
    MacBook-Pro-van-Eva-3:~ emnwouda$ /Applications/IBM SPSS Statistics/SPSS Statistics.app/Contents/MacOS
    -bash: /Applications/IBM: No such file or directory
    MacBook-Pro-van-Eva-3:~ emnwouda$ /Applications/IBM SPSS Statistics/SPSS Statistics.app
    -bash: /Applications/IBM: No such file or directory
    MacBook-Pro-van-Eva-3:~ emnwouda$ cd "/Applications/IBM SPSS Statistics/SPSS Statistics.app/Contents/MacOS"
    MacBook-Pro-van-Eva-3:MacOS emnwouda$ ./stats -nologo /Users/emnwouda/desktop/tmp/test.sps

    cd "/Applications/IBM SPSS Statistics/SPSS Statistics.app/Contents/MacOS"
    Warning: the fonts "Times" and "Lucida Bright" are not available for the Java logical font "Serif", which may have unexpected appearance or behavior. Re-enable the "Times" font to remove this warning.
    Warning: the fonts "Times" and "Lucida Bright" are not available for the Java logical font "Serif", which may have unexpected appearance or behavior. Re-enable the "Times" font to remove this warning.
    ./stats -nologo /Users/eva/tmp/test.sps                    

            

    ./statsWarning: the fonts "Times" and "Lucida Bright" are not available for the Java logical font "Serif", which may have unexpected appearance or behavior. Re-enable the "Times" font to remove this warning.
    java.lang.InterruptedException
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:502)
    at java.awt.EventQueue.invokeAndWait(EventQueue.java:1343)
    at java.awt.EventQueue.invokeAndWait(EventQueue.java:1324)
    at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1353)
    at com.spss.java_client.core.documents.AppMgr.processFiles(Unknown Source)
    at com.spss.java_client.core.documents.AppMgr.processCommands(Unknown Source)
    at com.spss.java_client.core.documents.AppMgr.runClient(Unknown Source)
    at com.spss.java_client.core.common.Driver.main(Unknown Source)
    java.lang.NullPointerException
    at java.lang.StringBuilder.<init>(StringBuilder.java:112)
    at com.spss.uitools.ui_builder.SpecificationBuilder.getAppDataPathForUserWithFolderName(Unknown Source)
    at com.spss.uitools.ui_builder.SpecificationBuilder.getAppdataCustomDialogDirectory(Unknown Source)
    at com.spss.java_client.ui.command.executor.CommandExecutor.getAppdataCustomDialogDirectories(Unknown Source)
    at com.spss.java_client.ui.command.executor.CommandExecutor.scanCommands(Unknown Source)
    at com.spss.java_client.ui.command.executor.CommandExecutor.get(Unknown Source)
    at com.spss.java_client.ui.doc_types.SpssFrame.buildMenuBar(Unknown Source)
    at com.spss.java_client.ui.doc_types.SpssFrame.<init>(Unknown Source)
    at com.spss.java_client.ui.doc_types.data.DataFrame.<init>(Unknown Source)
    at com.spss.java_client.ui.doc_types.data.DataFrame.createDataFrame(Unknown Source)
    at com.spss.java_client.ui.SpssFrameMgr.createFrame(Unknown Source)
    at com.spss.java_client.ui.SpssMgr.newDataSet(Unknown Source)
    at com.spss.java_client.ui.SpssMgr.access$300(Unknown Source)
    at com.spss.java_client.ui.SpssMgr$3.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
    Warning: the fonts "Times" and "Lucida Bright" are not available for the Java logical font "Serif", which may have unexpected appearance or behavior. Re-enable the "Times" font to remove this warning.
    Exception in thread "Thread-14" java.lang.NullPointerException
    at java.lang.StringBuilder.<init>(StringBuilder.java:112)
    at com.spss.uitools.ui_builder.SpecificationBuilder.getAppDataPathForUserWithFolderName(Unknown Source)
    at com.spss.uitools.ui_builder.SpecificationBuilder.getAppdataExtensionsDirectory(Unknown Source)
    at com.spss.java_client.core.comp_util.FileLocationsUtil.getAppdataExtensionsDirectory(Unknown Source)
    at com.spss.java_client.core.documents.syntax.SyntaxMgr.getScemaFiles(Unknown Source)
    at com.spss.java_client.core.documents.syntax.SyntaxMgr.initSyntaxCommands(Unknown Source)
    at com.spss.java_client.ui.SpssMgr$SyntaxCommandInitializer.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:748)
    Exception in thread "Thread-10" java.lang.NullPointerException
    at com.spss.vis.template.FileSystemTemplateFactory.buildTemplatesFromDirectory(Unknown Source)
    at com.spss.vis.template.FileSystemTemplateFactory.getTemplates(Unknown Source)
    at com.spss.vis.graphboard.template.TemplateModel.getTemplatesFromFactory(Unknown Source)
    at com.spss.vis.graphboard.template.TemplateModel.getTemplatesFromFactories(Unknown Source)
    at com.spss.vis.graphboard.template.TemplateModel.setTemplateFactory(Unknown Source)
    at com.spss.vis.graphboard.template.TemplateModel.<init>(Unknown Source)
    at com.spss.vis.graphboard.template.TemplateBuilder.<init>(Unknown Source)
    at com.spss.java_client.core.common.Driver$PrintWarmUpThread.run(Unknown Source)

    ./stats -nologo /Users/eva/tmp/test.sps
    ./stats -nologo /Users/emnwouda/tmp/test.sps
    ./stats -nologo /Users/emnwouda/tmp/test.sps



    Thankyou,
    Eva







  • 5.  RE: Issues with Apple M1 Pro and/or Monterey 12.4 and SPSS 28??

    Posted Mon June 13, 2022 10:42 AM
    Edited by System Fri January 20, 2023 04:45 PM

    Hi Eva,

    I'm not sure if this Exception above is related to your issues or not, but it looks like stats was unable to create a directory it needs to store information about extensions you have installed and other items.

    If you open a terminal window you should be able to do

    cd "~/Application Support/IBM/SPSS Statistics/28". 

    This is the directory that we are trying to create.  If that command fails, you can run
      mkdir -p "~
    /Application Support/IBM/SPSS Statistics/28"
    and then
      chmod +rw "~
    /Application Support/IBM/SPSS Statistics/28"

    This will create the directory and give you read and write permissions to that directory.

    Once you do that, try running SPSS Statistics again and see if it improves your start time.

    ​​

    ------------------------------
    LOUIS Kittock
    ------------------------------