[Bug 34308] New:=?UTF-8?Q?=20Simple=20=E2=80=9Csign=20in=20and=20send=20a=20message=E2=80=9D=20example=20?=(with porter/connection bug?)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 15 21:14:01 CET 2011


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

           Summary: Simple “sign in and send a message” example (with
                    porter/connection bug?)
           Product: Wocky
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Keywords: patch
          Severity: normal
          Priority: medium
         Component: General
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: will.thompson at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org


Hello,

I've been working on a trivial example program that signs in and sends a single
message to a contact. Here is the branch:
http://git.collabora.co.uk/?p=user/wjt/wocky.git;a=shortlog;h=refs/heads/message-example

Here is the actual code:
http://git.collabora.co.uk/?p=user/wjt/wocky.git;a=blob;f=examples/message.c;h=82be292a617adef14f5df034d8ea7e9d84049627;hb=0dd3a10f6dbfa6f580eed5ae0f492eaaac2e540f

However! wocky_porter_close_async() always fails as follows:


2008 % ./examples/wocky-message t-pain at test.collabora.co.uk XXXXXX
will.thompson at collabora.co.uk "very thin ice"       
Sent 'very thin ice' to will.thompson at collabora.co.uk

** (process:11990): WARNING **: Couldn't sign out: Another send operation is
pending

I can't see anything I'm obviously doing wrong in the example… I'd rather hope
I knew how to drive Wocky by now, but I have been wrong on many occasions in
the past.

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


More information about the telepathy-bugs mailing list