Multiple IPC connections to syncdaemon
Bug #826791 reported by
Alejandro J. Cura
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Control Panel |
Fix Released
|
High
|
Natalia Bidart |
Bug Description
The qt control panel on windows is making a new IPC connection each time it needs to call syncdaemon, so whenever SD needs to raise a signal it needs to search for the signal handlers in each of the connections. And since most signal handlers are ignored anyway this issue fills the debug log with tracebacks.
We should fix the control panel so it makes only one connection to SD, and we should make it ignore missing signal handlers.
Related branches
lp:~nataliabidart/ubuntuone-control-panel/only-one-tool
- Roberto Alsina (community): Approve
- John Lenton (community): Approve
-
Diff: 2314 lines (+559/-553)6 files modifiedrun-tests.bat (+1/-1)
ubuntuone/controlpanel/backend.py (+65/-57)
ubuntuone/controlpanel/dbustests/test_sd_client/test_linux.py (+2/-1)
ubuntuone/controlpanel/sd_client/__init__.py (+176/-211)
ubuntuone/controlpanel/tests/test_backend.py (+205/-168)
ubuntuone/controlpanel/tests/test_sd_client.py (+110/-115)
Changed in ubuntuone-control-panel: | |
assignee: | nobody → Alejandro J. Cura (alecu) |
tags: | added: u1-zomg-windows |
Changed in ubuntuone-control-panel: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in ubuntuone-control-panel: | |
assignee: | Alejandro J. Cura (alecu) → Natalia Bidart (nataliabidart) |
status: | Triaged → In Progress |
Changed in ubuntuone-control-panel: | |
status: | In Progress → Fix Committed |
Changed in ubuntuone-control-panel: | |
milestone: | none → 1.1.3 |
Changed in ubuntuone-control-panel: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
A solution to this would be to convert the windows SyncDaemonTool so it works as a Singleton. code.activestat e.com/recipes/ 66531/# c22
Here's a recipe for this: http://