Hi,

It would be very helpful for my day job to have SIPE <http://sipe.sf.net/ > in Adium. So I'm attempting to port it -- never having used Cocoa before, there's no better way to learn I guess.

Here's my current state of affairs:
        <http://dl.getdropbox.com/u/535204/pidgin-sipe-1.7.0.zip> (545 KB)
My plugin is in pidgin-sipe-1.7.0/contrib/SIPEAdiumPlugin. I'm building against Adium 1.4b12.

My problem right now is that after adding a SIPE account, Adium crashes hard. Here's what's in system.log:

Nov 1 21:59:12 Scooter [0x0-0x1f06f05].com.adiumX.adiumX[24744]: ** (process:24744): CRITICAL **: purple_accounts_add: assertion `account ! = NULL' failed
Nov  1 21:59:12 Scooter Adium[24744]: Account:
Nov  1 21:59:12 Scooter Adium[24744]: port: 443
Nov  1 21:59:12 Scooter Adium[24744]: server: ‡»ò†<U+F8FF>^G
Nov 1 21:59:15 Scooter com.apple.launchd.peruser.501[748] ([0x0-0x1f06f05].com.adiumX.adiumX[24744]): Job appears to have crashed: Bus error

The Account, port, and server lines are NSLog calls from my code.

I'm at a loss as to how the port number is showing up fine but the server is gibberish and the account is blank. Being new to Cocoa, I'm afraid I'm making a pretty newbie mistake but I'm just not sure what it is.

Can anyone offer any advice on where I should look -- or any decent examples of libpurple protocol plugins that I might be able to use as a reference?

Thanks in advance,
Matt

--
Matt Meissner
[email protected]



Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to