Task #5188 (closed)
Opened 8 years ago
Closed 8 years ago
Web: Exception handling for pyramid
| Reported by: | jburel | Owned by: | |
|---|---|---|---|
| Priority: | critical | Milestone: | OMERO-Beta4.3 |
| Component: | Web | Version: | n.a. |
| Keywords: | n.a. | Cc: | atarkowska, wmoore, jamoore |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | 2011-06-02 (13) |
Description (last modified by atarkowska)
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 (4)
comment:1 Changed 8 years ago by atarkowska
- Description modified (diff)
comment:2 Changed 8 years ago by atarkowska
- Description modified (diff)
comment:3 Changed 8 years ago by jburel
- Sprint changed from 2011-05-19 (12) to 2011-06-02 (13)
comment:4 Changed 8 years ago by atarkowska
- Resolution set to duplicate
- Status changed from new to closed
this was fixed in #5539
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Moved from sprint 2011-05-19 (12)