Task #3196 (closed)
Opened 9 years ago
Closed 9 years ago
Bug: failure on clicking "No image" icon
| Reported by: | jamoore | Owned by: | atarkowska |
|---|---|---|---|
| Priority: | minor | Milestone: | OMERO-Beta4.2.1 |
| Component: | Web | Version: | n.a. |
| Keywords: | n.a. | Cc: | cneves |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | 0.0d |
| Sprint: | 2010-11-11 (19) |
Description
Traceback (most recent call last):
File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/django/core/handlers/base.py", line 92, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omeroweb/webclient/views.py", line 185, in wrapped
return f(request, *args, **kwargs)
File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omeroweb/webclient/views.py", line 888, in load_metadata_details
for ch in manager.channel_metadata:
TypeError: 'NoneType' object is not iterable
<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'COOKIE_SUPPORT': 'true',
'GUEST_LANGUAGE_ID': 'en_US',
'JSESSIONID': 'tscgdd9gumgr',
'hudson_auto_refresh': 'true',
'screenResolution': '1680x1050',
'sessionid': '21f01ae9746c59877584382a35c0b5d7'},
...
'wsgi.errors': <open file '<stderr>', mode 'w' at 0x10024c1e0>,
'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>,
'wsgi.input': <socket._fileobject object at 0x103075b50>,
'wsgi.multiprocess': False,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>
Attachments (1)
Change History (10)
comment:1 Changed 9 years ago by jmoore
comment:2 Changed 9 years ago by atarkowska
Could you please send me exactly the image failed for you. I've checked with broken image and cannot reproduce it.
comment:3 Changed 9 years ago by atarkowska
- Status changed from new to assigned
comment:4 Changed 9 years ago by jmoore
Here were my steps:
- click on "Search"
- enter "image*"
- this returns ~100 images on my machine
- scroll down to one with "No image" symbol (at the bottom)
- click on image name
- right panel opens with error (see attachment)
- this happens for all four images with "No image"
Changed 9 years ago by jmoore
comment:5 Changed 9 years ago by jmoore
Most likely all of these are images without pixels:
OMERO4.2__0=# select * from image where id = 31959; id | acquisitiondate | archived | description | permissions | name | partial | version | creation_id | external_id | group_id | owner_id | update_id | experiment | format | imagingenvironment | instrument | objectivesettings | stagelabel -------+---------------------+----------+-------------+-------------+---------------------------------------------------+---------+---------+-------------+-------------+----------+----------+-----------+------------+--------+--------------------+------------+-------------------+------------ 31959 | 1970-01-01 01:00:00 | | | -103 | test1071-im2-f75363c9-d6a0-4315-885c-a51b78d50691 | | | 203693 | | 0 | 0 | 203693 | | | | | | (1 row) OMERO4.2__0=# select * from pixels where image = 31959; id | permissions | methodology | physicalsizex | physicalsizey | physicalsizez | sha1 | sizec | sizet | sizex | sizey | sizez | timeincrement | version | waveincrement | wavestart | creation_id | external_id | group_id | owner_id | update_id | dimensionorder | image | pixelstype | relatedto | image_index | path | name | repo | params ----+-------------+-------------+---------------+---------------+---------------+------+-------+-------+-------+-------+-------+---------------+---------+---------------+-----------+-------------+-------------+----------+----------+-----------+----------------+-------+------------+-----------+-------------+------+------+------+-------- (0 rows)
It'd be optimal if I could easily delete them.
comment:6 Changed 9 years ago by jmoore
- Cc cneves-x added
Note also:
from "Home" clicking on the "No image" opens up the full viewer which hangs with "Loading...". Perhaps the viewer could be disabled on "No image" images?
Also, in OMEROWeb.log I see,
Wed, 27 Oct 2010 19:11:26 views-feedback ERROR handler404: Page not found
Wed, 27 Oct 2010 19:11:26 views-feedback ERROR Traceback (most recent call last):
File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/django/core/handlers/base.py", line 83, in get_response
request.path_info)
File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/django/core/urlresolvers.py", line 233, in resolve
raise Resolver404, {'tried': tried, 'path': new_path}
Resolver404: {'path': u'webc
comment:7 Changed 9 years ago by atarkowska
How long did you wait for viewer to load? In my case viewer shows 'Error loading image!'. I suspect the failing image is image created by test. Could you please point me to the script I need to run to generate them? I got some broken images and cannot reproduce it.
comment:8 Changed 9 years ago by jburel
- Sprint changed from 2010-10-28 (18) to 2010-11-11 (19)
Moved from sprint 2010-10-28 (18)
comment:9 Changed 9 years ago by atarkowska
- Remaining Time set to 0
- Resolution set to fixed
- Status changed from assigned to closed
Page: http://localhost:8000/webclient/search/
Ajax call: [27/Oct/2010 16:22:48] "GET /webclient/metadata_details/image/34322/ HTTP/1.1" 200 12558