MWorks server crashing at startup

Hi Chris,

I’m getting this error for the first time which is keeping me from running the MWorks server. I’ve tried rebooting and reinstalling MWorks. This is on a Macbook Are.

Thanks,
Evan

Hi Evan,

There was an issue with last night’s build (0.7.dev-20160106), which may be the cause of this problem. Can you try again tomorrow with tonight’s build?

Thanks,
Chris

To close this out: The problem was that Evan had a custom core plugin that hadn’t been recompiled for the new MWorks build. Removing the plugin resolved the issue.

I noticed that the custom plugin was actually only installed on one of the machines that this issue was occurring on, so I don’t think the custom plugin was the problem. Doing a clean install fixed the issue on one of the other computers, and I haven’t tried on third in case you have any interest in taking another look. My guess is that it’s not worth the effort, so unless you say otherwise I’ll do the clean reinstall in a couple of days.

I noticed that the custom plugin was actually only installed on one of the machines that this issue was occurring on, so I don’t think the custom plugin was the problem. Doing a clean install fixed the issue on one of the other computers, and I haven’t tried on third in case you have any interest in taking another look.

Even if that particular plugin wasn’t the problem, I would wager heavily that some other out-of-date component was. If you want, you can run the following command in Terminal on the third machine and send me the output:

ls -lt /Library/Application\ Support/MWorks/Plugins/Core

Chris

Hi Chris,

Here it is:

total 0

drwxr-xr-x 3 root wheel 102 Dec 17 00:10 PythonPlugin.bundle

drwxr-xr-x 3 root wheel 102 Dec 17 00:09 WhiteNoiseBackground.bundle

drwxr-xr-x 3 root wheel 102 Dec 17 00:09 USBHID.bundle

drwxr-xr-x 3 root wheel 102 Dec 17 00:09 OpenEphys.bundle

drwxr-xr-x 3 root wheel 102 Dec 17 00:09 NIDAQPlugin.bundle

drwxr-xr-x 3 root wheel 102 Dec 17 00:08 ITC18Plugin.bundle

drwxr-xr-x 3 root wheel 102 Dec 17 00:08 FakeMonkeyPlugin.bundle

drwxr-xr-x 3 root wheel 102 Dec 17 00:08 Eyelink.bundle

drwxr-xr-x 3 root wheel 102 Dec 17 00:08 BlackrockLEDDriver.bundle

drwxr-xr-x 3 root wheel 102 Dec 17 00:08 MSSWGamepadPlugin.bundle

drwxr-xr-x 3 root wheel 102 Dec 17 00:08 ServersideConduit.bundle

drwxr-xr-x 3 root wheel 102 Dec 17 00:07 MovingDots.bundle

drwxr-xr-x 3 root wheel 102 Dec 17 00:07 MovieStimulusPlugin.bundle

drwxr-xr-x 3 root wheel 102 Dec 17 00:07 MouseInput.bundle

drwxr-xr-x 3 root wheel 102 Dec 17 00:07 HighPrecisionClock.bundle

drwxr-xr-x 3 root wheel 102 Dec 17 00:07 HIDPlugin.bundle

drwxr-xr-x 3 root wheel 102 Dec 17 00:07
DriftingGratingStimulusPlugin.bundle

drwxr-xr-x 3 root wheel 102 Dec 17 00:06
LowPrioritySchedulerPlugin.bundle

drwxr-xr-x 3 root wheel 102 Dec 17 00:06 MachClockPlugin.bundle

drwxr-xr-x 3 root wheel 102 Dec 17 00:06 ZenSchedulerPlugin.bundle

drwxr-xr-x 3 root wheel 102 Dec 17 00:06 ZenStateSystemPlugin.bundle

drwxr-xr-x 3 root wheel 102 May 8 2015 CircleStimulusPlugin.bundle

drwxr-xr-x 3 root wheel 102 Nov 27 2014 NE500Plugin.bundle

Thanks. Here are the trouble makers:

drwxr-xr-x 3 root wheel 102 May 8 2015 CircleStimulusPlugin.bundle
drwxr-xr-x 3 root wheel 102 Nov 27 2014 NE500Plugin.bundle

The circle stimulus plugin doesn’t exist in newer builds, as it was merged in to the MWorksCore framework. I don’t know why that old NE-500 plugin is still there, as it should have been overwritten by subsequent installs.

In any case, a clean install remains the easiest solution.

Cheers,
Chris

Hi Evan,

To prevent this problem from recurring in the future, I’ve changed the installer so that the previous MWorks version is always backed up before installing the new one. If you use custom plugins, then your experiments will fail to load until you rebuild and reinstall those plugins. This seems much nicer than forcing you to deduce (from apparently random application crashes) that your plugins need to be rebuilt.

Cheers,
Chris