Task #5378 (closed)
Opened 8 years ago
Closed 8 years ago
BUG: AttributeError: 'NoneType' object has no attr
| Reported by: | ajpatterson | Owned by: | atarkowska |
|---|---|---|---|
| Priority: | blocker | Milestone: | OMERO-Beta4.3 |
| Component: | Web | Version: | n.a. |
| Keywords: | n.a. | Cc: | |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | 0.0d |
| Sprint: | 2011-06-02 (13) |
Description
http://qa.openmicroscopy.org.uk/qa/feedback/3746/
Comment: Selecting date in callender.
Traceback (most recent call last):
File "/home/omero/OMERO.server-4.3.0-DEV-eec0eed9/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-eec0eed9/lib/python/omeroweb/webclient/views.py", line 158, in wrapped
return f(request, *args, **kwargs)
File "/home/omero/OMERO.server-4.3.0-DEV-eec0eed9/lib/python/omeroweb/webclient/views.py", line 2384, in load_history
controller.get_items(cal_type, page)
File "/home/omero/OMERO.server-4.3.0-DEV-eec0eed9/lib/python/omeroweb/webclient/controller/history.py", line 222, in get_items
obj_logs = self.conn.getDataByPeriod(start, end)
File "/home/omero/OMERO.server-4.3.0-DEV-eec0eed9/lib/python/omeroweb/webclient/webclient_gateway.py", line 1551, in getDataByPeriod
if not otype.lower() in ('project', 'dataset', 'image'):
AttributeError: 'NoneType' object has no attribute 'lower'
<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'sessionid': '43231ffa6f12ec69043ae9effd006011'},
META:{'DOCUMENT_ROOT': '/var/www',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html, */*',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'sessionid=43231ffa6f12ec69043ae9effd006011',
'HTTP_HOST': 'gretzky.openmicroscopy.org.uk',
'HTTP_REFERER': 'http://gretzky.openmicroscopy.org.uk/webclient/history/',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_7; en-us) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1',
'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
'PATH': '/usr/local/bin:/usr/bin:/bin',
'PATH_INFO': u'/webclient/load_history/2011/5/17/',
'PATH_TRANSLATED': '/var/www/omero.fcgi/webclient/load_history/2011/5/17/',
'QUERY_STRING': '',
'REMOTE_ADDR': '10.12.1.34',
'REMOTE_PORT': '55536',
'REQUEST_METHOD': 'GET',
'REQUEST_URI': '/webclient/load_history/2011/5/17/',
'SCRIPT_FILENAME': '/var/www/omero.fcgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '134.36.65.227',
'SERVER_ADMIN': 'webmaster@localhost',
'SERVER_NAME': 'gretzky.openmicroscopy.org.uk',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.2.14 (Ubuntu) Server at gretzky.openmicroscopy.org.uk Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.2.14 (Ubuntu)',
'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x7ffa4012a650>,
'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x7ffa4012a690>,
'wsgi.multiprocess': True,
'wsgi.multithread': False,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>
Change History (3)
comment:1 Changed 8 years ago by atarkowska
- Component changed from from QA to Web
- Milestone changed from Unscheduled to OMERO-Beta4.3
- Priority changed from minor to blocker
- Remaining Time set to 0.25
- Reporter changed from omero-qa to ajpatterson
- Sprint set to 2011-06-02 (13)
comment:2 Changed 8 years ago by atarkowska
- Status changed from new to accepted
comment:3 Changed 8 years ago by Aleksandra Tarkowska <aleksandrat@…>
- Remaining Time changed from 0.25 to 0
- Resolution set to fixed
- Status changed from accepted to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
(In [d608bd24d447d47af548f51a01cccf18b91cc931/ome.git] on branch develop) this fixes AttributeError?: 'NoneType?' object has no attribute 'lower', close #5378