On Thu, Nov 12, 2009 at 12:00:06AM -0800, Gino O'Donnell wrote: > Greetings: > > I've been experimenting with barry-util on my Bold 9000 awesome if I may say > ;) and have noticed a couple of things that perhaps someone can chime in on.
Thanks! Sorry for the delay in responding. I'm a little behind on mailing list traffic. > First, I noticed that occasionally I have to do a battery pull in order for > btool to pull database data from my Bold. I initially had success in running > btool with the -d, -t, and -c flags for example and at some point it just > quit working. This doesn't happen often, but I've run into the scenario > twice in the last couple of days and thought it was worth mentioning (if I > can reproduce this issue, I'll certainly share the information). I'm guessing this is a firmware issue. There shouldn't be anything that I can do via the USB port that would make the Blackberry hang, but sometimes this is the case. Finding out what is tickling the Blackberry firmware bug is a challenge that often takes more effort than we have manpower or knowledge to fix. > Secondly, I noticed that when I populate a contact on my Bold's Address > Book, two of the fields remain base64 encoded (homePostalAddress and > postalAddress). I'm not the best CPP programmer, so am I correct to assume > that it could be related to the FIXME's in ldif.cc .. or is this a bug of > some kind (I couldn't find any bug information)? Taking a quick look at the source, while the FIXME's will probably bite you in the importing direction, they are not the problem when generating LDIF output using btool. Btool will automatically convert any LDIF field into base64 if the function NeedsEncoding() returns true. In this case, your postal addresses likely contain newlines. If I recall my LDIF knowledge correctly, this is a shortcut. While base64 is technically valid, it is not strictly required if the content merely contains newlines, but it was easier to implement. I see that the output of ldapsearch -x also outputs some postalAddress fields in base64. So you're going to have to deal with base64 eventually anyway. Having btool output base64 is valid. > Lastly, I'm a bit confused on something. I'd like try and test import > OpenLDAP LDIF's (for example, "Contacts") to my Blackberry, so that they > would appear in my Bold's address book. What would be the proper method to > accomplish this .. and which flags would I use in the process? See also my reply to Jeff Blaum. You would use the upldif command. Remember that it erases your Address Book database and replaces it with the LDIF data. So make backups of your Address Book database using barrybackup first. :-) - Chris ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel