Report a bug #360
Jobs fail when subimages of LIF file contain two consecutive blanks
|Status:||Wait For Feedback||Start date:||2015-02-17|
|Target version:||HRM Development - 4.0.0|
Dear HRM developers,
Deconvolution jobs fail when I supply a LIF file with subimages that have two consecutive blanks in the name. The error message is as follows:
Error: failed task 0: ReportErrorAndExit: fatal error: Failed to open /local/data/huygens_data/uhrigs/src/subimages_with_two_blanks.lif for original, got Error: command img_open: Failed to open file.Error: Failed to open file.
I tracked the issue down to select_images.php. I believe it collapses two consecutive spaces to one: In the list "Selected Images" it already shows only one blank. If I modify the job script (.hgsp file in the upload folder) to correctly reflect the two blanks, then the job runs fine.
If you want me to supply a sample file, just ask. But the error is fairly easy to reproduce.
#1 Updated by Niko about 5 years ago
- Status changed from New to Wait For Feedback
- Assignee set to Daniel
this sounds exactly like bug #230 that was supposed to be fixed in 3.2.0 - could you confirm which version of the HRM you are running?
As far as I can see Daniel made the fixes back then, maybe you could have a look at the history of this file together?
#2 Updated by Sebastian about 5 years ago
We are using version 3.2.1. But I recently had a similar issue with blanks in file names on the file selector page (see bug #342). Daniel gave me a patch for this. Maybe this introduced a regression?
I cannot find a bug with #230, but if you are referring to this change: https://github.com/aarpon/hrm/commit/7de1fd0301becbf2ef6b2816b3962bd4d4d2bd10
then, I agree my bug report does sound very much the same.
#7 Updated by Aaron about 3 years ago
- Target version changed from 3.4.0 to 4.0.0