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

Opened 13 years ago

Closed 13 years ago

BUG: Corrupt ROI shapes.

Reported by: wmoore Owned by: wmoore
Priority: major Milestone: OMERO-Beta4.3
Component: Web Version: n.a.
Keywords: n.a. Cc: cblackburn
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2011-05-19 (12)

Description

By propagating and removing shapes from an ROI, it seems possible to produce shape == None when doing

for shape in roi.copyShapes:

Can't reproduce this yet!

ROIs fail to display in web - this needs fixing at least.

Traceback (most recent call last):

  File "/home/omero/OMERO.server-4.3.0-DEV-5b18a0e8/lib/python/django/core/handlers/base.py", line 92, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/home/omero/OMERO.server-4.3.0-DEV-5b18a0e8/lib/python/omeroweb/webgateway/views.py", line 1564, in get_rois_json
    shape['id'] = s.getId().getValue()

AttributeError: 'NoneType' object has no attribute 'getId'

Change History (2)

comment:1 Changed 13 years ago by Will Moore <will@…>

(In [6962311b62a6ab38e3ad56e242e64d9793a1e9df/ome.git] on branch develop) Small fix to handle corrupted ROI shapes in web ROI viewer. See #5334

comment:2 Changed 13 years ago by wmoore

  • Resolution set to fixed
  • Status changed from new to closed
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.69079 sec.)

We're Hiring!