GithubHelp home page GithubHelp logo

Comments (7)

janamach avatar janamach commented on June 26, 2024

Edit: the errors are the same between the commits, the difference that confused me that with the second command MATLAB did not attempt to load a GUI. Please ignore this thread for now.

from antrax.

asafgal avatar asafgal commented on June 26, 2024

Totally my fault here (the graph-explorer issue), I was careless with patching this issue. Try now.

from antrax.

janamach avatar janamach commented on June 26, 2024

By 'Try now' you mean pulling from the debug-jana branch, right?

I did not notice a difference in terms of performance with MCR, with MATLAB it looks the same locally and loads normally remotely. I think #5 is the real issue here...

To re-iterate, this error occurs locally:

(matlab2019a) jana@str09:~/src/anTraX-data$ antrax graph-explorer JS16/

==================================================================================

Welcome to anTraX - a software for tracking color tagged ants (and other insects)

==================================================================================

Undefined function or variable 'graph_explorer'.

Traceback (most recent call last):
  File "/home/jana/anaconda3/envs/matlab2019a/bin/antrax", line 8, in <module>
    sys.exit(main())
  File "/home/jana/anaconda3/envs/matlab2019a/lib/python3.6/site-packages/antrax/cli.py", line 651, in main
    """)
  File "/home/jana/anaconda3/envs/matlab2019a/lib/python3.6/site-packages/sigtools/modifiers.py", line 158, in __call__
    return self.func(*args, **kwargs)
  File "/home/jana/anaconda3/envs/matlab2019a/lib/python3.6/site-packages/clize/runner.py", line 363, in run
    ret = cli(*args)
  File "/home/jana/anaconda3/envs/matlab2019a/lib/python3.6/site-packages/clize/runner.py", line 220, in __call__
    return func(*posargs, **kwargs)
  File "/home/jana/anaconda3/envs/matlab2019a/lib/python3.6/site-packages/clize/runner.py", line 262, in _cli
    return func('{0} {1}'.format(name, command), *args)
  File "/home/jana/anaconda3/envs/matlab2019a/lib/python3.6/site-packages/clize/runner.py", line 220, in __call__
    return func(*posargs, **kwargs)
  File "/home/jana/anaconda3/envs/matlab2019a/lib/python3.6/site-packages/antrax/cli.py", line 142, in graph_explorer
    launch_matlab_app('graph_explorer', args, mcr=mcr)
  File "/home/jana/anaconda3/envs/matlab2019a/lib/python3.6/site-packages/antrax/matlab.py", line 204, in launch_matlab_app
    app = eval('eng.' + appname + '(' + ','.join([str(a) for a in args]) + ')')
  File "<string>", line 1, in <module>
  File "/home/jana/anaconda3/envs/matlab2019a/lib/python3.6/site-packages/matlab/engine/matlabengine.py", line 71, in __call__
    _stderr, feval=True).result()
  File "/home/jana/anaconda3/envs/matlab2019a/lib/python3.6/site-packages/matlab/engine/futureresult.py", line 67, in result
    return self.__future.result(timeout)
  File "/home/jana/anaconda3/envs/matlab2019a/lib/python3.6/site-packages/matlab/engine/fevalfuture.py", line 82, in result
    self._result = pythonengine.getFEvalResult(self._future,self._nargout, None, out=self._out, err=self._err)
matlab.engine.MatlabExecutionError: Undefined function 'graph_explorer' for input arguments of type 'int64'.

And this is the normal output when ran remotely with ssh -X:

==================================================================================

Welcome to anTraX - a software for tracking color tagged ants (and other insects)

==================================================================================

03/02/21 13:35:06 -D- antrax cli entry point
13:35:22 -D- starting antrax configure app
13:35:24 -D- set_experiment function
13:35:24 -D- initializing expreader object
13:35:24 -I- Reading video information from file
13:35:39 -I- opening video file JS16/videos//1_6/JS16_1.mp4
13:35:39 -D- Running ffprobe #1 for file JS16/videos//1_6/JS16_1.mp4

mov,mp4,m4a,3gp,3g2,mj2
10402940

13:35:39 -D- Running ffprobe #2 for file JS16/videos//1_6/JS16_1.mp4

960
720
yuvj420p
10/1
0.000000
300.000000
3000

13:35:40 -D- antrax configure app ready!

I think this issue is redundant with #5. Sorry for starting it - I thought I saw a new error...

from antrax.

asafgal avatar asafgal commented on June 26, 2024

No, you are absolutely right - when patching the issue for mcr I broke the same functionality with full matlab.
Pull & try again now.

from antrax.

janamach avatar janamach commented on June 26, 2024

This is so confusing...

Pull & try again now.

It does not complain anymore when I run it locally, so your last commit fixed the issue.

What is extremely confusing is that

  • It never stopped working through ssh -X
  • The GUI still doesn't work locally with MATLAB (#5 )

Anyway, thank you for fixing this issue. This discrepancy between local and ssh got me so confused I wasn't sure if the errors I saw were "real" :)

from antrax.

asafgal avatar asafgal commented on June 26, 2024

Thank you for helping improve anTraX! Hopefully it will justify the effort :-)

from antrax.

janamach avatar janamach commented on June 26, 2024

Thank you for helping :-)

from antrax.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.