kristinbranson / APT

Animal Part Tracker
GNU General Public License v3.0
71 stars 16 forks source link

cmd errors when tracking movies external to project #345

Closed arobie closed 3 years ago

arobie commented 3 years ago

Used lObj.tracker.track to track movies external to the project and it seemed to be trying and failing to load the partial trk files?

Warning: Could not read n. frames tracked from /groups/branson/home/robiea/Projects_data/Labeler_APT/socialCsChr_JRC_SS36551_CsChrimson_RigB_20190910T160839/movie_multitarget_bubble_20200811_MDN20201112_40K_mdn.trk.part: Error using fgets Invalid file identifier. Use fopen to generate a valid file identifier.

Error in fgetl (line 32) [tline,lt] = fgets(fid);

Error in readtxtfile (line 8) tline = fgetl(fh);

Error in TrkFile.getNFramesTrackedPartFile (line 705) s = readtxtfile(tfile);

Error in TrkFile.getNFramesTracked (line 761) [nFramesTracked,didload] = TrkFile.getNFramesTrackedPartFile(tfile);

Error in TrackMonitorViz/resultsReceived (line 270) [obj.nFramesTracked(ijob),didload] = TrkFile.getNFramesTracked(tfile);

Error in BgMonitor/bgResultsReceived (line 155) [tfSucc,msg] = obj.monitorObj.resultsReceived(sRes);

Error in BgMonitor>@(varargin)obj.bgResultsReceived(varargin{:}) (line 129) cbkResult = @obj.bgResultsReceived;

Error in BGClient/afterEachContinuous (line 201) obj.cbkResult(dat);

Error in BGClient>@(dat)obj.afterEachContinuous(dat) (line 97) queue.afterEach(@(dat)obj.afterEachContinuous(dat));

Error in parallel.pool.DataQueue>iDispatchDataReceived (line 240) feval(func, evtData.ReceivedData);

Error in parallel.pool.DataQueue>@(src,event)iDispatchDataReceived(func,src,event) (line 220) listener = event.listener(obj, 'AfterEachTrigger', @(src, event) iDispatchDataReceived(func, src, event));

Error in parallel.pool.DataQueue/dispatchContinuation (line 233) obj.notify('AfterEachTrigger', evtData);

Error in parallel.pool.DataQueue/maybeDrainAndDispatchAllDataOnQueue (line 198) obj.dispatchContinuation(message);

Error in parallel.internal.pool.AbstractDataQueue.notifyQueue (line 243) obj.maybeDrainAndDispatchAllDataOnQueue();

In TrkFile.getNFramesTracked (line 763) In TrackMonitorViz/resultsReceived (line 270) In BgMonitor/bgResultsReceived (line 155) In BgMonitor>@(varargin)obj.bgResultsReceived(varargin{:}) (line 129) In BGClient/afterEachContinuous (line 201) In BGClient>@(dat)obj.afterEachContinuous(dat) (line 97) In parallel.pool.DataQueue>iDispatchDataReceived (line 240) In parallel.pool.DataQueue>@(src,event)iDispatchDataReceived(func,src,event) (line 220) In parallel.pool.DataQueue/dispatchContinuation (line 233) In parallel.pool.DataQueue/maybeDrainAndDispatchAllDataOnQueue (line 198) In parallel.internal.pool.AbstractDataQueue.notifyQueue (line 243) try 1, variables in /groups/branson/home/robiea/Projects_data/Labeler_APT/Austin_labelerprojects_expandedbehaviors/GT/withGenotypeData/socialCsChr_GMR_71G01_AE_01_CsChrimson_RigC_20191114T165051/movie_multitarget_bubble_20200811_MDN20201112_40K_mdn.trk.part: matlab.io.MatFile

Properties: Properties.Source: '/groups/branson/home/robiea/Projects_data/Labeler_APT/Austin_labelerprojects_expandedbehaviors/GT/withGenotypeData/socialCsChr_GMR_71G01_AE_01_CsChrimson_RigC_20191114T165051/movie_multitarget_bubble_20200811_MDN20201112_40K_mdn.trk.part' Properties.Writable: true

Methods

try 2, variables in /groups/branson/home/robiea/Projects_data/Labeler_APT/Austin_labelerprojects_expandedbehaviors/GT/withGenotypeData/socialCsChr_GMR_71G01_AE_01_CsChrimson_RigC_20191114T165051/movie_multitarget_bubble_20200811_MDN20201112_40K_mdn.trk.part: matlab.io.MatFile

Properties: Properties.Source: '/groups/branson/home/robiea/Projects_data/Labeler_APT/Austin_labelerprojects_expandedbehaviors/GT/withGenotypeData/socialCsChr_GMR_71G01_AE_01_CsChrimson_RigC_20191114T165051/movie_multitarget_bubble_20200811_MDN20201112_40K_mdn.trk.part' Properties.Writable: true

Methods

try 3, variables in /groups/branson/home/robiea/Projects_data/Labeler_APT/Austin_labelerprojects_expandedbehaviors/GT/withGenotypeData/socialCsChr_GMR_71G01_AE_01_CsChrimson_RigC_20191114T165051/movie_multitarget_bubble_20200811_MDN20201112_40K_mdn.trk.part: matlab.io.MatFile

Properties: Properties.Source: '/groups/branson/home/robiea/Projects_data/Labeler_APT/Austin_labelerprojects_expandedbehaviors/GT/withGenotypeData/socialCsChr_GMR_71G01_AE_01_CsChrimson_RigC_20191114T165051/movie_multitarget_bubble_20200811_MDN20201112_40K_mdn.trk.part' Properties.Writable: true

Methods

try 4, variables in /groups/branson/home/robiea/Projects_data/Labeler_APT/Austin_labelerprojects_expandedbehaviors/GT/withGenotypeData/socialCsChr_GMR_71G01_AE_01_CsChrimson_RigC_20191114T165051/movie_multitarget_bubble_20200811_MDN20201112_40K_mdn.trk.part: matlab.io.MatFile

Properties: Properties.Source: '/groups/branson/home/robiea/Projects_data/Labeler_APT/Austin_labelerprojects_expandedbehaviors/GT/withGenotypeData/socialCsChr_GMR_71G01_AE_01_CsChrimson_RigC_20191114T165051/movie_multitarget_bubble_20200811_MDN20201112_40K_mdn.trk.part' Properties.Writable: true

Methods

try 5, variables in /groups/branson/home/robiea/Projects_data/Labeler_APT/Austin_labelerprojects_expandedbehaviors/GT/withGenotypeData/socialCsChr_GMR_71G01_AE_01_CsChrimson_RigC_20191114T165051/movie_multitarget_bubble_20200811_MDN20201112_40K_mdn.trk.part: matlab.io.MatFile

Properties: Properties.Source: '/groups/branson/home/robiea/Projects_data/Labeler_APT/Austin_labelerprojects_expandedbehaviors/GT/withGenotypeData/socialCsChr_GMR_71G01_AE_01_CsChrimson_RigC_20191114T165051/movie_multitarget_bubble_20200811_MDN20201112_40K_mdn.trk.part' Properties.Writable: true

allenleetc commented 3 years ago

Which backend were you running with here? Will try to reproduce

arobie commented 3 years ago

jrc

arobie commented 3 years ago

tracking a few more now, i restarted APT in between so i'll let you know it reproduces for me

allenleetc commented 3 years ago

Guessing this went away? Please re-open as necessary.