Page 1 of 1
hotline go boom....
Posted: Fri Jul 09, 2010 5:42 pm
by Point
"The website you were trying to reach is temporarily unavailable."
"The server you are trying to reach is jacked up go outside and play"
Re: hotline go boom....
Posted: Fri Jul 09, 2010 6:59 pm
by Point
Please check back soon.
If you are the owner of this website, please log in for additional
information or contact us as soon as possible.
Re: hotline go boom....
Posted: Fri Jul 09, 2010 8:37 pm
by Death's Avatar
We're aware, thanks.
Fixed: Stupid.
Re: hotline go boom....
Posted: Fri Jul 09, 2010 8:51 pm
by Point
ya i know you guys know ... just sparing peeps trying to log on for the 15th time ...
Good luck and keep up the good work...
Re: hotline go boom....
Posted: Thu Jul 15, 2010 12:33 am
by capital
My code encountered an unhandled exception in the foofile-IO Database. Doobie has kindly reprogrammed a catch.
Code: Select all
function d_in = read_image(foofilename)
[path name ext] = fileparts(foofilename);
try
fid = fopen(foofilename, 'r');
d_in = fread(fid);
catch ME1
% Get last segment of the error message identifier.
idSegLast = regexp(ME1.identifier, '(?<=:)\w+$', 'match');
% Did the read fail because the file could not be found?
if strcmp(idSegLast, 'InvalidFid') && ...
~exist(filename, 'file')
% Yes. Try modifying the foofilename extension.
switch ext
case '.jpg' % Change jpg to jpeg
filename = strrep(filename, '.jpg', '.jpeg')
case '.jpeg' % Change jpeg to jpg
filename = strrep(filename, '.jpeg', '.jpg')
case '.tif' % Change tif to tiff
filename = strrep(filename, '.tif', '.tiff')
case '.tiff' % Change tiff to tif
filename = strrep(filename, '.tiff', '.tif')
otherwise
fprintf('File %s not found\n', filename);
rethrow(ME1);
end
% Try again, with modifed filenames.
try
fid = fopen(filename, 'r');
d_in = fread(fid);
catch ME2
fprintf('Unable to access file %s\n', filename);
ME2 = addCause(ME2, ME1);
rethrow(ME2)
end
end
end