Task #3017 (closed)
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)
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
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)
Moved from sprint 2010-09-30 (17)