Problem opening images from properties file


Oh, the errors related to

... filename = '/imaging/analysis/CruiseControl/artifacts/CPAnalyst' strerror = 'No such file or directory'
are not your fault, but our internal network here at the Broad. We and IT are working on it - try again later today.


#5 should be working now (though it takes a minute to refresh).


Thanks, it worked now.
However, I installed the version r20140401184343 (hope I got all the numbers right) and still have the same problem when trying to open images from CPA:

An error occurred in the program:
ValueError: not a valid TIFF file

Traceback (most recent call last):
File “platemappanel.pyc”, line 470, in handler
File “imagetools.pyc”, line 61, in ShowImage
File “imagetools.pyc”, line 52, in FetchImage
File “imagereader.pyc”, line 38, in ReadImages
File “imagereader.pyc”, line 140, in read_images_old_way
File “imagereader.pyc”, line 217, in ReadBitmap
File “imagereader.pyc”, line 335, in ReadBitmapViaTIFFfile
File “tifffile.pyc”, line 143, in init
File “tifffile.pyc”, line 162, in _fromfile


any suggestion on how to solve this issue?


Hello, me again.
I have found a workaround for the “TIFF issue”: basically I exported the raw images of the 96 wells plate into TIFFS and used these in CP. The analysis looks good AND now I can open corresponding images in CPA either by selecting images from a defined well or using the classifier function. So far, so good…

There is still something I’m struggling with: in the Export to Database module I have checked the option to “save thumbnails directly in the database” so that I can do without all the Overlay Outlines and Save Images modules that you can see in the CP project I sent in my first post (at least I think this is the overall sense of writing thumbnails in the Database directly…). Now, in CPA, if I click on a well in the PlateViewer module I can see the “show thumbnail montage” option, however if I click on it I have…yet another error message that goes like this:

An error occurred in the program:
IndexError: list index out of range

Traceback (most recent call last):
File “platemappanel.pyc”, line 465, in
File “platemappanel.pyc”, line 496, in show_thumbnail_montage
File “imagetools.pyc”, line 121, in MergeToBitmap
File “imagetools.pyc”, line 165, in MergeChannels

Am I doing something wrong? is there another way to access the thumbnails I saved in the Database?

Thanks again



Hi Matteo,

If you are still having issues, would you mind posting your properties file here?
BUT please note that the thumbnails do not replace the functionality of the raw images or saved outlines, but rather just add to the functionality. To do classification, e.g. you will need the full, raw images at the very least, and possibly need the saved outlines.



Hi David,

I think I got to the same conclusion yesterday so I opted back for the Overlay/Save option in my pipeline. I found that if I save the images on the local disk and then transfer them later on our server I save lots of time for the analysis…

Looks like I can’t upload the properties file: “The extension properties is not allowed”

Never mind I think I’ll go back to my original setup (unless you still want to see the properties file to correct any possible bug in the software…)

Thanks anyway!



Sounds good. If you zip your properties file, it will upload. I’m happy to take a look since others have noted this error too, though I suspect it is a configuration issue or maybe a non-grayscale image that is causing it.



Here you go!

Matteo (2.73 KB)


Hi Matteo,

So my current thought (unproven!) is that the entry ‘image_thumbnail_cols’ can only take grayscale images. Are any of your Outlines images here color?

It may be that the “MergeChannels” request is assuming multiple grayscale images, rather than multiple color images (or some combination). I am pretty sure that was our assumption when coding this, but obviously was not the only input type. I haven’t tested or dug through the code in any depth though.

If so, and you want to test this – can you try making them grayscale, perhaps by changing the colors in OverlayOutlines and/or SaveImages white, or using a grayscale colormap?



Hi David,

Thanks for the input! Indeed I have all my outlines as green lines in the OverlayOutlines module 'cause it’s easier to see them once I overlay them onto grayscale images.
I can definitely give it a try and set them to greyscale to see what happens!

I’ll do that and let you know!




…unfortunately that was not the issue…
I got the same error message



OK thanks for testing. It may be that there is a (non-explicit) limit on the number of channels for the outlines. I would
(1) Ensure that the number of entries in “image_channel_colors” matches the number of entries in “image_thumbnail_cols”
(2) If the above doesn’t help, then try sequentially reducing the number of entries in the above settings (and restarting CPA) and see if there is a practical limit.

Sorry for the empirical nature of this, but we a re a little short staffed on software engineers (though we are in the process of hiring another soon, whew).




I’ll give it a try once again and let you know, happy to help if it’s a problem that other users are encountering!

I’ve just launched an analysis on quite a number of 96 well plates so I will be able to test only when it’s finished…




Hi Matteo,

Did you ever figure this out?



has any body find solution yet ??


Unfortunately not…I did test the solution suggested but did not work


Matteo Bonazzi, PhD
Cell Biology of Bacterial Infections
1919 Route de Mende
34293 Montpellier
Tel : 33 (0) 434359459
Fax : 33 (0) 434359414


You can all try new builds of CPA here: There is much new functionality too! Let us know how it goes.


Good day! I’m new in Cell Profiler and unfortunately I have this problem similar to Matt.
I downloaded and install CPA Ver. 2.0 and my PC operating system is Windows 10.
Please help me with this problem. Thank you.

Cat Sitting


We’d need a lot more information to help diagnose your problem; can you start a new thread after taking a look at our list of things we ask you to include in a help request?

Also, I’d try the new version 2.2.1 before doing anything else; it’s been substantially upgraded and you may find your problem is already fixed.