User is not warned if gnote back-end fails to connect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GTG |
Fix Released
|
Medium
|
Izidor Matušov |
Bug Description
Steps to reproduce:
1. Make sure that gnote is not started.
2. Edit -> Backends -> Add
3. Select Gnote as backend, click on "Ok"
4. Select the new backend and click on the "Enable syncing" button
Expected results:
User is warned that the Gnote service isn't reachable (maybe even disabling the backend).
Actual results:
No error is reported, except if you ran the GTG in terminal.
Trace:
Exception in thread Thread-6:
Traceback (most recent call last):
File "/usr/lib64/
self.run()
File "/usr/lib64/
self.
File "/home/
self.
File "/home/
return fn(*args)
File "/home/
with self.TomboyConn
File "/home/
obj = bus.get_
File "/usr/lib64/
follow_
File "/usr/lib64/
self.
File "/usr/lib64/
self.
File "/usr/lib64/
'su', (bus_name, flags)))
File "/usr/lib64/
message, timeout)
DBusException: org.freedesktop
Exception in thread Thread-10:
Traceback (most recent call last):
File "/usr/lib64/
self.run()
File "/usr/lib64/
self.
File "/home/
self.
File "/home/
return fn(*args)
File "/home/
with self.TomboyConn
File "/home/
obj = bus.get_
File "/usr/lib64/
follow_
File "/usr/lib64/
self.
File "/usr/lib64/
self.
File "/usr/lib64/
'su', (bus_name, flags)))
File "/usr/lib64/
message, timeout)
DBusException: org.freedesktop
Exception in thread Thread-12:
Traceback (most recent call last):
File "/usr/lib64/
self.run()
File "/usr/lib64/
self.
File "/home/
self.
File "/home/
return fn(*args)
File "/home/
with self.TomboyConn
File "/home/
obj = bus.get_
File "/usr/lib64/
follow_
File "/usr/lib64/
self.
File "/usr/lib64/
self.
File "/usr/lib64/
'su', (bus_name, flags)))
File "/usr/lib64/
message, timeout)
DBusException: org.freedesktop
Related branches
- Lionel Dricot (community): Approve
-
Diff: 105 lines (+32/-21)2 files modifiedGTG/backends/genericbackend.py (+8/-7)
GTG/backends/generictomboy.py (+24/-14)
Changed in gtg: | |
importance: | Undecided → Critical |
status: | New → Confirmed |
assignee: | nobody → Izidor Matušov (izidor) |
milestone: | none → 0.3 |
Changed in gtg: | |
importance: | Critical → Medium |
assignee: | Izidor Matušov (izidor) → nobody |
Changed in gtg: | |
assignee: | nobody → Izidor Matušov (izidor) |
status: | Confirmed → In Progress |
Changed in gtg: | |
status: | In Progress → Fix Committed |
Changed in gtg: | |
status: | Fix Committed → Fix Released |
This probably affects the Tomboy backened as well (since it's almost the same backend with different service names).