mrkrd / matlab_wrapper

Easy to use MATLAB wrapper for Python
GNU General Public License v3.0
78 stars 23 forks source link

Tests fail on master with MATLAB R2014a on Fedora 20 #4

Closed awelkie closed 10 years ago

awelkie commented 10 years ago

I don't think this is related to the engGetVariable issue (but maybe it is). All tests fail with

E   RuntimeError: MATLAB function <_FuncPtr object at 0x288e940> failed (<matlab_wrapper.matlab_session.LP_mxArray object at 0x2b1e9e0>) with arguments:
E   (<matlab_wrapper.matlab_session.LP_Engine object at 0x28db3b0>, 'df')

Also, I noticed that after calling matlab_wrapper.MatlabSession(), the function returns without an error but there is no MATLAB process started on my machine. Is this normal?

I'm running Fedora 20 x86_64, using the current master branch.

mrkrd commented 10 years ago

Hi, I'm away now and will have look on that next week.

What comes to my mind is, if you have /bin/csh on your system.

Cheers Marek

On 12 September 2014 18:37:21 CEST, Allen Welkie notifications@github.com wrote:

I don't think this is related to the engGetVariable issue (but maybe it is). All tests fail with

E RuntimeError: MATLAB function <_FuncPtr object at 0x288e940> failed (<matlab_wrapper.matlab_session.LP_mxArray object at 0x2b1e9e0>) with arguments: E (<matlab_wrapper.matlab_session.LP_Engine object at 0x28db3b0>, 'df')

Also, I noticed that after calling matlab_wrapper.MatlabSession(), the function returns without an error but there is no MATLAB process started on my machine. Is this normal?

I'm running Fedora 20 x86_64, using the current master branch.


Reply to this email directly or view it on GitHub: https://github.com/mrkrd/matlab_wrapper/issues/4

awelkie commented 10 years ago

Indeed, installing tcsh (which supplies csh) fixed it. The tests still fail, but I think this is related to the engGetVariable issue.

mrkrd commented 10 years ago

I'm glad, it worked.

I placed a check for /bin/csh in matlab_wrapper and a warning, if it does not exist. Hope, it'll fix similar problems.

Cheers Marek

Allen Welkie notifications@github.com writes:

Indeed, installing tcsh (which supplies csh) fixed it. The tests still fail, but I think this is related to the engGetVariable issue.


Reply to this email directly or view it on GitHub: https://github.com/mrkrd/matlab_wrapper/issues/4#issuecomment-55602126