After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 682802 - Try installing missing UOA plugin when migrating
Try installing missing UOA plugin when migrating
Status: RESOLVED FIXED
Product: empathy
Classification: Core
Component: UOA
2.33.x
Other Linux
: Normal enhancement
: ---
Assigned To: empathy-maint
empathy-maint
: 682440 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-08-27 13:24 UTC by Guillaume Desmottes
Modified: 2012-08-28 07:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
factor out migrate_account_to_uoa() (4.92 KB, patch)
2012-08-27 13:34 UTC, Guillaume Desmottes
none Details | Review
uoa_account_created_cb: don't unref NULL account (931 bytes, patch)
2012-08-27 13:34 UTC, Guillaume Desmottes
none Details | Review
pkg-kit: use an 'infinite' timeout when calling InstallPackageNames (1.04 KB, patch)
2012-08-27 13:34 UTC, Guillaume Desmottes
committed Details | Review
try installing missing account-plugin-* (3.69 KB, patch)
2012-08-27 13:34 UTC, Guillaume Desmottes
none Details | Review
try installing missing account-plugin-* (3.46 KB, patch)
2012-08-27 14:10 UTC, Guillaume Desmottes
committed Details | Review

Description Guillaume Desmottes 2012-08-27 13:24:30 UTC
We should use PackageKit to try installing missing UOA plugins when migrating accounts.
Comment 1 Guillaume Desmottes 2012-08-27 13:25:16 UTC
Blocked by https://bugs.launchpad.net/ubuntu/+source/sessioninstaller/+bug/1042231
Comment 2 Guillaume Desmottes 2012-08-27 13:34:15 UTC
Created attachment 222549 [details] [review]
factor out migrate_account_to_uoa()
Comment 3 Guillaume Desmottes 2012-08-27 13:34:18 UTC
Created attachment 222550 [details] [review]
uoa_account_created_cb: don't unref NULL account
Comment 4 Guillaume Desmottes 2012-08-27 13:34:21 UTC
Created attachment 222551 [details] [review]
pkg-kit: use an 'infinite' timeout when calling InstallPackageNames

This method can takes quiet a while before returning (if user has to enter his
admin password for example).
Comment 5 Guillaume Desmottes 2012-08-27 13:34:24 UTC
Created attachment 222552 [details] [review]
try installing missing account-plugin-*
Comment 6 Guillaume Desmottes 2012-08-27 13:55:44 UTC
Comment on attachment 222551 [details] [review]
pkg-kit: use an 'infinite' timeout when calling InstallPackageNames

Attachment 222551 [details] pushed as 02b2080 - pkg-kit: use an 'infinite' timeout when calling InstallPackageNames
Comment 7 Xavier Claessens 2012-08-27 14:03:18 UTC
You can use empathy_uoa_manager_dup() and EMPATHY_UOA_SERVICE_TYPE from empathy-uoa-utils.h.

Also this operation can now takes significant time since we are waiting on user interaction. empathy-auth-client exit after a timeout, so that should be blocked until we finish the migration operation.
Comment 8 Guillaume Desmottes 2012-08-27 14:10:42 UTC
Created attachment 222556 [details] [review]
try installing missing account-plugin-*
Comment 9 Guillaume Desmottes 2012-08-28 07:09:06 UTC
Attachment 222556 [details] pushed as 79ea3b4 - try installing missing account-plugin-*
Comment 10 Guillaume Desmottes 2012-08-28 07:38:48 UTC
*** Bug 682440 has been marked as a duplicate of this bug. ***