Skype log parser and plugin

17 views
Skip to first unread message

Richard Mortier

unread,
May 7, 2010, 10:00:34 AM5/7/10
to per...@googlegroups.com
hi all;

i've just pushed a set of updates to the Skype log parser plugin.
this attempts to recover messages and other data from your Skype logs
and push them into your Personal Container. it's a bit kludgy since
the format is not documented (or, indeed, well specified afaics!) but
it manages to parse the last several years of my logs at any rate.

bug reports (or, even better) bugfixes welcome! bugs likely to be
fixed faster if you can give me a copy of at least the message/record
that causes the problem...

currently, to install it requires specifying your Skype userid in your
copy of Perscon_config.py (cf. Perscon_config.py.in). we'll try and
add some code to auto-detect your userid soon.

if you just want to see your Skype logs, try running

$ python2.6 skrype.py <pathtoyourlogdir eg. "~/Library/Application
Support/Skype/youruserid/*.dbb">

cheers,

--
Richard Mortier
mo...@cantab.net

Anil Madhavapeddy

unread,
May 7, 2010, 10:18:57 AM5/7/10
to per...@googlegroups.com
Nice one! I'm running this on my Mac, and running into some strange bugs (but then again, my Skype logs have been through several versions over the years).

It worked great for the chat logs (chatlog*.ddb) but fails on:

http://github.com/avsm/perscon/issues#issue/1 (user)
http://github.com/avsm/perscon/issues#issue/2 (alert)

I guess the chat and call records are the most useful bits, but it would be good to not error out on the other ddbs.

-anil

mort

unread,
May 7, 2010, 10:22:12 AM5/7/10
to per...@googlegroups.com
On 7 May 2010 15:18, Anil Madhavapeddy <an...@recoil.org> wrote:
> Nice one! I'm running this on my Mac, and running into some strange bugs (but then again, my Skype logs have been through several versions over the years).

:)

> It worked great for the chat logs (chatlog*.ddb) but fails on:

cool! those are probably the most useful, along with chat*.dbb which
are needed to get the full participant lists for mucs.

> http://github.com/avsm/perscon/issues#issue/1 (user)
> http://github.com/avsm/perscon/issues#issue/2 (alert)
>
> I guess the chat and call records are the most useful bits, but it would be good to not error out on the other ddbs.

yeah, will take a look. initial thought for the first one is that
it's failing due to a partly written record (i think these logs are
basically memory dumps so they're not always sync-d if skype is still
running - i presume it is?)

--
Richard Mortier
mo...@cantab.net

Anil Madhavapeddy

unread,
May 7, 2010, 10:23:38 AM5/7/10
to per...@googlegroups.com
On 7 May 2010, at 15:22, mort wrote:

>
> yeah, will take a look. initial thought for the first one is that
> it's failing due to a partly written record (i think these logs are
> basically memory dumps so they're not always sync-d if skype is still
> running - i presume it is?)

Skype's not running at the moment, but it crashes quite a lot, so the logs are probably a little messed up.

-anil

mort

unread,
May 7, 2010, 10:41:06 AM5/7/10
to per...@googlegroups.com
On 7 May 2010 15:23, Anil Madhavapeddy <an...@recoil.org> wrote:
> On 7 May 2010, at 15:22, mort wrote:
>
>> yeah, will take a look.  initial thought for the first one is that
>> it's failing due to a partly written record

> Skype's not running at the moment, but it crashes quite a lot, so the logs are probably a little messed up.

fix pushed - appears that one can have records with a header but
zero-length data part. let me know if it reoccurs :)
Reply all
Reply to author
Forward
0 new messages