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 #8736 (closed)

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

BUG:TypeError: object of type 'NoneType' has no le

Reported by: omero-qa Owned by: wmoore
Priority: major Milestone: OMERO-4.4
Component: Web Version: n.a.
Keywords: testing,phase1 Cc: web-team@…; bpindelski
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: n.a.

Description

http://qa.openmicroscopy.org.uk/qa/feedback/4323/

Comment: Clicked on Copy image in the left hand side pane (icon left off the cut - scissors icon).

Traceback (most recent call last):

  File "/home/hudson/hudson/workspace/OMERO-merge-blue/src/dist/lib/python/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/home/hudson/hudson/workspace/OMERO-merge-blue/src/dist/lib/python/omeroweb/decorators.py", line 313, in wrapped
    retval = f(request, *args, **kwargs)

  File "/home/hudson/hudson/workspace/OMERO-merge-blue/src/dist/lib/python/omeroweb/webtest/views.py", line 441, in dataset_split_view
    indexes = range(1, len(channels)+1)

TypeError: object of type 'NoneType' has no len()


<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'sessionid': '8e7324d4bc001a7720a1b0b505430949'},
META:{'DOCUMENT_ROOT': '/var/www',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTP_ACCEPT': 'text/html, */*; q=0.01',
 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'sessionid=8e7324d4bc001a7720a1b0b505430949',
 'HTTP_DNT': '1',
 'HTTP_HOST': 'howe.openmicroscopy.org.uk',
 'HTTP_REFERER': 'http://howe.openmicroscopy.org.uk/webclient/userdata/',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20100101 Firefox/12.0',
 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
 'PATH': '/usr/local/bin:/usr/bin:/bin',
 'PATH_INFO': u'/webtest/dataset_split_view/57/',
 'PATH_TRANSLATED': '/var/www/omero.fcgi/webtest/dataset_split_view/57/',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '10.12.2.185',
 'REMOTE_PORT': '51686',
 'REQUEST_METHOD': 'GET',
 'REQUEST_URI': '/webtest/dataset_split_view/57/',
 'SCRIPT_FILENAME': '/var/www/omero.fcgi',
 'SCRIPT_NAME': u'',
 'SERVER_ADDR': '134.36.65.228',
 'SERVER_ADMIN': 'webmaster@localhost',
 'SERVER_NAME': 'howe.openmicroscopy.org.uk',
 'SERVER_PORT': '80',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SIGNATURE': '<address>Apache/2.2.14 (Ubuntu) Server at howe.openmicroscopy.org.uk Port 80</address>\n',
 'SERVER_SOFTWARE': 'Apache/2.2.14 (Ubuntu)',
 'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x46cc2d0>,
 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x45722d0>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 0)}>

Change History (4)

comment:1 Changed 7 years ago by jburel

  • Component changed from from QA to Web
  • Milestone changed from Unscheduled to OMERO-Beta4.4
  • Priority changed from minor to major

comment:2 Changed 7 years ago by atarkowska

  • Keywords testing phase1 added

comment:3 Changed 7 years ago by wmoore

  • Resolution set to fixed
  • Status changed from new to closed

comment:4 Changed 7 years ago by Will Moore <will@…>

  • Remaining Time set to 0

(In [24b26d559d5bf7fc4540da77b0b1848aff468a4a/ome.git] on branch develop) Split-view Dataset handles empty Dataset. Closes #8736

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.70387 sec.)

We're Hiring!