Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #11000 (closed)

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

Bug: MIF chgrp GraphConstraintExceptions

Reported by: wmoore Owned by: jamoore
Priority: blocker Milestone: 5.0.0-beta1
Component: General Version: n.a.
Keywords: n.a. Cc: fs@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: n.a.

Description

On today's gretzky build, chgrp on a Dataset containing a complete 3-image MIF gives stack trace below for /home/omero/fresh_import/test_images_good/hamamatsu-vms/openslide/CMU-1/CMU-1-40x - 2010-01-12 13.24.05.vms

STEP ERR stacktrace: ome.services.graphs.GraphConstraintException(message=FileAnnotation:47 improperly linked by 1 objects
at ome.services.graphs.GraphStep.graphValidation(GraphStep.java:407)
at ome.services.chgrp.ChgrpStep.action(ChgrpStep.java:98)
at ome.services.graphs.GraphState.execute(GraphState.java:351)
at omero.cmd.graphs.ChgrpI.step(ChgrpI.java:157)
at omero.cmd.basic.DoAllI$X.step(DoAllI.java:107)
at omero.cmd.basic.DoAllI.step(DoAllI.java:319)
...
, message: , GraphConstraintException: true, step: 36, id: 3

Moving 2 images from a MIF: test_images_good/zeiss-lsm-martin/051215-j-tf.mdb [01-01]

STEP ERR stacktrace: ome.services.graphs.GraphConstraintException(message=Image:1153 improperly links to 1 objects
at ome.services.chgrp.ChgrpValidation.action(ChgrpValidation.java:106)
at ome.services.graphs.GraphState.execute(GraphState.java:351)
at omero.cmd.graphs.ChgrpI.step(ChgrpI.java:157)
at omero.cmd.basic.DoAllI$X.step(DoAllI.java:107)
at omero.cmd.basic.DoAllI.step(DoAllI.java:319)
at omero.cmd.HandleI.steps(HandleI.java:435)
at omero.cmd.HandleI$1.doWork(HandleI.java:365)
at omero.cmd.HandleI$1.doWork(HandleI.java:363)
at sun.reflect.GeneratedMethodAccessor238.invoke(Unknown Source)
...
, message: , GraphConstraintException: true, step: 694, id: 284

Change History (3)

comment:1 Changed 11 years ago by jamoore

  • Resolution set to fixed
  • Status changed from new to closed

comment:2 Changed 11 years ago by jmoore <josh@…>

  • Remaining Time set to 0

(In [a762f7043aabb16a80c301e649852e6f69327473/ome.git] on branch develop) Activate REAP logic on all tables (Fix #11000)

Since REAP was not being properly passed down the
tree of GraphSteps?, this commit considers any row
that is to be re-checked (i.e. is present in the
reapTableIds map) to be SOFT. In other words, a
failure for a row that will be processed again
later on does not constitute a hard failure.

Note: this is not necessarily strictly valid in
all cases. A row is in 2 separate subtrees, then
really it should be checked if the entire subtree
is to be re-checked. That logic may have to wait
for a revamp of the ome.services.graph package.

Tested via CMU-1 and openmicroscopy/bioformats#536

comment:3 Changed 11 years ago by jmoore <josh@…>

(In [79b90c07085dc9fe5066ed20a56d8020b9871e66/ome.git] on branch develop) Passing test in chgrp.py (See #11000)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.63732 sec.)

We're Hiring!