starting couch fails because PID->port fails, RuntimeError
Bug #486102 reported by
Chad Miller
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
desktopcouch |
Fix Released
|
Critical
|
Chad Miller |
Bug Description
Starting desktopcouch fails.
There is a period between when couchdb has written its PID file and when it is really listening on a socket for connections. Our code assumes that writing its PID file is a signal that it's ready to work, but it is not. Now, we loop on looking for the socket, instead of interpreting missing as an error.
Related branches
lp:~cmiller/desktopcouch/find-port-runtimeerror
Merged
into
lp:desktopcouch
- Stuart Langridge (community): Approve
- Eric Casteleijn (community): Approve
-
Diff: 83 lines (+21/-21)2 files modifieddesktopcouch/__init__.py (+11/-10)
desktopcouch/start_local_couchdb.py (+10/-11)
Changed in desktopcouch: | |
status: | New → Confirmed |
assignee: | nobody → Chad Miller (cmiller) |
importance: | Undecided → High |
Changed in desktopcouch: | |
importance: | High → Critical |
Changed in desktopcouch: | |
milestone: | none → 0.6 |
description: | updated |
Changed in desktopcouch: | |
status: | Confirmed → Fix Committed |
Changed in desktopcouch: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.