trying to use SpssClient

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

trying to use SpssClient

Warren Chrusciel
I am just trying to run the little snippet of syntax/Python code below in
SPSS 18:

BEGIN PROGRAM.
import SpssClient
SpssClient.StartClient()
SpssClient.StopClient()
END PROGRAM.

When I try to run it, I get the following error message:

Traceback (most recent call last):
  File "<string>", line 3, in <module>
_SpssClient.JCAdaptorException: (0, 'Port Handshake with JavaClient
failed.', '')

It seems that I should initialize something in SPSS or on my computer.
However, I am not sure where to start.  Does anyone have any suggestions
about what I need to change so that I can run these lines without getting
an error?

Thank you,

Warren Chrusciel
Municipal Property Assessment Corporation
1420 Blair Place, Suite 300
Ottawa, Ontario K1J 9L8

=====================
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