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 #5187 (closed)

Opened 8 years ago

Closed 8 years ago

Insight: Exception handling for pyramid

Reported by: jburel Owned by: jburel
Priority: critical Milestone: OMERO-Beta4.3
Component: Insight Version: n.a.
Keywords: n.a. Cc: jamoore
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-05-19 (12)

Description (last modified by jburel)

Exception handling when the pyramid is not ready.

rps = sf.createRawPixelsStore()
try:
    rps.setPixelsId(1, False)
except omero.MissingPyramidException, mpe:
    log.info("Please try again later, perhaps in %s secs" % mpe.backOff / 1000)
you could equally just catch omero.ConcurrencyException, though I don't think any other can be thrown.

omero.LockTimeout
re.load()

Change History (3)

comment:1 Changed 8 years ago by jburel

  • Description modified (diff)

comment:2 Changed 8 years ago by jburel

  • Status changed from new to accepted

comment:3 Changed 8 years ago by jburel <j.burel@…>

  • Remaining Time changed from 0.4 to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

(In [e52b9541ba4b9a6b424f805583ac7857c9355629/ome.git] on branch develop) Handle exception when user tries to open a big image
and the pyramid is not ready yet. (close #5187)

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.87287 sec.)

We're Hiring!