account-polld plugins hang when displaying a notification on startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Bill Filler | ||
account-polld (Ubuntu) |
Fix Released
|
Undecided
|
Niklas Wenzel |
Bug Description
How to reproduce:
1) Add an avatar image to the contacts book for one of your email addresses
2) Set up a Gmail account
3) stop ubuntu-push-client
4) Send an email from the address with the avatar to the Gmail account you added
5) start ubuntu-push-client
Excerpt from the logs:
2015/09/22 00:30:27 Creating account with id 2 for com.ubuntu.
2015/09/22 00:30:27 gmail plugin 2: last state loaded from storage
2015/09/22 00:30:27 Starting poll for account 2
2015/09/22 00:30:27 Previous messages: []string{}
2015/09/22 00:30:27 Polling account 2
QSocketNotifier: Can only be used with threads started with QThread
QSocketNotifier: Can only be used with threads started with QThread
2015/09/22 00:34:27 Poll for account 2 has timed out out after 4m0s
2015/09/22 00:34:27 Ending poll for account 2
As this also happens in my IMAP plugin, I guess that the issue probably lies in the Persist() method in plugins.go.
Related branches
- Jonas G. Drange (community): Approve
-
Diff: 119 lines (+25/-34)4 files modifiedqtcontact/contacts.go (+14/-25)
qtcontact/qtcontacts.cpp (+9/-7)
qtcontact/qtcontacts.h (+1/-1)
qtcontact/qtcontacts.hpp (+1/-1)
- Jonas G. Drange (community): Approve
-
Diff: 63 lines (+23/-3)2 files modifiedcmd/account-polld/account_manager.go (+2/-0)
cmd/account-polld/main.go (+21/-3)
Changed in account-polld (Ubuntu): | |
assignee: | nobody → Niklas Wenzel (nikwen) |
Changed in account-polld (Ubuntu): | |
status: | New → In Progress |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Bill Filler (bfiller) |
importance: | Undecided → High |
milestone: | none → ww46-2015 |
status: | New → In Progress |
Changed in account-polld (Ubuntu): | |
status: | In Progress → Incomplete |
status: | Incomplete → In Progress |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
Ok, it's not the Persist() method. It's the following line which is blocking:
avatarPath = qtcontact. GetAvatar( address. Address)