Comment 0 for bug 1498214

Revision history for this message
Niklas Wenzel (nikwen) wrote :

How to reproduce:

1) Set up a Gmail account.
2) stop ubuntu-push-client
3) Send yourself an email
4) start ubuntu-push-client

Excerpt from the logs:

2015/09/22 00:30:27 Creating account with id 2 for com.ubuntu.developer.webapps.webapp-gmail_webapp-gmail
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.