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 #11179 (new)

Opened 6 years ago

Last modified 4 years ago

BUG: 'NoneType' object has no attribute 'read'

Reported by: omero-qa Owned by: spli
Priority: minor Milestone: Unscheduled
Component: from QA Version: 4.4.9
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

https://www.openmicroscopy.org/qa2/qa2/qa/feedback/7370/

Comment: Testing with Simon

Traceback (most recent call last):

  File "/opt/omero/server/lib/python/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/opt/omero/server/lib/python/omeroweb/decorators.py", line 377, in wrapped
    retval = f(request, *args, **kwargs)

  File "/opt/omero/server/lib/python/omeroweb/decorators.py", line 414, in wrapper
    context = f(request, *args, **kwargs)

  File "/opt/omero/server/lib/python/omeroweb/omero_searcher/views.py", line 507, in contentsearch
    available = listAvailableCZTS(conn, i, str(fset))

  File "/opt/omero/server/lib/python/omeroweb/omero_searcher/views.py", line 262, in listAvailableCZTS
    conn, 'vector', imageId, set=ftset)

  File "/usr/lib/python2.6/site-packages/pyslid/features.py", line 535, in get
    values = table.read( range(len(table.getHeaders())), 0,table.getNumberOfRows() );

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


<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {u'posNeg-1395.0.0.25.0': [u'pos'], u'limit_channelidxs': [u'0', u'1', u'2', u'3', u'4', u'5', u'6', u'7', u'8', u'9'], u'posNeg-1397.0.0.25.0': [u'pos'], u'limit_datasets': [u'156', u'157', u'158', u'159', u'160', u'152', u'153', u'154', u'155', u'135', u'137', u'140', u'133', u'104', u'105', u'106', u'107', u'108', u'109', u'110', u'111', u'112', u'113', u'114', u'115', u'116', u'117', u'118', u'119', u'120', u'121', u'125', u'126', u'127', u'128', u'129', u'130', u'131', u'132', u'143', u'144', u'145', u'138', u'134', u'142', u'139', u'141', u'136'], u'posNeg-1403.0.0.25.0': [u'pos'], u'posNeg-1402.0.0.25.0': [u'pos'], u'posNeg-1399.0.0.25.0': [u'pos'], u'enable_filters': [u'enable'], u'posNeg-1398.0.0.25.0': [u'pos'], u'limit_channelnames': [u'457', u'528', u'617', u'685', u'CY-5', u'DAPI', u'FITC', u'RD-TR-PE'], u'posNeg-1401.0.0.25.0': [u'pos'], u'NumRetrieve': [u'100'], u'limit_users': [u'103', u'104', u'105', u'11', u'106'], u'featureset_Name': [u'slf33'], u'superIds': [u'1403.0.0.25.0', u'1402.0.0.25.0', u'1401.0.0.25.0', u'1399.0.0.25.0', u'1398.0.0.25.0', u'1397.0.0.25.0', u'1395.0.0.25.0']}>,
COOKIES:{'sessionid': 'a8178d603e6de35188d487efd1f02c1c'},
META:{'CONTENT_LENGTH': '1778',
 'CONTENT_TYPE': 'application/x-www-form-urlencoded; charset=UTF-8',
 'DOCUMENT_ROOT': '/var/www/html',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTP_ACCEPT': '*/*',
 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',
 'HTTP_CACHE_CONTROL': 'no-cache',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'sessionid=a8178d603e6de35188d487efd1f02c1c',
 'HTTP_HOST': 'ome-analysis-01.openmicroscopy.org.uk',
 'HTTP_PRAGMA': 'no-cache',
 'HTTP_REFERER': 'http://ome-analysis-01.openmicroscopy.org.uk/omero/omero_searcher/searchpage/',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:21.0) Gecko/20100101 Firefox/21.0',
 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
 'PATH': '/sbin:/usr/sbin:/bin:/usr/bin',
 'PATH_INFO': u'/omero_searcher/contentsearch/',
 'PATH_TRANSLATED': '/var/www/html/omero_searcher/contentsearch/',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '10.34.1.139',
 'REMOTE_PORT': '50260',
 'REQUEST_METHOD': 'POST',
 'REQUEST_URI': '/omero/omero_searcher/contentsearch/',
 'SCRIPT_FILENAME': '/opt/omero/server/var/omero.fcgi',
 'SCRIPT_NAME': u'/omero',
 'SCRIPT_URI': 'http://ome-analysis-01.openmicroscopy.org.uk/omero/omero_searcher/contentsearch/',
 'SCRIPT_URL': '/omero/omero_searcher/contentsearch/',
 'SERVER_ADDR': '10.2.1.50',
 'SERVER_ADMIN': 'root@localhost',
 'SERVER_NAME': 'ome-analysis-01.openmicroscopy.org.uk',
 'SERVER_PORT': '80',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SIGNATURE': '<address>Apache/2.2.15 (CentOS) Server at ome-analysis-01.openmicroscopy.org.uk Port 80</address>\n',
 'SERVER_SOFTWARE': 'Apache/2.2.15 (CentOS)',
 'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x54a9cd0>,
 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x54a9590>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 0)}>

Change History (3)

comment:1 Changed 6 years ago by spli

Note I've seen this error quite frequently. For soem reason the table handle is None even though the table exists- possibly a network or ice issue?

comment:2 Changed 6 years ago by spli

  • Milestone changed from Unscheduled to 5.0.0
  • Version set to 4.4.9

comment:3 Changed 4 years ago by jamoore

  • Milestone changed from 5.x to Unscheduled
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.129047 sec.)

We're Hiring!