Skip to content

Cannot run calculation; LISP bad CPU type, 64-bit? #16

Description

@justingeeslin

Running CogTool on a modern mac (OS Catalina 10.15.4). I suspect what is meant by "bad CPU type" is 64-bit.

Calculating the time for a task reveals the following message:

edu.cmu.cs.hcii.cogtool.util.RcvrComputationException: edu.cmu.cs.hcii.cogtool.model.IPredictionAlgo$ComputationException: Executing LISP failed
	at edu.cmu.cs.hcii.cogtool.controller.ComputePredictionCmd.computePrediction(ComputePredictionCmd.java:187)
	at edu.cmu.cs.hcii.cogtool.controller.ComputePredictionCmd.computeAllPredictions(ComputePredictionCmd.java:243)
	at edu.cmu.cs.hcii.cogtool.controller.ProjectController.recomputeScripts(ProjectController.java:5547)
	at edu.cmu.cs.hcii.cogtool.controller.ProjectController.recomputeScripts(ProjectController.java:5412)
	at edu.cmu.cs.hcii.cogtool.controller.ProjectController$45.performAction(ProjectController.java:4789)
	at edu.cmu.cs.hcii.cogtool.util.ListenerIdentifierMap.performAction(ListenerIdentifierMap.java:216)
	at edu.cmu.cs.hcii.cogtool.util.ListenerIdentifierMap.performAction(ListenerIdentifierMap.java:267)
	at edu.cmu.cs.hcii.cogtool.ui.UI.performAction(UI.java:582)
	at edu.cmu.cs.hcii.cogtool.view.ContextMenuManager$2.handleEvent(ContextMenuManager.java:147)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4387)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1512)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1535)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1324)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4174)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3791)
	at edu.cmu.cs.hcii.cogtool.util.WindowUtil.interact(WindowUtil.java:540)
	at edu.cmu.cs.hcii.cogtool.util.WindowUtil.interact(WindowUtil.java:570)
	at edu.cmu.cs.hcii.cogtool.CogTool.main(CogTool.java:382)
Caused by: edu.cmu.cs.hcii.cogtool.model.IPredictionAlgo$ComputationException: Executing LISP failed
	at edu.cmu.cs.hcii.cogtool.model.ACTRPredictionAlgo$ACTRAnalysisInput.compute(ACTRPredictionAlgo.java:382)
	at edu.cmu.cs.hcii.cogtool.model.IPredictionAlgo$AAnalysisInput.compute(IPredictionAlgo.java:177)
	at edu.cmu.cs.hcii.cogtool.controller.ComputePredictionCmd.computePrediction(ComputePredictionCmd.java:184)
	... 19 more
Caused by: edu.cmu.cs.hcii.cogtool.util.Subprocess$ExecuteException: IOException reading subprocess error stream
	at edu.cmu.cs.hcii.cogtool.util.Subprocess.exec(Subprocess.java:379)
	at edu.cmu.cs.hcii.cogtool.util.Subprocess.exec(Subprocess.java:176)
	at edu.cmu.cs.hcii.cogtool.util.Subprocess.execLisp(Subprocess.java:496)
	at edu.cmu.cs.hcii.cogtool.model.ACTRPredictionAlgo$ACTRAnalysisInput.compute(ACTRPredictionAlgo.java:373)
	... 21 more
Caused by: java.io.IOException: Cannot run program "/Users/Skyward/cogtool/dist/CogTool.app/Contents/Resources/clisp-mac-intel/lisp.run": error=86, Bad CPU type in executable
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
	at java.lang.Runtime.exec(Runtime.java:620)
	at edu.cmu.cs.hcii.cogtool.util.Subprocess.exec(Subprocess.java:259)
	... 24 more
Caused by: java.io.IOException: error=86, Bad CPU type in executable
	at java.lang.UNIXProcess.forkAndExec(Native Method)
	at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
	at java.lang.ProcessImpl.start(ProcessImpl.java:134)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
	... 26 more

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions