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

Opened 12 years ago

Closed 12 years ago

Bug: OperationNotExistException

Reported by: wmoore Owned by: wmoore
Priority: major Milestone: OMERO-4.4
Component: Services Version: n.a.
Keywords: n.a. Cc: atarkowska, cxallan, jburel, wmoore
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2012-02-28 (9)

Description (last modified by wmoore)

With a merge that looks like this:

* 1af90ca (HEAD, team/merge-green, merge-green) Replacing @isUserConnected with @login_required()
*   daf1b72 Merge branch '8008_ajax_helper' into merge-green
|\  
* \   2c3e047 Merge remote-tracking branch 'chris/6342_integration' into merge-green
|\ \  
* | | 4ffc10d (8052_web_chgrp) Improved UI and Activities for web chgrp
* | | 6dadaea Basic working chgrp in web.
* | | be5a9c1 (gh/8006_chgrp_OmeroPy, 8006_chgrp_OmeroPy) Gateway chgrp asynchronous test
* | | dc08821 Blitz chgrpObject() returns prx without waiting
* | | 0aa92b2 Adding chgrp test - Image in 2 Datasets
* | | ba02d1c Adding chgrp gatewaytests for D/I and P/D/I
* | | ea09a8b Blitz Gateway Test for chgrp - Image. See #8014
* | | 27e2b9a Blitz Gateway createGroup() method.
* | | 0fd25a9 chgrpObject() added to Blitz Gateway. See #8014
* | | b038a64 Chgrp PDI test
* | | e00d04d Complete chgrp tests for Image
* | | 7d7d7e4 Group util methods in integration/library.py
* | | f5b0b5e First OmeroPy chgrp test. See #8006
| * | fef2c6a (chris/6342_integration) The conn is already in the kwargs, adding it twice causes an exception.

...
| * | 434ee38 Initial version of login_required() decorator.
| * |   2d2e310 Merge branch 'rm_dbg_for_carlos' into 6342_integration_rebase
| |\ \  
* | \ \   55b44ea (ola/7993_transition, 7993_transition) Merge remote-tracking branch 'origin/develop' into 7993_transition
|\ \ \ \  
| | * \ \   a1576e9 (ome/develop, develop) Merge pull request #82 from aleksandra-tarkowska/sprint8-web-backlog
| | |\ \ \  
| |/ / / /  
| | * | |   bb8d1f1 (ola/sprint8-web-backlog) Merge remote-tracking branch 'origin/develop' into sprint8-web-backlog
| | |\ \ \  
| | |/ / /  
| |/| | |   
| | | | * 61b097a (gh/8008_ajax_helper, 8008_ajax_helper) Removing (now)-redundant ajax error handling
| | | | * b01373c handler500 is_ajax returns HttpResponseServerError

Web chgrp seems to work OK when I build this merge-green on my machine, but when I push to hudson and run it deployed on gretzky I get the error below.

Maybe I need to try a simpler merge for now, just to test chgrp.

Environment:


Request Method: POST
Request URL: http://gretzky.openmicroscopy.org.uk/webclient/chgrp/?Image=489,490

Django Version: 1.3.1
Python Version: 2.6.5
Installed Applications:
['django.contrib.staticfiles',
 'django.contrib.markup',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'omeroweb.feedback',
 'omeroweb.webadmin',
 'omeroweb.webclient',
 'omeroweb.webgateway',
 'omeroweb.webtest',
 'omeroweb.webmobile',
 'omeroweb.webpublic',
 'omeroweb.webredirect']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware')


Traceback:
File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/django/core/handlers/base.py" in get_response
  111.                         response = callback(request, *callback_args, **callback_kwargs)
File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/omeroweb/decorators.py" in wrapped
  243.             return f(request, *args, **kwargs)
File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/omeroweb/webclient/views.py" in chgrp
  3229.                 handle = conn.chgrpObject(dtype, obj_id, group_id)
File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/omero/gateway/__init__.py" in chgrpObject
  2995.         prx = self.c.sf.submit(chgrp)
File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/omero_cmd_API_ice.py" in submit
  512.             return _M_omero.cmd.Session._op_submit.invoke(self, ((req, ), _ctx))

Exception Type: OperationNotExistException at /webclient/chgrp/
Exception Value: exception ::Ice::OperationNotExistException
{
    id = 
    {
        name = 83950788-0a33-47a5-864b-6db4a10fca19
        category = session-c08396df-73fe-4116-a2a0-24caa81da92b
    }
    facet = 
    operation = submit
}

Change History (3)

comment:1 Changed 12 years ago by jmoore

  • Cc wmoore added
  • Owner changed from jmoore to wmoore

Will, this is almost certainly an issue of what server you're attaching to, which ever server you'd like to have chgrp functionality will also need to come from origin/develop (with my now merged 3532-chgrp branch)

comment:2 Changed 12 years ago by wmoore

  • Description modified (diff)

Sorry, I should have been clearer. All the merges happened on top of develop. I've added to the graph above to show that. That's why it worked when building on my local machine. Just not sure what's going on with gretzky. Maybe I'll do a simpler merge without the new conn decorators and ajax_helpers.

comment:3 Changed 12 years ago by wmoore

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

Seems this is down to hudson not deploying the new server on gretzky with each build. Updated merge-green config same as merge-blue.

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

We're Hiring!