Open tribalvibes opened 14 years ago
I'm getting a similar issue lately, however it's throwing: raise AuthenticationError, "Username and password do not match" about 50% or more of the time, even if the password is right. I heard someone mention seeing a captcha, but I haven't seen one myself... perhaps on occasion now Yahoo is showing a captcha as you login?
I've been able to reproduce this a little more frequently now. I find that if I connect to a Yahoo account with 500+ contacts, but don't retrieve the contacts, and then connect again soon afterward, the 2nd connection will fail with either an invalid password error, or sometimes a "this id has not been taken" error.
About 20% of the time it returns the contacts... 80% of the time it croaks with a protocol error. Apparently even when it returns data it has some parse errors (some emails dropped, some characters carried over to the next entry.) Testing with address books of several hundred contacts. Traces below.
Thanks for merging the gdata version of the GMail importer--it would be so great if someone could rewrite this importer (and all the others) to use the supported APIs from each provider where they exist rather than screen scraping which is destine to break continuously. Look how much less code the gdata call is than trying to parse the screen! Please consider this as a priority to any other development if this gem is to have any utility in the real world.
Trace: