help > WFU PickAtlas - Error with saving report.
Showing 1-6 of 6 posts
Display:
Results per page:
Jan 17, 2014  06:01 PM | John Pellman
WFU PickAtlas - Error with saving report.
Hi NITRC!

I am currently using WFU PickAtlas 3.0 with SPM8 under MATLAB R2012A.  I have noticed that, while I am in the 'WFU_PickAtlas Results" window, I will occasionally (and somewhat inconsistently) be able to save reports.  For the times when I cannot save reports, the following error is produced in the MATLAB prompt:

Saving page 1 as Color PostScript in file /Users/reynaadmin/Desktop/BrainLabels.ps
17-Jan-2014 13:01:05 | ERROR | wfu_results_viewer.m | MException thrown. Stack follows:
17-Jan-2014 13:01:05 | ERROR | name | Line 0103: Cannot create output file '/Users/reynaadmin/Desktop/BrainLabels.ps'
17-Jan-2014 13:01:05 | ERROR | print | Line 0206
17-Jan-2014 13:01:05 | ERROR | saveReport | Line 0231
17-Jan-2014 13:01:05 | ERROR | File_Save_Report_Callback | Line 0491
17-Jan-2014 13:01:05 | ERROR | gui_mainfcn | Line 0096
17-Jan-2014 13:01:05 | ERROR | wfu_results_viewer | Line 0070
17-Jan-2014 13:01:05 | ERROR | @(hObject,eventdata)wfu_results_viewer('File_Save_Report_Callback',hObject,eventdata,guidata(hObject)) | Line 0000
17-Jan-2014 13:11:03 | FATAL | wfu_pickatlas.m | MException thrown. Stack follows:
17-Jan-2014 13:11:03 | FATAL | WorkingList_Callback | Line 0819: Attempted to access handles.WorkList(1); index out of bounds because numel(handles.WorkList)=0.
17-Jan-2014 13:11:03 | FATAL | wfu_pickatlas | Line 0110
17-Jan-2014 13:11:03 | FATAL | @(hObject,eventdata)wfu_pickatlas('WorkingList_Callback',hObject,eventdata,guidata(hObject)) | Line 0000

Is there anything that I might be doing incorrectly, or is there any specific part of the codebase that I could look into modifying to fix this?

Best,
John
Jan 17, 2014  07:01 PM | Benjamin Wagner - UT Southwestern Medical Center
RE: WFU PickAtlas - Error with saving report.
Hi John,
  There are two items in the log you provided.  I would assume the saving error is from the 13:01 timestamp.  The later one looks like a unexpected shutdown of the viewer or pickatlas.

Does the saving report happen on the same types of reports?  For example, is it always BrainLabels?

Ben
Jan 17, 2014  08:01 PM | John Pellman
RE: WFU PickAtlas - Error with saving report.
Hi Ben,

I have only been using BrainLabels, but have tried tweaking the report settings to determine if that is a factor at play.  With the files whose reports don't save, I haven't had any success saving BrainStatistics or using different atlases.  It appears as though the reports refuse to save regardless of what their content is.  The content is rendered correctly in the viewer, however.  I have also tried switching the file format of the exported file from PS to the other possible formats, with a similar error.

Many thanks,
John
Jan 22, 2014  06:01 PM | John Pellman
RE: WFU PickAtlas - Error with saving report.
Hi Ben!

I appear to have fixed the problem- it looks to be that the paths above a certain length (I simplified the path in the example error so that it would be shorter) were not being saved to, so I saved the PostScripts to a directory one level higher with success.

Many thanks for your aid once again,
John
Jan 22, 2014  07:01 PM | Benjamin Wagner - UT Southwestern Medical Center
RE: WFU PickAtlas - Error with saving report.
Thanks for letting me know.  I'm curious what the length of the file name was that you were trying to save.  Also, did it potentially have non-friendly characters (spaces for example) in it?

Ben
Jan 22, 2014  08:01 PM | John Pellman
RE: WFU PickAtlas - Error with saving report.
Hi again!

The path definitely had spaces, as well as a period in the middle of a directory name ('Spm.mat files').  The length of the path name without the file was 169 characters (a nice 13^2, although that's probably coincidence).  With the file name included it was 217 characters.

--John