MB-System is an open source software package for the processing and display of bathymetry and backscatter imagery data derived from multibeam, interferometry, and sidescan sonars.
Describe the bug
mbedit and mbnavedit don't handle input file format errors in a useful way. E.g. when specifying an ascii file named "junkFIle" on the command line:
mbedit -I junkFile : dialog says "Unable to open input file. You may not have permission in this directory!"
(stderr message is more useful: "Illegal format identifier, initialization failed")
mbnavedit -I junkFile: main app window is blank, with no error dialog or stderr message
To Reproduce
Create a small ascii file, e.g. named 'junk'. Provide junk as an input file to mbedit and mbnavedit.
Expected behavior
An error dialog message should appear, with appropriate message (e.g. "unreadable data in file 'junk'")
Describe the bug mbedit and mbnavedit don't handle input file format errors in a useful way. E.g. when specifying an ascii file named "junkFIle" on the command line:
mbedit -I junkFile : dialog says "Unable to open input file. You may not have permission in this directory!" (stderr message is more useful: "Illegal format identifier, initialization failed")
mbnavedit -I junkFile: main app window is blank, with no error dialog or stderr message
To Reproduce Create a small ascii file, e.g. named 'junk'. Provide junk as an input file to mbedit and mbnavedit.
Expected behavior An error dialog message should appear, with appropriate message (e.g. "unreadable data in file 'junk'")