Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while running validate #3

Open
ppswaroopa opened this issue Dec 23, 2020 · 3 comments
Open

Error while running validate #3

ppswaroopa opened this issue Dec 23, 2020 · 3 comments

Comments

@ppswaroopa
Copy link

I'm trying to run antrx on demo data. I'm getting errors in the 'validate' step.
When I run this command there's some error.

USR@COMPUTER:~/Documents/anTraX-data$ antrax validate JS16
16:34:45 -I- Reading video information from file
Unrecognized method, property, or field 'cla' for class 'matlab.ui.control.UIAxes'.

Error in validate_tracking/show_next (line 83)
app.ImageAxes.cla;

Error in validate_tracking/set_experiment (line 351)
show_next(app);

Error in validate_tracking/startupFcn (line 429)
set_experiment(app, Trck, p.Results.session)

Error using matlab.apps.internal.GraphicsCallbackProxy/runCallbackFunction (line 23)
Error while evaluating GraphicsCallbackProxy CallbackFcn.
Please help.

@asafgal
Copy link
Contributor

asafgal commented Dec 24, 2020

Hi, thanks for trying out anTraX!

Are you using a licensed matlab installation, or matlab mcr?
Which matlab version are you using?

@ppswaroopa
Copy link
Author

I've MATLAB licensed and MCR.
I installed MCR 2019a as mentioned in the installation guide.
I also have MATLAB 2020b full license installed in my Ubuntu system.

@asafgal
Copy link
Contributor

asafgal commented Dec 26, 2020

It seems anTraX is using your 2020b installation (for some reason matlab removed the cla() method from the uiaxes class).

If you have full installation of 2019a, make sure to install the python engine of that version into your anTraX python environment. You don't need the MCR in that case.

If you are using the matlab MCR, make sure your environment variables in your bash profile point to the correct path:

export ANTRAX_MCR=<full path to MCR installation>
export ANTRAX_PATH=<full path to anTraX repository>
export ANTRAX_USE_MCR=True

Don't forget to use source ~/.profile after changing the bash profile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants