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.
- Timestamp:
-
05/27/11 16:38:18 (13 years ago)
- Author:
-
wmoore
- Comment:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
-
-
Property
Priority
changed from
minor
to
critical
-
Property
Sprint
changed from
to
2011-06-02 (13)
-
initial
|
v3
|
|
14 | 14 | }}} |
15 | 15 | |
| 16 | Need to handle renderingEngine.load() which is called in _prepareRE which is called by _prepareRenderingEngineused in the decorator |
| 17 | {{{ |
| 18 | @assert_re |
| 19 | }}} |
| 20 | which is used by the following methods |
| 21 | |
| 22 | * saveDefaults () |
| 23 | * getDefaultT() & getDefaultZ() |
| 24 | * getT() & getZ() Not sure why re is needed here? |
| 25 | * renderColLinePlotGif() & renderRowLinePlotGif() Not sure why re is needed here? |
| 26 | * createMovie() |
| 27 | * renderJpeg() |
| 28 | * renderJpegRegion() |
| 29 | * getRenderingModel() |
| 30 | * getRenderingModels() |
| 31 | * getChannels() |
| 32 | * _getProjectedThumbnail () |
| 33 | |
| 34 | Currently, if re.load() throws a MissingPyramidException, it is thrown by _prepareRE but eaten by _prepareRenderingEngine() and image._re is simply None. E.g leading to errors like: |
| 35 | |
| 36 | {{{ |
| 37 | ("error in call","Traceback (most recent call last): |
| 38 | File "/Users/will/Desktop/OMERO/components/tools/OmeroWeb/omeroweb/../omeroweb/webgateway/views.py", line 917, in wrap |
| 39 | rv = f(request, *args, **kwargs) |
| 40 | File "/Users/will/Desktop/OMERO/components/tools/OmeroWeb/omeroweb/../omeroweb/webgateway/views.py", line 1119, in imageData_json |
| 41 | rv = imageMarshal(image, key) |
| 42 | File "/Users/will/Desktop/OMERO/components/tools/OmeroWeb/omeroweb/../omeroweb/webgateway/views.py", line 1043, in imageMarshal |
| 43 | tiles = image._re.requiresPixelsPyramid() |
| 44 | AttributeError: 'NoneType' object has no attribute 'requiresPixelsPyramid' |
| 45 | ") |
| 46 | }}} |
| 47 | |
| 48 | |
16 | 49 | See #5534 for Insight ticket |
1.3.13-PRO © 2008-2011
Agilo Software all
rights reserved
(this page was served in: 0.13314 sec.)