I test new version of DCL Importer 6.x-2.x-dev. It's work fine with Hotmail, but don't work Gmail and Yahoo show erro:

* Unable to get contacts.
* warning: curl_close(): 202 is not a valid cURL handle resource in /Applications/MAMP/htdocs/ucolor/sites/all/modules/dcl_importer/importers/openinviter_engine/OpenInviter/openinviter_base.php on line 483.
* warning: Invalid argument supplied for foreach() in /Applications/MAMP/htdocs/ucolor/sites/all/modules/dcl_importer/importers/openinviter_engine/openinviter_engine.module on line 191.

How can I fix it?

Comments

felixhe’s picture

Anybody have this same problem??

I debug breakpoints line 191 of openinviter_engine.module with Eclipse, and find the Variables '$contracts' return false. Hotmail work OK, Gmail & Yahoo return false.

It's a bug?

felixhe’s picture

I find some strange thing: I registe a new gmail account, and dcl_import work fine. When I import my old Gmail contact, it's don't work and return:

* Unable to get contacts.
* warning: curl_close(): 202 is not a valid cURL handle resource in /Applications/MAMP/htdocs/ucolor/sites/all/modules/dcl_importer/importers/openinviter_engine/OpenInviter/openinviter_base.php on line 483.
* warning: Invalid argument supplied for foreach() in /Applications/MAMP/htdocs/ucolor/sites/all/modules/dcl_importer/importers/openinviter_engine/openinviter_engine.module on line 191.

The problem may happen at:
1) my old contact has 174 contacts, it's too big?
2) there are Invalid Character on contacts?

hadsie’s picture

That's really weird. This is definitely a bug in the OpenInviter library and not the dcl_importer if that's the case. You should file a bug report with them and then link back to it here if you can.

hadsie’s picture

Status: Active » Fixed

Since this hasn't been reported by anyone else, I'm assuming it's been fixed in more recent versions of openinviter.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

kvvnn’s picture

Status: Closed (fixed) » Active

I get this error mentioned by the OP whenever I try to use a particular gmail address. It has a lot of contacts. If I try a few others with less contacts, I don't get the error.

Sounds like an openinviter issue, right?

Any ideas on further testing?

EDIT : I just successfully imported the contact list that was giving me this error. I would put it up to a gmail cache (i was loggedin through the browser at th etime) / openinviter weirdness issue. Will post up if I run into it again.

I am using current versions of Contact Importer and Open Inviter, btw.

kvvnn’s picture

Status: Active » Closed (cannot reproduce)