[Adium-devl] Problems With Storing Info. for Contact

Evan Schoenberg evan.s at dreskin.net
Wed Jun 4 18:49:08 UTC 2008


Run a current Adium subversion build in Debug or Deployment-Debug  
mode,and check for Console logging after setting a contact's info and  
then quitting and restarting.  Do you get any output? One condition  
which could do as you describe would be if an object which isn't valid  
for a plist were set as a preference, and this would log in current  
builds.

Cheers,
Evan

On Jun 4, 2008, at 12:40 PM, George Armah <armahg at gmail.com> wrote:

> Hello,
> One of the users of my Send Email/SMS plugin reported some problems  
> with
> saving
> the phone number of a contact via the plugin. I investigated and  
> here is
> what I found:
>
> My plugin saves three pieces of information:
> #define KEY_GEMAIL                        @"User Email Address"
> #define KEY_SMSPHONENUM                    @"User SMS"
> #define KEY_SERVICEPROVIDER                @"User Service Provider"
>
> Saving a contact's email address works fine.
> When I save a contact's phone number and service provider, they both
> persist so long as adium is running.
> After shutting down and restarting adium,  the service provider is  
> found
> but there is
> nothing saved for the phone number value.
> Note that this behavior is not consistent. Out of about 20 tries for
> about 5 different contacts, one of the
> contacts had his phone number information saved permanently (after a
> couple of tries).
>
>
> The plugin source code is available for download from:
> http://www.cs.lafayette.edu/%7Earmahg/AGAdiumSMSPluginSourceCode.zip
> I also pasted the three .m classes of the plugin using lisppaste
> http://paste.lisp.org/display/61710
> EmailSMSPreferencesWindowController is the class that does the the  
> saving
> of the phone number information. This happens in the method
> - (IBAction)smsSaveClicked:(id)sender.
>
>
> I am really confused as to what could be causing this problem and  
> would
> appreciate any
> help or pointers as to how to troubleshoot. Could it be that some  
> other
> plugin or section
> of Adium code is using the same  preference key?  Where  are the user
> preference files
> for Adium located? Knowing that could help in my troubleshooting.
>
>
> Thanks in advance for any help,
>
> George.
>
> _______________________________________________
> Adium-devl mailing list
> Adium-devl at adiumx.com
> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com
>




More information about the devel mailing list