github201407 / contactlistimporter

Automatically exported from code.google.com/p/contactlistimporter
1 stars 0 forks source link

Throws Exception, if used to import contact list from Hotmail account #32

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run the code to import the Hotmail address book contact list
2.
3.

What is the expected output? What do you see instead?
Hotmail address book contact list

What version of the product are you using?
Contact List Importer 1.3.1

Can you give a test contact-account to reproduce the problem?
Use any hotmail account

Please provide any additional information below.
This was working fine till last week but now i'm getting the following 
Exception

Exception: com.xdatasystem.contactsimporter.ContactListImporterException: 
Could not fill form for getting CSV from Hotmail

Original issue reported on code.google.com by softma...@gmail.com on 18 Feb 2009 at 12:45

GoogleCodeExporter commented 8 years ago
Yeah, the unit test fails now. I think Hotmail pushed out some new changes 2 
days
ago. When I logged in to my account I got a new update page telling me off the 
new
improvements. The full stack trace is below:

Exception in thread "main"
com.xdatasystem.contactsimporter.ContactListImporterException: Could not fill 
form
for getting CSV from Hotmail
    at
com.xdatasystem.contactsimporter.hotmail.LiveHotmailImporter.getContactListConte
ntLiveHotmail(LiveHotmailImporter.java:143)
    at
com.xdatasystem.contactsimporter.hotmail.LiveHotmailImporter.getContactListConte
nt(LiveHotmailImporter.java:110)
    at
com.xdatasystem.contactsimporter.ContactListImporterImpl.getAndParseContacts(Con
tactListImporterImpl.java:110)
    at
com.xdatasystem.contactsimporter.ContactListImporterImpl.getContactList(ContactL
istImporterImpl.java:96)
    at ContactImporter.main(ContactImporter.java:11)

Original comment by james...@gmail.com on 20 Feb 2009 at 4:39

GoogleCodeExporter commented 8 years ago
There is now a CAPTCHA in to be filled out if you want to export your contacts.
I suppose this means you will have to parse and retrieve each contact one by 
one.

Original comment by blank...@gmail.com on 24 Feb 2009 at 2:16

GoogleCodeExporter commented 8 years ago
Hi:

I'm using contactlistimporter and I think is great, but I have the same the 
problem
that softmahis says, but I don't understand quite good about the "parse and 
retrieve
each contact one by one" solution.  Could you explain it a little more, it would
really help me.

Thank you so much in advance,  and great work by the way  :)

Original comment by rogelio....@gmail.com on 13 Mar 2009 at 8:24

GoogleCodeExporter commented 8 years ago
I meant this as a suggestion as to how to fix the code.
The project owner or somebody else will have to fix the code so each contect is
retrieved and parsed separately. It will allways be fragile and probably slow 
too.
I guess oauth is the way to go these days.

Original comment by blank...@gmail.com on 14 Mar 2009 at 3:03

GoogleCodeExporter commented 8 years ago
iam getting the same exception using hotmail
but when iam using guess method  no contacts are displayed
number of contacts displayed is zero

Original comment by arrojusr...@gmail.com on 3 Apr 2009 at 2:09

Attachments:

GoogleCodeExporter commented 8 years ago
I have the same issues, it wont import any contacts from Yahoo or Hotmail. GMail
works fine.

Original comment by gurpreet...@gmail.com on 30 Apr 2009 at 3:44

GoogleCodeExporter commented 8 years ago
the hotmail does not retrive the hotmail ids ? did any body fix this?
please help me 
Thanks,
Srikanth A

Original comment by arrojusr...@gmail.com on 25 May 2009 at 9:45

GoogleCodeExporter commented 8 years ago
First of all, I am not Ad sucher,but from 
http://svetlozar.***/address-book-importer-
demo.html,can we get some ideas from the php version, because I notice their 
demo 
seems to be always working, whenever hotmail changes its mechanism of loggin, 
any 
info or advice will be appreciated.

Original comment by qian.liu...@gmail.com on 25 May 2009 at 9:28

GoogleCodeExporter commented 8 years ago
I have the same issue ,the hotmail ids are not retrived,can any body fix this 
?please
help me

Thanks
Bhavani

Original comment by lbbhav...@gmail.com on 26 May 2009 at 4:48

GoogleCodeExporter commented 8 years ago
can any body solve the hotmail Issue? please help me

Original comment by lbbhav...@gmail.com on 29 May 2009 at 2:03

GoogleCodeExporter commented 8 years ago
Anybody solve the hotmail issue?????

Original comment by prasanna...@gmail.com on 6 Jun 2009 at 7:14

GoogleCodeExporter commented 8 years ago
i dont think this defect's priority should be medium, since this importer works 
only
for hotmail gmail and yahoo. and right now most of them are not working...

Original comment by fefewa...@gmail.com on 10 Jun 2009 at 3:32

GoogleCodeExporter commented 8 years ago
I am trying to import hotmail contacts and it is not working fine. here is the
exception that i am getting with simple "guess" method import

----------------------------
Jul 7, 2009 6:06:24 PM
com.xdatasystem.contactsimporter.hotmail.AbstractHotmailImporter 
loginAndRedirect
INFO: Performing login
Jul 7, 2009 6:06:24 PM com.xdatasystem.contactsimporter.WebClient doPost
INFO: POST https://login.live.com/ppsecure/post.srf?id=2&bk=1246968463
Jul 7, 2009 6:06:28 PM
com.xdatasystem.contactsimporter.hotmail.AbstractHotmailImporter 
loginAndRedirect
INFO: Redirecting to GN1K18 2009.05.08.01.28.02 Live1 Unknown LocVer:0 --><!--
PreprocessInfo: btsa007:TK1ESRVBLDA114,  -- Version: 6,500,12348,0 --><html dir=
Exception in thread "main"
com.xdatasystem.contactsimporter.ContactListImporterException: Exception 
occured:
Illegal character in scheme name at index 6: GN1K18 2009.05.08.01.28.02 Live1 
Unknown
LocVer:0 --><!-- PreprocessInfo: btsa007:TK1ESRVBLDA114,  -- Version: 
6,500,12348,0
--><html dir=
        at
com.xdatasystem.contactsimporter.ContactListImporterImpl.getContactList(ContactL
istImporterImpl.java:102)
        at javaapplication6.Main.main(Main.java:27)
Caused by: java.net.URISyntaxException: Illegal character in scheme name at 
index 6:
GN1K18 2009.05.08.01.28.02 Live1 Unknown LocVer:0 --><!-- PreprocessInfo:
btsa007:TK1ESRVBLDA114,  -- Version: 6,500,12348,0 --><html dir=
        at java.net.URI$Parser.fail(URI.java:2809)
        at java.net.URI$Parser.checkChars(URI.java:2982)
        at java.net.URI$Parser.parse(URI.java:3009)
        at java.net.URI.<init>(URI.java:578)
        at org.apache.http.client.methods.HttpGet.<init>(HttpGet.java:73)
        at com.xdatasystem.contactsimporter.WebClient.doGet(WebClient.java:109)
        at
com.xdatasystem.contactsimporter.hotmail.AbstractHotmailImporter.loginAndRedirec
t(AbstractHotmailImporter.java:104)
        at
com.xdatasystem.contactsimporter.hotmail.LiveHotmailImporter.login(LiveHotmailIm
porter.java:49)
        at
com.xdatasystem.contactsimporter.hotmail.HotmailImporterProxy.login(HotmailImpor
terProxy.java:57)
        at
com.xdatasystem.contactsimporter.ContactListImporterImpl.getContactList(ContactL
istImporterImpl.java:91)
        ... 1 more
Java Result: 1
----------------------------

Original comment by blackish...@gmail.com on 7 Jul 2009 at 12:14