Task #10217 (closed)
Bug: numpy import handling in Scripts
Reported by: | wmoore | Owned by: | wmoore |
---|---|---|---|
Priority: | major | Milestone: | OMERO-4.4.7 |
Component: | Scripting | Version: | n.a. |
Keywords: | n.a. | Cc: | jamoore |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | 2013-04-09 (7)) |
Description
Need to provide nicer feedback for scripts that import numpy when the import fails.
E.g. Channel_Offsets has
from numpy import zeros, hstack, vstack
Change History (4)
comment:1 Changed 11 years ago by jburel
- Sprint changed from 2013-02-12 (5) to 2013-03-12 (6))
comment:2 Changed 11 years ago by jburel
- Sprint changed from 2013-03-12 (6)) to 2013-04-09 (7))
Moved from sprint 2013-03-12 (6))
comment:3 Changed 11 years ago by wmoore
- Resolution set to fixed
- Status changed from new to closed
comment:4 Changed 11 years ago by wmoore
This is also an issue for PIL import in Figure Scripts. See https://www.openmicroscopy.org/qa2/qa/feedback/4962/
Caused by: omero.ValidationException serverStackTrace = "" serverExceptionClass = "" message = "Can't find params for 9. Stderr is in file 120 ---stderr--- Traceback (most recent call last): File "./script", line 39, in import omero.util.figureUtil as figUtil File "/usr/local/Cellar/omero/4.4.6/lib/python/omero/util/figureUtil.py", line 43, in import Image, ImageDraw, ImageFont # see ticket:2597 ImportError: No module named Image "
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Moved from sprint 2013-02-12 (5)