SPSS Statistics

 View Only
Expand all | Collapse all

Syntax files will not open

  • 1.  Syntax files will not open

    Posted Mon October 30, 2023 03:51 PM

    Hi - 

    Out of nowhere, I am having issues with syntax today. I have been using v29 on a PC since August without incident, but all of a sudden, syntax windows are not opening. If I try to open an existing syntax file, try to create a new syntax file, or paste a command, a syntax file will appear in my task bar, but the screen doesn't seem to exist anywhere. I've included a screenshot below--when I try to click on the syntax file, nothing happens.

    Any idea what might be happening? Thanks for the input.



    ------------------------------
    RP
    ------------------------------


  • 2.  RE: Syntax files will not open

    Posted Mon October 30, 2023 05:03 PM

    Hi @Rebecca P

    This is the 3rd time I've seen a user report this behavior, yet I am confounded at how they are getting themselves and their instance of SPSs Statistics into this state.

    Things to check:

    • Make sure you are in "Classic" mode and not  in "Workbook" mode. This mode is selectable in the lower right corner of the Data Editor in the status bar.
    • Make sure that you do not have an orphaned instance of Statistics running.  Reboot your PC and then launch Statistics.  Is the behavior gone?
    • Delete the user environment for Statistics under %USERPROFILE%\AppData\Roaming\IBM\SPSS Statistics.  Launch Statistics once more.  Is the behavior gone?


    ------------------------------
    David Dwyer
    SPSS Technical Support
    IBM Software
    ------------------------------



  • 3.  RE: Syntax files will not open

    Posted Tue October 31, 2023 10:05 AM

    Even more strangely, after three days of this issue and no resolution after uninstalling and reinstalling and trying all kinds of troubleshooting, the issue seemed to magically resolve yesterday afternoon...thanks for the time spent noodling on this!



    ------------------------------
    Rebecca P
    ------------------------------



  • 4.  RE: Syntax files will not open

    Posted Mon April 08, 2024 11:29 AM

    Hi SPSS-Team,
    I'm experiencing the exactly same issue since last October. Is there a fix available? The steps mentioned by David above unfortunately didn't solve the issue.
    (current version: 29.0.1.0)



    ------------------------------
    Manfred Maier
    ------------------------------



  • 5.  RE: Syntax files will not open

    Posted Wed July 24, 2024 09:04 AM

    I am having the same exact issue with my version 29.0. I am in classic mode. I do not have another instance of SPSS statistics running. I rebooted, uninstalled, and re-installed my version of SPSS. 

    Did anyone find a reliable fix for this issue? How long did it last for others. I'm on day 5 of no syntax editor working. SPSS indicates the syntax editor window is open, but it's just a blank window that won't actually fill the page.



    ------------------------------
    M Z
    ------------------------------



  • 6.  RE: Syntax files will not open

    Posted Wed July 24, 2024 09:46 AM
    Edited by David Dwyer Wed July 24, 2024 09:56 AM

    Hi @M Z,

    I just noticed.  You said you are on Statistics 29.0.  When you go to "Help -> About..."  what is the exact version and build shown? The first release (29.0.0.0) definitely had problems with missing buttons and other issues in the user interface, that we fixed by interim fixes and later fixpacks.  Please make sure you are are using the most recent release of IBM SPSS Statistics (release 29.0.2.0, build 20) - See https://www.ibm.com/support/pages/downloading-ibm-spss-statistics-29020

    You wrote:
    "SPSS indicates the syntax editor window is open, but it's just a blank window that won't actually fill the page."

    Could you give more information on this?

    • Do you actually have a fully opened Syntax Editor?
    • Or, do you see the Syntax Editor available off of the "Window" menu in the Data Editor, but when you click it you see nothing or you see a minimized or otherwise shrunken window?  With this one I'm wondering if you regularly switch between multiple monitors and you've recently removed one.  Try the "Windows -> Reset Dialog Sizes and Positions" menu.
    • Are you able to type within that open window, or "Paste" commands from one of the procedure dialogs?
    • Maybe a screenshot of what you're seeing?



    ------------------------------
    David Dwyer
    SPSS Technical Support
    IBM Software
    ------------------------------



  • 7.  RE: Syntax files will not open

    Posted Mon July 29, 2024 05:16 PM

    Similar to other folks, it started working fine today! Not really sure what fixed it, but it seems that re-starting my computer again coincided with the fix? Not sure. Thanks for the support & being so quick with replies.

    I've been using Version 29.0.2.0 (20) according to the help>about section.

    When the issue was happening, it was like there was a minimized window, but the preview of the window was blank. When I tried to "expand all windows," the syntax window did not expand. I was not able to type/paste anything into syntax because it did not show on my screen. I do not use an additional display.

    I'm attaching a screenshot of what it looked like when it was not working (even after re-setting dialog window sizes, re-starting computer, using task manager to make sure all other spss windows were closed). It's like the syntax window was "open," but not really. I could not write, paste, or run syntax when it was like this:

    Syntax window issue - not opening/blank screen
    I re-started my computer again and now it's working! I'm attaching a screenshot of what it looks like now that it's working. There are now details on the hover/preview of the window. When I click the window, it actually opens so I can write, paste, & run syntax.
    Syntax window hover shows detail and actually opens when clicked/expanded open.


    ------------------------------
    M Z
    ------------------------------



  • 8.  RE: Syntax files will not open

    Posted Mon August 26, 2024 08:22 PM

    Hi David,

    I'm having the same problem as all those addressed above, except my SPSS has not magically fixed itself. I'm on version 29.0.2 and I can see the Syntax files in the task bar but have no access to them. When I run new programming and try to paste to syntax, it goes nowhere that I can see.  I tried all the fixes above, and nothing works.  I do use multiple monitors, but the Syntax files do not appear on any of them.  I suspect that somewhere there may be a "phantom monitor" to which the SPSS program is sending the syntax files, but I don't know how you would discover if this is true.  

    I'm very frustrated as today I had to manually enter all the transformations and computations by hand for a dataset that I needed results for - a task that took over an hour, which would have taken less than a minute if I could have just run syntax.  Given that this appears to be an ongoing problem, is IBM going to provide a patch to help?



    ------------------------------
    Lani Van Dusen
    ------------------------------



  • 9.  RE: Syntax files will not open

    Posted Mon August 26, 2024 11:29 PM
    This does sound to me like an off-screen window.  Have you tried the Windows view that shows all windows?  If you cycle through all the windows until the phantom seems to get focus, you can move it on screen.  In Win 11, you shift-right-click to show a menu with Move. The gesture is different in Win 10.--





  • 10.  RE: Syntax files will not open

    Posted Tue August 27, 2024 12:21 PM

    Hi Jon,

    I tried your suggestion.  I was able to see the syntax file in the windows - which it already said was active on one of my desktop monitors, but I tried moving it to another just to see if that would work.  However, it still doesn't let me open or access the syntax file and actually looks like a blank file in the window (rather than having lines of code). When I try to create a new Syntax file, it doesn't show up anywhere.



    ------------------------------
    Lani Van Dusen
    ------------------------------



  • 11.  RE: Syntax files will not open

    Posted Tue August 27, 2024 12:35 PM
    I'll have to leave this to the IBM Support people.

    --





  • 12.  RE: Syntax files will not open

    Posted Tue August 27, 2024 02:07 PM
    Edited by David Dwyer Tue August 27, 2024 02:43 PM

    Hi @Lani Van Dusen,

    So you have confirmed that your Syntax Editor Window is currently associated with a monitor that is not currently connected to your computer.  So now the problem becomes "How do I get all of my windows back on the main window again?"

    First thing to try:

    Plug your laptop/desktop back into the environment where you had a number of external monitors attached prior to seeing this behavior (as @Manfred Maier has suggested.). If that works, you should be able to find the desired window and bring it to the foreground on your current monitor (as @Jon Peck has suggested.)

    The next thing to try (Sledge Hammer approach):

    The locations of the various windows are stored in the Windows Registry as user preferences.   If you don't care about the preferences, you can simply delete the SPSS Statistics registry keys (Assuming you have access to the regedit.exe command and are allowed to use it on this computer).

    Destroy all of the user preferences and return to the defaults on next launch by deleting
    HKEY_CURRENT_USER\Software\JavaSoft\Prefs\com\ibm\/S/P/S/S\/Statistics\one

    Reset the location of the Syntax Editor window by deleting
    HKEY_CURRENT_USER\Software\JavaSoft\Prefs\com\ibm\/S/P/S/S\/Statistics\one\ui\doc_types\syntax\syntax_editor_locationx
    HKEY_CURRENT_USER\Software\JavaSoft\Prefs\com\ibm\/S/P/S/S\/Statistics\one\ui\doc_types\syntax\syntax_editor_locationy

    I've added an Enhancement Request via the IBM Ideas Portal - see https://ideas.ibm.com/ideas/STATS-I-187

    I hope this helps!



    ------------------------------
    David Dwyer
    SPSS Technical Support
    IBM Software
    ------------------------------



  • 13.  RE: Syntax files will not open

    Posted Tue August 27, 2024 05:12 PM

    Hi David,

    The sledgehammer approach worked!  I now have access to Syntax again.

    Much appreciated!

    Lani



    ------------------------------
    Lani Van Dusen
    ------------------------------



  • 14.  RE: Syntax files will not open

    Posted Wed July 24, 2024 10:00 AM

    The solution in my case was actually quite simple. I "just" had to use SPSS at the same desk where I had used it 6 months before ;)

    The issue in my case has been:
    I had the syntax window open on my third screen in the office. When now using SPSS at a 1 or 2-screen workplace, the syntax window still was open on the third (non-existing) screen.



    ------------------------------
    Manfred Maier
    ------------------------------