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

Opened 13 years ago

Closed 13 years ago

Bug: django process left on Ctrl-C

Reported by: jamoore Owned by: atarkowska
Priority: major Milestone: OMERO-Beta4.3.1
Component: Web Version: n.a.
Keywords: n.a. Cc: cxallan
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2011-07-07 (1)

Description

  • Mac 10.6
  • latest develop code
    bin/omero config set omero.web.application_server development
    bin/omero web start
    # ... access web.
    Ctrl-C
    bin/omero web start
    

The second "web start" fails since the port is still taken. Looks like this only happens if the user keeps the browser open. (see log below)

Change History (2)

comment:1 Changed 13 years ago by jmoore

~/git/dist $ bin/omero config get
omero.data.dir=/tmp/data2
omero.db.name=43d
omero.db.profile=psql
omero.db.statistics=true
omero.db.user=moore
omero.ldap.base=ou=lifesci,o=dundee
omero.ldap.config=false
omero.ldap.urls=ldap://localhost:1389
omero.pixeldata.backoff=ome.io.nio.SimpleBackOff
omero.web.application_server=development
omero.web.server_list=[["localhost", 4444, "4444"]]
~/git/dist $ bin/omero web start
Starting OMERO.web... Validating models...
0 errors found

Django version 1.1.1, using settings 'omeroweb.settings'
Development server is running at http://0.0.0.0:4080/
Quit the server with CONTROL-C.
^CCancelled
~/git/dist $ bin/omero web start
Starting OMERO.web... Validating models...
0 errors found

Django version 1.1.1, using settings 'omeroweb.settings'
Development server is running at http://0.0.0.0:4080/
Quit the server with CONTROL-C.
^CCancelled
~/git/dist $ bin/omero web start
Starting OMERO.web... Validating models...
0 errors found

Django version 1.1.1, using settings 'omeroweb.settings'
Development server is running at http://0.0.0.0:4080/
Quit the server with CONTROL-C.
[30/Jun/2011 15:07:06] "GET /webclient/ HTTP/1.1" 200 94
[30/Jun/2011 15:07:07] "GET /webclient/login/?url=/webclient/ HTTP/1.1" 200 2783
[30/Jun/2011 15:07:07] "GET /appmedia/omeroweb/css/layout.css HTTP/1.1" 304 0
[30/Jun/2011 15:07:10] "POST /webclient/login/?url=/webclient/ HTTP/1.1" 200 2957
[30/Jun/2011 15:07:25] "POST /webclient/login/?url=/webclient/ HTTP/1.1" 200 2969
[30/Jun/2011 15:07:57] "POST /webclient/login/?url=/webclient/ HTTP/1.1" 200 2967
[30/Jun/2011 15:08:05] "POST /webclient/login/?url=/webclient/ HTTP/1.1" 200 2969
[30/Jun/2011 15:08:30] "POST /webclient/login/?url=/webclient/ HTTP/1.1" 200 2969
[30/Jun/2011 15:08:47] "POST /webclient/login/?url=/webclient/ HTTP/1.1" 302 0
[30/Jun/2011 15:08:47] "GET /webclient/ HTTP/1.1" 200 8261
[30/Jun/2011 15:08:47] "GET /appmedia/omeroweb/css/ui-1.8.12.css HTTP/1.1" 304 0
[30/Jun/2011 15:08:50] "GET /webclient/last_imports/ HTTP/1.1" 200 3701
[30/Jun/2011 15:08:50] "GET /webclient/tag_cloud/ HTTP/1.1" 200 827
[30/Jun/2011 15:08:50] "GET /webclient/most_recent/ HTTP/1.1" 200 920
[30/Jun/2011 15:08:50] "GET /appmedia/omeroweb/javascript/actions.js HTTP/1.1" 304 0
[30/Jun/2011 15:08:55] "GET /webclient/render_thumbnail/2752/ HTTP/1.1" 200 5125
[30/Jun/2011 15:09:00] "GET /webclient/render_thumbnail/2751/ HTTP/1.1" 200 5125
[30/Jun/2011 15:09:04] "GET /webclient/render_thumbnail/2289/ HTTP/1.1" 200 5125
[30/Jun/2011 15:09:09] "GET /webclient/render_thumbnail/2607/ HTTP/1.1" 200 5125
[30/Jun/2011 15:09:14] "GET /webclient/render_thumbnail/2608/ HTTP/1.1" 200 5125
[30/Jun/2011 15:09:18] "GET /webclient/render_thumbnail/2609/ HTTP/1.1" 200 5125
[30/Jun/2011 15:09:23] "GET /webclient/render_thumbnail/2610/ HTTP/1.1" 200 5125
[30/Jun/2011 15:09:23] "GET /webclient/progress/ HTTP/1.1" 200 42
[30/Jun/2011 15:09:27] "GET /webclient/render_thumbnail/2611/ HTTP/1.1" 200 5125
[30/Jun/2011 15:09:32] "GET /webclient/render_thumbnail/2612/ HTTP/1.1" 200 5125
[30/Jun/2011 15:09:36] "GET /webclient/render_thumbnail/2613/ HTTP/1.1" 200 5125
[30/Jun/2011 15:09:36] "GET /webclient/progress/ HTTP/1.1" 200 42
[30/Jun/2011 15:09:36] "GET /webclient/progress/ HTTP/1.1" 200 42
^CCancelled
~/git/dist $ bin/omero web start
Starting OMERO.web... Validating models...
0 errors found

Django version 1.1.1, using settings 'omeroweb.settings'
Development server is running at http://0.0.0.0:4080/
Quit the server with CONTROL-C.
[30/Jun/2011 15:10:51] "GET /webclient/ HTTP/1.1" 200 8261
[30/Jun/2011 15:10:53] "GET /webclient/last_imports/ HTTP/1.1" 200 3701
[30/Jun/2011 15:10:53] "GET /webclient/tag_cloud/ HTTP/1.1" 200 827
[30/Jun/2011 15:10:54] "GET /webclient/most_recent/ HTTP/1.1" 200 920
^CCancelled
~/git/dist $ [30/Jun/2011 15:10:56] "GET /webclient/render_thumbnail/2752/ HTTP/1.1" 200 14863
bin/omero web[30/Jun/2011 15:11:01] "GET /webclient/render_thumbnail/2751/ HTTP/1.1" 200 5125

~/git/dist $ bin/omero web start[30/Jun/2011 15:11:05] "GET /webclient/render_thumbnail/2289/ HTTP/1.1" 200 5125

Starting OMERO.web... Validating models...
0 errors found

Django version 1.1.1, using settings 'omeroweb.settings'
Development server is running at http://0.0.0.0:4080/
Quit the server with CONTROL-C.
Error: [Errno 48] Address already in use

comment:2 Changed 13 years ago by atarkowska

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

can't reproduce it

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

We're Hiring!