nickdelgrosso / motivebatch

3 stars 0 forks source link

Qt error on Win10 #1

Open trose-neuro opened 5 years ago

trose-neuro commented 5 years ago

Dear Nick,

first of all: thanks for providing this - We are recording a ton of takes each day and the Motive batch processor is a huge pain (and requires the hardware dongle to run). It would be awesome to immediately script the csv export on a setup PC not having the dongle.

However, I am having trouble getting the wrapper to run: When I call the Take function take = Take('myfile.tak') on one of my files (Motive 2.1.1. file) within ipy (IronPython 2.7.9 (2.7.9.0) on .NET 4.0.30319.42000 (64-bit) ) I get:

This application failed to start because it could not find or load the Qt platform plugin "windows" in "".

Followed by ipy crash.

The qwindows.dll is ending up in the C:\Program Files\IronPython 2.7\Lib\site-packages\motivebatch folder.

I am running a fresh Win10 install. The Motive dll is properly sitting at C:\Program Files\OptiTrack\Motive\assemblies\x64\NMotive.dll.

Thanks a lot for your help!

Tobias (MPI neuro)

mnjm commented 5 years ago

Hi Nick,

I also got the same error. Please let me know if there is any fix to this issue.

mnjm commented 5 years ago

Hi Nick/Tobias,

I was able to fix this issue. The IronPython was trying to find the qt dll files in its location whereas the qt dll files are present in the Motive Batch Processor directory.

Copying the qt*.dll files + platform folder to the IronPython directory(where the ipy.exe resides) fixed it for me.

trose-neuro commented 3 years ago

Great - thanks! Will test.