Resolution to SPSS 17.0 Mac issue with "Python Integration Plugin"

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Resolution to SPSS 17.0 Mac issue with "Python Integration Plugin"

Justin Willcox
Hello,
    I found one of the threads regarding a "Python scripts cannot be
executed." error in the mac version of SPSS 17, using google.

We found the resolution to this issue just a moment ago, so I am
attempting to post a reply.

The problem is in the SPSS user-interface.  The "Run Script" button is
not actually the right button to execute typed syntax.  Apparently the
proper button is several spots to the left, and looks just like the
"play" button on a VCR.

What the "Run Script" button actually does is attempt to open an
external file, which would be formatted as a Python Script.  The plugin
to run external Python scripts is not installed by default - it is in a
folder on the second installation CD.  This button should have been
disabled by default.

I hope that this helps whomever originally was reporting the issue
originally.

-Justin Willcox
Institute for Behavioral Research

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: Resolution to SPSS 17.0 Mac issue with "Python Integration Plugin"

SPSS Support
Hello Justin and all,

I've filed an enhancement request asking that the issue with the Run Script button be addressed, either by disabling it on the Mac when plug-ins have not been installed and no scripts can be run, or by issuing a popup that explains why you can't run a script if scripting has not been enabled.

There is a terminological issue here that seems to have no easy solution. To the best of my knowledge, the word "script" as used in SPSS/PASW Statistics has always been use in a specific technical sense, reserved for programs written in scripting/programming languages such as Visual Basic, Sax Basic, AppleScript, or Python. This is distinct from SPSS/PASW Statistics command syntax. If you select File>Open in the menus, you have the choice of files of the following types: Data, Syntax, Output, and Script. The menu equivalent of the Run Script button is Utilities>Run Script. Thus running a script is a process distinct from running command syntax, utilizing a different type of file.

English-language definitions of the word script are much more general, and other software program documentation may use the term in a more general sense as well, to refer to text that in SPSS/PASW Statistics is referred to as command syntax or simply syntax, and executed from a Syntax file. Some users are clearly not aware of the distinction between command syntax and scripts, as demonstrated by the fact that they have attempted to run command syntax by selecting the Run Script button. I'm not sure that we can do much about this other than to continue to be consistent in our usage of the terminology.

To run command syntax in a Syntax window, you use either the Run menu, or if you want to run only the currently selected command(s), use Ctrl-R or select the arrowhead button that indeed looks like a play button on a VCR or other piece of electronic equipment. We noted that the popup text for this button reads only "Selection" and I've filed a bug report to get this changed to "Run Selection".

David Nichols, Ph.D.
Master Statistician
SPSS, an IBM Company

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Justin Willcox
Sent: Thursday, October 01, 2009 11:26 AM
To: [hidden email]
Subject: [SPSSX-L] Resolution to SPSS 17.0 Mac issue with "Python Integration Plugin"

Hello,
    I found one of the threads regarding a "Python scripts cannot be executed." error in the mac version of SPSS 17, using google.

We found the resolution to this issue just a moment ago, so I am attempting to post a reply.

The problem is in the SPSS user-interface.  The "Run Script" button is not actually the right button to execute typed syntax.  Apparently the proper button is several spots to the left, and looks just like the "play" button on a VCR.

What the "Run Script" button actually does is attempt to open an external file, which would be formatted as a Python Script.  The plugin to run external Python scripts is not installed by default - it is in a folder on the second installation CD.  This button should have been disabled by default.

I hope that this helps whomever originally was reporting the issue originally.

-Justin Willcox
Institute for Behavioral Research

=====================
To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: Resolution to SPSS 17.0 Mac issue with "Python Integration Plugin"

albertjohn5457
In reply to this post by Justin Willcox
If your printer is Ethernet ready and you have a network consisting of at
least a router with one available port. This is a good option especially if
you want to use it with more than one computer. How to add brother printer
to mac
<https://www.brotherprintersupport247.com/brother-printer-configuration/>  
plug a Cat 5 or greater cord in the printer and router ports. You would need
to supply model numbers for detailed instructions.



--
Sent from: http://spssx-discussion.1045642.n5.nabble.com/

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD