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

Opened 10 years ago

Closed 9 years ago

Bug: 'NoneType' object has no attribute 'setParent'

Reported by: omero-qa Owned by: atarkowska
Priority: major Milestone: 5.1.2
Component: Web Version: 5.0.2
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/9401/

Traceback (most recent call last):

  File "/opt/hudson/workspace/ANALYSIS-OMERO-5.0-latest-ice34/OMERO.server-5.0.2-787-4b0952a-ice34-b54/lib/python/django/core/handlers/base.py", line 114, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)

  File "/opt/hudson/workspace/ANALYSIS-OMERO-5.0-latest-ice34/OMERO.server-5.0.2-787-4b0952a-ice34-b54/lib/python/omeroweb/decorators.py", line 387, in wrapped
    retval = f(request, *args, **kwargs)

  File "/opt/hudson/workspace/ANALYSIS-OMERO-5.0-latest-ice34/OMERO.server-5.0.2-787-4b0952a-ice34-b54/lib/python/omeroweb/decorators.py", line 434, in wrapper
    context = f(request, *args, **kwargs)

  File "/opt/hudson/workspace/ANALYSIS-OMERO-5.0-latest-ice34/OMERO.server-5.0.2-787-4b0952a-ice34-b54/lib/python/omeroweb/webclient/views.py", line 1639, in manage_action_containers
    rv = manager.move(parent,destination)

  File "/opt/hudson/workspace/ANALYSIS-OMERO-5.0-latest-ice34/OMERO.server-5.0.2-787-4b0952a-ice34-b54/lib/python/omeroweb/webclient/controller/container.py", line 978, in move
    up_dsl.setParent(new_ds._obj)

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


<WSGIRequest
path:/omero/webclient/action/move/image/37218/,
GET:<QueryDict: {}>,
POST:<QueryDict: {u'destination': [u'dataset-1102'], u'parent': [u'dataset-1101']}>,
COOKIES:{'phpbb3_a9mfv_k': '45009d2e421cba3f',
 'phpbb3_a9mfv_sid': '556228295c87b33b12fc38c5abe0557e',
 'phpbb3_a9mfv_u': '2883',
 'sessionid': '6uf4rhbmxu8n6fh685t2y5q3cmt2mi8y',
 'style_cookie': 'null'},
META:{'CONTENT_LENGTH': '44',
 'CONTENT_TYPE': 'application/x-www-form-urlencoded; charset=UTF-8',
 'DOCUMENT_ROOT': '/var/www/html',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTP_ACCEPT': 'application/json, text/javascript, */*; q=0.01',
 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5',
 'HTTP_CACHE_CONTROL': 'no-cache',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'phpbb3_a9mfv_k=45009d2e421cba3f; style_cookie=null; phpbb3_a9mfv_u=2883; phpbb3_a9mfv_sid=556228295c87b33b12fc38c5abe0557e; sessionid=6uf4rhbmxu8n6fh685t2y5q3cmt2mi8y',
 'HTTP_DNT': '1',
 'HTTP_HOST': 'ome-ci-c6-07.openmicroscopy.org',
 'HTTP_PRAGMA': 'no-cache',
 'HTTP_REFERER': 'http://ome-ci-c6-07.openmicroscopy.org/omero/webclient/userdata/',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:30.0) Gecko/20100101 Firefox/30.0',
 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
 'PATH': '/sbin:/usr/sbin:/bin:/usr/bin',
 'PATH_INFO': u'/webclient/action/move/image/37218/',
 'PATH_TRANSLATED': '/var/www/html/webclient/action/move/image/37218/',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '10.31.2.114',
 'REMOTE_PORT': '61741',
 'REQUEST_METHOD': 'POST',
 'REQUEST_URI': '/omero/webclient/action/move/image/37218/',
 'SCRIPT_FILENAME': '/homes/hudson-x/OMERO-CURRENT/var/omero.fcgi',
 'SCRIPT_NAME': u'/omero',
 'SCRIPT_URI': 'http://ome-ci-c6-07.openmicroscopy.org/omero/webclient/action/move/image/37218/',
 'SCRIPT_URL': '/omero/webclient/action/move/image/37218/',
 'SERVER_ADDR': '134.36.65.238',
 'SERVER_ADMIN': 'root@localhost',
 'SERVER_NAME': 'ome-ci-c6-07.openmicroscopy.org',
 'SERVER_PORT': '80',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SIGNATURE': '<address>Apache/2.2.15 (CentOS) Server at ome-ci-c6-07.openmicroscopy.org Port 80</address>\n',
 'SERVER_SOFTWARE': 'Apache/2.2.15 (CentOS)',
 'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x5d333d0>,
 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x5d335d0>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 0)}>

Change History (2)

comment:1 Changed 10 years ago by jamoore

  • Component changed from from QA to Web
  • Milestone changed from Unscheduled to 5.1.0
  • Priority changed from minor to major
  • Summary changed from 'NoneType' object has no attribute 'setParent' to Bug: 'NoneType' object has no attribute 'setParent'

Rescuing this from obscurity.

comment:2 Changed 9 years ago by atarkowska

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

THere were significant improvement done with moving data in 5.1 As move was deeply tested I presume that issue is no longer valid

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

We're Hiring!