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

Opened 13 years ago

Closed 13 years ago

Bug: safeCallWrap Exception handling

Reported by: wmoore Owned by: cxallan
Priority: critical Milestone: OMERO-Beta4.3.2
Component: OmeroPy Version: n.a.
Keywords: n.a. Cc: python-team@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-08-18 (3)

Description

I just got this traceback from some exception. Haven't investigated yet - Just wanted to get this down before I forgot.

Traceback:
File "/Users/will/Desktop/OMERO/dist/lib/python/django/core/handlers/base.py" in get_response
  92.                 response = callback(request, *callback_args, **callback_kwargs)
File "/Users/will/Desktop/OMERO/components/tools/OmeroWeb/omeroweb/../omeroweb/webclient/views.py" in wrapped
  169.         return f(request, *args, **kwargs)
File "/Users/will/Desktop/OMERO/components/tools/OmeroWeb/omeroweb/../omeroweb/webclient/views.py" in blitz_terminal_run
  3303.     scriptId = scriptService.uploadOfficialScript(PATHNAME, script_code)
File "/Users/will/Desktop/OMERO/dist/lib/python/omero/gateway/__init__.py" in __call__
  3012.             return self.handle_exception(e, *args, **kwargs)
File "/Users/will/Desktop/OMERO/components/tools/OmeroWeb/omeroweb/webclient/webclient_gateway.py" in handle_exception
  1751.             super(OmeroWebSafeCallWrapper, self).handle_exception()

Exception Type: TypeError at /webclient/blitz_terminal_run/
Exception Value: handle_exception() takes at least 2 arguments (1 given)

Change History (2)

comment:1 Changed 13 years ago by cxallan

  • Remaining Time set to 0.1

comment:2 Changed 13 years ago by Chris Allan <callan@…>

  • Remaining Time changed from 0.1 to 0
  • Resolution set to fixed
  • Status changed from new to closed

(In [36116572ed0e2fc5998b2128c50ab4f5ecace3be/ome.git] on branch develop) Resolve bug with handling exceptions via the superclass. (Closes #6478)

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

We're Hiring!