[Bug 28557] escaped characters in accounts.cfg are dealt with incorrectly / accounts.cfg becomes very large

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 16 12:33:16 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=28557

Simon McVittie <simon.mcvittie at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|escaped characters in       |escaped characters in
                   |accounts.cfg are dealt with |accounts.cfg are dealt with
                   |incorrectly                 |incorrectly / accounts.cfg
                   |                            |becomes very large
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2010-06-16 03:33:16 PDT ---
Fixed in git, will be in 5.5.2. Some notes for any users who've been hit by
this bug:

Working around excessively large accounts.cfg
=============================================

If one of your accounts has a parameter that contains a special character
(backslash, tab or newline), it may have made your
~/.mission-control/accounts/accounts.cfg extremely large (multiple megabytes).
This bug exists in versions 5.5.0 and 5.5.1.

First, make sure you're running a version of MC that doesn't have this bug
(either 5.4.x, or 5.5.2 or later). To do that, install the new version, then
log out and back in (or kill the mission-control-5 process). 

The best way to repair a huge accounts.cfg is to remove and re-create the
account that caused it, preferably via the normal account editing UI in
Empathy.

If the account has become so large that Empathy's account editing UI no longer
works, you can do the same via the command line, with the "mc-tool" utility
provided with Mission Control. First, list your accounts:

    mc-tool list

This will output a list of account IDs, something like:

    gabble/jabber/telepathy-user_40example_2ecom0
    haze/facebook/telepathy-user0
    idle/irc/telepathy-user0
    salut/local_xmpp/account0

You can examine an account with a command like:

    mc-tool show haze/facebook/telepathy-user0

For a typical account, you'll get a small amount of output (about 15 lines in a
terminal). If you get huge numbers of backslashes instead, the account has been
affected by this bug.

You can delete an account with a command like:

    mc-tool remove haze/facebook/telepathy-user0

accounts.cfg should now reduce to a sensible size (about 15 lines per account,
which might add up to a few kilobytes if you have lots of accounts), and you
can re-create the account using Empathy.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the telepathy-bugs mailing list