Open chrisgw opened 1 month ago
Hi,
Previous users had faced similar issues, but the problem was incorrect Matlab installation (https://groups.google.com/g/jaaba/c/5mxm_WCDcaI/m/2EfDgEhcAQAJ?utm_medium=email&utm_source=footer).
To test this, can you run "myparse" in matlab command window after running SetUpJAABAPath from JAABA/perframe directory? myparse is a function available in JAABA/misc/, which gets added to the path when you run SetUpJAABAPath, so it shouldn't require any toolboxes. We see such errors when the installation is improper. Also, when you try testing again, often, you might see some other function erroring out.
Mayank
From: Christine W. @.> Sent: Wednesday, October 23, 2024 12:45 PM To: kristinbranson/JAABA @.> Cc: Subscribed @.***> Subject: [kristinbranson/JAABA] Error on StartJAABA (Issue #349)
External Email: Use Caution
I'd like to use JAABA for tracking my flies' behavior. But every time I StartJAABA I get this error message:
StartJAABA Number of threads allocated for computation: 6 Number of threads allocated for display: 4 myparse requires Medical Imaging Toolbox.
Error in JLabel>JLabel_OpeningFcn (line 70) myparse(varargin,...
Error in gui_mainfcn (line 220) feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});
Error in JLabel (line 35) [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
Error in StartJAABA (line 39) fig = JLabel('nthreads',nthreads);
As far as I know, Medical Imaging Toolbox is not needed. Please let me know how to fix this. Thank you!
— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/kristinbranson/JAABA/issues/349__;!!Eh6p8Q!GO3QVhzpRguaDcii7p5M_fXoTzLArwlCWbu8oUM5JnDAIVKKOh3CZcGbjhBmysr0fuANTmevx578Z-NOth7r4P1-qzo$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AAJNKY5Y7R4KTO2TU2AI4QLZ45EHJAVCNFSM6AAAAABQODQOACVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYDONJTHA3TSNQ__;!!Eh6p8Q!GO3QVhzpRguaDcii7p5M_fXoTzLArwlCWbu8oUM5JnDAIVKKOh3CZcGbjhBmysr0fuANTmevx578Z-NOth7rexr47QE$. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hi, Previous users had faced similar issues, but the problem was incorrect Matlab installation (https://groups.google.com/g/jaaba/c/5mxm_WCDcaI/m/2EfDgEhcAQAJ?utm_medium=email&utm_source=footer). To test this, can you run "myparse" in matlab command window after running SetUpJAABAPath from JAABA/perframe directory? myparse is a function available in JAABA/misc/, which gets added to the path when you run SetUpJAABAPath, so it shouldn't require any toolboxes. We see such errors when the installation is improper. Also, when you try testing again, often, you might see some other function erroring out. Mayank … ____ From: Christine W. @.> Sent: Wednesday, October 23, 2024 12:45 PM To: kristinbranson/JAABA @.> Cc: Subscribed @.> Subject: [kristinbranson/JAABA] Error on StartJAABA (Issue #349) External Email: Use Caution I'd like to use JAABA for tracking my flies' behavior. But every time I StartJAABA I get this error message: StartJAABA Number of threads allocated for computation: 6 Number of threads allocated for display: 4 myparse requires Medical Imaging Toolbox. Error in JLabel>JLabel_OpeningFcn (line 70) myparse(varargin,... Error in gui_mainfcn (line 220) feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:}); Error in JLabel (line 35) [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:}); Error in StartJAABA (line 39) fig = JLabel('nthreads',nthreads); As far as I know, Medical Imaging Toolbox is not needed. Please let me know how to fix this. Thank you! — Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/kristinbranson/JAABA/issues/349__;!!Eh6p8Q!GO3QVhzpRguaDcii7p5M_fXoTzLArwlCWbu8oUM5JnDAIVKKOh3CZcGbjhBmysr0fuANTmevx578Z-NOth7r4P1-qzo$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AAJNKY5Y7R4KTO2TU2AI4QLZ45EHJAVCNFSM6AAAAABQODQOACVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYDONJTHA3TSNQ__;!!Eh6p8Q!GO3QVhzpRguaDcii7p5M_fXoTzLArwlCWbu8oUM5JnDAIVKKOh3CZcGbjhBmysr0fuANTmevx578Z-NOth7rexr47QE$. You are receiving this because you are subscribed to this thread.Message ID: @.>
Hi, thank you for your reply Mayank.
I've tried uninstalling and reinstalling MATLAB. Then I ran the commands, SetUpJAABAPath and myparse in this order. But it still requires Medical Imaging Toolbox.
Yes, that suggests that the problem is with Matlab installation or licensing. You will have to contact Matlab support for it. Tell them that you are unable to run the local function "myparse" even though it is on your path.
To confirm, can you tell the output of "which myparse" after you run SetUpJAABAPath?
Mayank
From: Christine W. @.> Sent: Thursday, October 24, 2024 10:49 AM To: kristinbranson/JAABA @.> Cc: Kabra, Mayank @.>; Comment @.> Subject: Re: [kristinbranson/JAABA] Error on StartJAABA (Issue #349)
External Email: Use Caution
Hi, thank you for your reply Mayank.
I've tried uninstalling and reinstalling MATLAB. Then I ran the commands, SetUpJAABAPath and myparse in this order. But it still requires Medical Imaging Toolbox.
— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/kristinbranson/JAABA/issues/349*issuecomment-2434322820__;Iw!!Eh6p8Q!BROX4jETUSiadx7PwxlJruQOoKdrFuU1hZSsEURtfOW468T9lEtRB0e4Txqzzozz9qMRVUxWr6_pNg4PwnV4ukIGKAc$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AAJNKY2CATMYFOVDKFDK3PTZ5B7NJAVCNFSM6AAAAABQODQOACVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZUGMZDEOBSGA__;!!Eh6p8Q!BROX4jETUSiadx7PwxlJruQOoKdrFuU1hZSsEURtfOW468T9lEtRB0e4Txqzzozz9qMRVUxWr6_pNg4PwnV4UgjfbME$. You are receiving this because you commented.
Hi Mayank,
C.
Update: So I contacted MathWorks but they don't have any solutions since MATLAB is able to run other programs. Any suggestions? Thank you.
Hi Christine,
Matlab won't be able to help with JAABA if you tell them that you can't run JAABA. Did you tell them you cannot run the command "myparse" that is on your path?
Mayank
From: Christine W. @.> Sent: Friday, October 25, 2024 11:02 AM To: kristinbranson/JAABA @.> Cc: Kabra, Mayank @.>; Comment @.> Subject: Re: [kristinbranson/JAABA] Error on StartJAABA (Issue #349)
External Email: Use Caution
Update: So I contacted MathWorks but they don't have any solutions since MATLAB is able to run other programs. Any suggestions? Thank you. Screenshot.2024-10-25.at.2.31.11.PM.png (view on web)https://urldefense.com/v3/__https://github.com/user-attachments/assets/6f75ff53-85f8-4bf2-84f9-efe39800c2dd__;!!Eh6p8Q!DVqVcjTnblGchjsiioEVKAuh0D7yyaNcPovSJfwQCxwFcF8yy5bZ_CJeO0eMi9e_X9MjliAxgMkRuxSCmJIadjuhL6g$
— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/kristinbranson/JAABA/issues/349*issuecomment-2436869705__;Iw!!Eh6p8Q!DVqVcjTnblGchjsiioEVKAuh0D7yyaNcPovSJfwQCxwFcF8yy5bZ_CJeO0eMi9e_X9MjliAxgMkRuxSCmJIaMoVK0UY$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AAJNKY5D5PUUZ5UIBOKNUG3Z5HJV7AVCNFSM6AAAAABQODQOACVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZWHA3DSNZQGU__;!!Eh6p8Q!DVqVcjTnblGchjsiioEVKAuh0D7yyaNcPovSJfwQCxwFcF8yy5bZ_CJeO0eMi9e_X9MjliAxgMkRuxSCmJIaXDW0Mdg$. You are receiving this because you commented.Message ID: @.***>
Hi Mayank,
Yes that is what I told them. But, they told me they can't help with this issue.
I have followed-up with them, but it seem unlikely that they will provide any solution. Are there any alternatives you can advise?
If you mention JAABA, then they will wash their hands of it because of course they don't know anything about it. You need to isolate the issue to only "myparse" function. Tell them you are unable to run the function "myparse", the output of "which myparse", attach the file for function myparse and the error that you get.
Mayank
From: Christine W. @.> Sent: Friday, October 25, 2024 5:50 PM To: kristinbranson/JAABA @.> Cc: Kabra, Mayank @.>; Comment @.> Subject: Re: [kristinbranson/JAABA] Error on StartJAABA (Issue #349)
External Email: Use Caution
Hi Mayank,
Yes that is what I told them. But, they told me they can't help with this issue.
— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/kristinbranson/JAABA/issues/349*issuecomment-2437637030__;Iw!!Eh6p8Q!HEoHNSgHuTsWhZSW3XARAGOacJoPIMIonkmWTrgEo9fUwoCnG9em0cn42SRqTTe-s6KaCQvJVE7kaH1W2oKvwz7ZG0k$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AAJNKY5KKLSSHUF3Q54YOCLZ5IZSDAVCNFSM6AAAAABQODQOACVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZXGYZTOMBTGA__;!!Eh6p8Q!HEoHNSgHuTsWhZSW3XARAGOacJoPIMIonkmWTrgEo9fUwoCnG9em0cn42SRqTTe-s6KaCQvJVE7kaH1W2oKvi7VHC0o$. You are receiving this because you commented.Message ID: @.***>
Mayank, I have received a reply from MathWorks and apparently I'm not eligible for further help because I only own a STUDENT license? They told me to post the question on the community Ask page which I did. No helpful replies so far.
How did other users resolved this same problem in the past?
Thank you.
That is quite an inadequate response from Matlab. Others who faced similar problems had their issues solved by their IT team. With your student license, you do get access to parallel computing and other required toolboxes, right? Do you have other computers/Matlab licenses to see if JAABA works there?
Mayank
From: Christine W. @.> Sent: Monday, October 28, 2024 1:41 PM To: kristinbranson/JAABA @.> Cc: Kabra, Mayank @.>; Comment @.> Subject: Re: [kristinbranson/JAABA] Error on StartJAABA (Issue #349)
External Email: Use Caution
Mayank, I have received a reply from MathWorks and apparently I'm not eligible for further help because I only own a STUDENT license? They told me to post the question on the community Ask page which I did. No helpful replies so far.
How did other users resolved this same problem in the past?
Thank you.
— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/kristinbranson/JAABA/issues/349*issuecomment-2440823785__;Iw!!Eh6p8Q!DI55xQ8ypsAEPORka_G6RUvJvd_ss69kYnaeTpkWVFn6h2EnbbyNwOVPdDlzYmwqgngxqxzk1r5SqwRJz7ApnT9oOF8$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AAJNKY73AQJMCIE7SJIZHCLZ5XWUZAVCNFSM6AAAAABQODQOACVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBQHAZDGNZYGU__;!!Eh6p8Q!DI55xQ8ypsAEPORka_G6RUvJvd_ss69kYnaeTpkWVFn6h2EnbbyNwOVPdDlzYmwqgngxqxzk1r5SqwRJz7ApVNS38j4$. You are receiving this because you commented.Message ID: @.***>
Hi Mayank, I have managed to get JAABA to work once or twice on my lab desktop. Unfortunately, the desktop is broken at the moment and I am waiting for a new one. Since, I have Student License, I can only activate the license twice and I maxed out.
I'm hoping this problem won't occur on the new desktop, but I'd still like to fix this issue on my laptop.
Thank you for your assistance. Really appreciate it.
Update: Someone suggested that there might be a naming conflict. So they suggested I could try renaming myparse function. I also found myparse.m file in "FlyTracker-main/tracking" and "FlyTracker-main/tracking/utilities/ufmfread". Could these be causing the conflicts?
The issue seems to be with newer versions of Matlab. Maybe try older versions, even as old as 2022b.
Mayank
From: Christine W. @.> Sent: Monday, October 28, 2024 2:25 PM To: kristinbranson/JAABA @.> Cc: Kabra, Mayank @.>; Comment @.> Subject: Re: [kristinbranson/JAABA] Error on StartJAABA (Issue #349)
External Email: Use Caution
Hi Mayank, I have managed to get JAABA to work once or twice on my lab desktop. Unfortunately, the desktop is broken at the moment and I am waiting for a new one. Since, I have Student License, I can only activate the license twice and I maxed out.
I'm hoping this problem won't occur on the new desktop, but I'd still like to fix this issue on my laptop.
Thank you for your assistance. Really appreciate it.
— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/kristinbranson/JAABA/issues/349*issuecomment-2440913848__;Iw!!Eh6p8Q!EIGLoIHIWXnlueVua9D_fvu_S00s5xdqbH7Wi9SpdYIOntThPz3kgkJojP7xU7hLAkr-9M2iLte_ROobTda4YQcy1aQ$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AAJNKY4DK4PL4QAFE3JTHRDZ5X3W7AVCNFSM6AAAAABQODQOACVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBQHEYTGOBUHA__;!!Eh6p8Q!EIGLoIHIWXnlueVua9D_fvu_S00s5xdqbH7Wi9SpdYIOntThPz3kgkJojP7xU7hLAkr-9M2iLte_ROobTda4FFGqa4Y$. You are receiving this because you commented.Message ID: @.***>
I have tried 2021a. JAABA can be started, but the GUI doesn't seem to behave properly. None of the suggested answers in MATLAB Answers (changing function name for example) work for me at the moment.
Yeah, renaming the function isn't going to help.
What OS are you using for 2021a? Do you see any errors in the command window?
Mayank
From: Christine W. @.> Sent: Thursday, November 7, 2024 11:56 AM To: kristinbranson/JAABA @.> Cc: Kabra, Mayank @.>; Comment @.> Subject: Re: [kristinbranson/JAABA] Error on StartJAABA (Issue #349)
External Email: Use Caution
I have tried 2021a. JAABA can be started, but the GUI doesn't seem to behave properly. None of the suggested answers in MATLAB Answers (changing function name for example) work for me at the moment.
Screenshot.2024-11-07.at.3.24.56.PM.png (view on web)https://urldefense.com/v3/__https://github.com/user-attachments/assets/b6af45e4-08db-49dd-b182-0ea2ecf546fa__;!!Eh6p8Q!Dg7_29xZf0IcqpAzZOjjw_1RAt5mPfaifPW7ATLfiSK3T20LTJkyesa-sl1e9JHkVGkQo84IcgRYqvQswI-rrbTNFeY$
— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/kristinbranson/JAABA/issues/349*issuecomment-2461424713__;Iw!!Eh6p8Q!Dg7_29xZf0IcqpAzZOjjw_1RAt5mPfaifPW7ATLfiSK3T20LTJkyesa-sl1e9JHkVGkQo84IcgRYqvQswI-r6kPbyNs$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AAJNKYYWG53UUKKUDF4SQ23Z7MB2VAVCNFSM6AAAAABQODQOACVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRRGQZDINZRGM__;!!Eh6p8Q!Dg7_29xZf0IcqpAzZOjjw_1RAt5mPfaifPW7ATLfiSK3T20LTJkyesa-sl1e9JHkVGkQo84IcgRYqvQswI-rnsZLRPo$. You are receiving this because you commented.Message ID: @.***>
No other errors showed up other than warning messages on start-up. I'm on Macbook M2 Sonoma 14.4.1 (23E224).
Student License -- for use by students to meet course requirements
and perform academic research at degree granting institutions only.
Warning: the font "Times" is not available, so "Lucida Bright" has been substituted, but may have unexpected appearance or behavor. Re-enable the "Times" font to remove this warning.
Warning: the font "Times" is not available, so "Lucida Bright" has been substituted, but may have unexpected appearance or behavor. Re-enable the "Times" font to remove this warning.
>> ver
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.10.0.2198249 (R2021a) Update 8
MATLAB License Number: STUDENT
Operating System: macOS Version: 14.4.1 Build: 23E224
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.10 (R2021a)
Image Processing Toolbox Version 11.3 (R2021a)
Parallel Computing Toolbox Version 7.4 (R2021a)
Statistics and Machine Learning Toolbox Version 12.1 (R2021a)
>>
I'd like to use JAABA for tracking my flies' behavior. But every time I StartJAABA I get this error message:
Error in JLabel>JLabel_OpeningFcn (line 70) myparse(varargin,...
Error in gui_mainfcn (line 220) feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});
Error in JLabel (line 35) [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
Error in StartJAABA (line 39) fig = JLabel('nthreads',nthreads);
As far as I know, Medical Imaging Toolbox is not needed. Please let me know how to fix this. Thank you!