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

Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

Bug: bin/omero web start then bin/omero web stop leads to an exception

Reported by: jamoore Owned by: cxallan
Priority: major Milestone: OMERO-Beta4.2.1
Component: Web Version: n.a.
Keywords: n.a. Cc: cneves
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2010-10-28 (18)

Description

I accidentally left my "web server" set to "fastcgi". On bin/omero web start, it went into background. Without thinking much, I tried bin/omero web stop, which probably some users would and got the following:

~/code/git/dist $ bin/omero web start
Starting django development webserver... 

~/code/git/dist $ bin/omero web stop
Stopping django development webserver... 

Traceback (most recent call last):
  File "bin/omero", line 123, in <module>
    rv = omero.cli.argv()
  File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omero/cli.py", line 1162, in argv
    cli.invoke(args[1:])
  File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omero/cli.py", line 715, in invoke
    stop = self.onecmd(line, previous_args)
  File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omero/cli.py", line 784, in onecmd
    self.execute(line, previous_args)
  File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omero/cli.py", line 864, in execute
    args.func(args)
  File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omero/plugins/web.py", line 534, in stop
    os.kill(pid, signal.SIGTERM) #kill whole group
TypeError: an integer is required

Change History (5)

comment:1 Changed 9 years ago by jburel

  • Sprint changed from 2010-09-30 (17) to 2010-10-28 (18)

Moved from sprint 2010-09-30 (17)

comment:2 Changed 9 years ago by atarkowska

  • Owner set to cxallan

comment:3 Changed 9 years ago by cxallan

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

comment:4 Changed 9 years ago by cxallan

(In [8408]) OMERO.web FastCGI start/stop overhaul (Fixes #2849 and #3017):

  • Made FastCGI the default APPLICATION_SERVER target
  • Fixed issues with bin/omero web stop (#3017)
  • In lieu of a solution for full IceGrid? integration start, stop and status targets
  • Status integration with bin/omero admin diagnostics

comment:5 Changed 8 years ago by jburel <j.burel@…>

  • Remaining Time set to 0

(In [6a9e8ca57cc05f9019dc3cf5a87d0d4d2688687b/ome.git]on branches master, develop, feature/5252-import-cancel, fix/4463, python-gateway) Review table to avoid error related to manipulation of table (close #3017)

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

We're Hiring!