Task #11010 (closed)
Opened 11 years ago
Closed 11 years ago
Provide rebuild script for synchronising OMERO.searcher image feature tables and the ContentDB
Reported by: | spli | Owned by: | spli |
---|---|---|---|
Priority: | minor | Milestone: | 5.0.0-beta1 |
Component: | Scripting | Version: | n.a. |
Keywords: | searcher | Cc: | analysis@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | FS demo 4.4 |
Description
Features are currently stored in two places, if they become desynchronised OMERO.searcher breaks, see #10973.
Temporary workaround: create a script which rebuilds the ContentDB from the per-image feature tables.
Change History (7)
comment:1 Changed 11 years ago by spli
comment:2 Changed 11 years ago by spli
- Resolution set to fixed
- Status changed from new to closed
comment:3 Changed 11 years ago by spli
- Resolution fixed deleted
- Status changed from closed to reopened
Discovered a bug when no features are present.
comment:4 Changed 11 years ago by spli
- Milestone changed from Unscheduled to OMERO-5
- Sprint set to FS demo 4.x
comment:5 Changed 11 years ago by spli
Also this sometimes appears:
Traceback (most recent call last): File "./script", line 202, in <module> runScript() File "./script", line 190, in runScript message += processImages(client, scriptParams) + '\n' File "./script", line 146, in processImages m = imageFeatures(conn, im, ftset, cdbs) File "./script", line 62, in imageFeatures tab = pyslid.features.get(conn, 'vector', iid, set=ftset) File "/Users/simon/install/python-libs/pyslid/features.py", line 522, in get values = table.read( range(len(table.getHeaders())), 0,table.getNumberOfRows() ); AttributeError: 'NoneType' object has no attribute 'read'
comment:6 Changed 11 years ago by spli
- Sprint changed from FS demo 4.x to FS demo 4.4
comment:7 Changed 11 years ago by spli
- Resolution set to fixed
- Status changed from reopened to closed
Script fixed in https://github.com/openmicroscopy/omero_searcher/pull/6
Note the error in the previous comment is unrelated (seems to be an ice or connection issue).
Script added in https://github.com/openmicroscopy/omero_searcher/pull/4