Share

SCAN

Subscribe

Unable to sync del.icio.us account

  1. 2009-11-03 17:15:56 UTC

    Hi all,

    I just tried to add a del.icio.us account to SCAN 1.3 (running in Linux with Java 1.6) for the first time, but am getting an error message:

    > "Error retrieving location! The > service in unavailable or busy. Try > again later. Response parsing error."

    On the command line it also shows:

    [INFO] Update location: delicious:pwnedd
    Nov 3, 2009 12:09:26 PM org.apache.commons.httpclient.HttpMethodBase processResponseHeaders
    WARNING: Cookie rejected: "$Version=0; delicious_us_production=J.Yz6ajbTxecb3R6RMmfm9VNbX4UaZgw5TAb3aVf.IsLL_ZR6h7V546bh4AqzOgh6rkKyiqmBg1.7DzaIICGmDygjP1LdGUqkasRq73EFIbV_PPpEWWbqCWMUYYQ7ZcO9W4PR_oYqbmBvFGoQJWBKse...w.4uxxV_JeQLJNlW3vfa.vSVZUp19gaXlyLagjXqAQh.vayP18ycIeTn7lCARbZDdgg1bwiODqB0EdDZvSr1NKK2nQdLvgYlMXPYLGBVwM4fqLJA8wF1lYfZS05MbrDDDyVwrLvtxGo-; $Path=/; $Domain=.delicious.com". Illegal domain attribute ".delicious.com". Domain of origin: "api.del.icio.us"
    Nov 3, 2009 12:09:26 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
    INFO: basic authentication scheme selected
    Nov 3, 2009 12:09:26 PM org.apache.commons.httpclient.HttpMethodBase processResponseHeaders
    ...
     [INFO] Del.icio.us account 'pwnedd' updated at Tue Nov 03 11:48:59 EST 2009
    [Fatal Error] :9:7: The string "--" is not permitted within comments.
    Nov 3, 2009 12:09:26 PM del.icio.us.Delicious getAllPosts
    SEVERE: org.xml.sax.SAXParseException: The string "--" is not permitted within comments.
     [SEVERE] Error retrieving location!
    The service is unavailable or busy.
    Try again later.
    Thrown: del.icio.us.DeliciousException: Response parsing error
    
    Error retrieving location!
    The service is unavailable or busy.
    Try again later.
    del.icio.us.DeliciousException: Response parsing error
    del.icio.us.DeliciousException: Response parsing error
        at del.icio.us.Delicious.getAllPosts(Delicious.java:625)
        at del.icio.us.Delicious.getAllPosts(Delicious.java:638)
        at com.viceversatech.scan.providers.delicious.DeliciousLocation.initLocation(DeliciousLocation.java:146)
        at com.viceversatech.scan.providers.delicious.DeliciousLocation.documentURIs(DeliciousLocation.java:198)
        at com.viceversatech.scan.impl.LuceneIndex.updateLocation(LuceneIndex.java:544)
        at com.viceversatech.scan.impl.RepositoryImpl.updateLocation(RepositoryImpl.java:472)
        at com.viceversatech.scan.ui.plugins.collection.CollectionPanel$13$1.run(CollectionPanel.java:489)
    Caused by: org.xml.sax.SAXParseException: The string "--" is not permitted within comments.
        at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
        at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
        at del.icio.us.Delicious.getAllPosts(Delicious.java:585)
        ... 6 more
     [INFO] Updating completed:delicious:pwnedd (updated=0 new=0 deleted=0 failures=0) [2040ms]
    

    Any ideas?

    Thanks! Keith

  2. 2009-11-04 15:09:44 UTC

    Hi,

    This is a known issue with Del.icio.us. In brief: Delicious server sends an unrecognizable response to your computer.

    It usually means what it says: "The service is unavailable or busy" but also may be caused by throttling in the API (see http://delicious.com/help/api). Note that your account may still be working via the web, but the API service that SCAN plugin uses is a bit different thing - sometimes it goes down unless everything is ok with the web-interface.

    Another attempt of adding the location after some time usually works. I however think that Delicious plugin could more smart in this situation - like to make few repeating attempts automatically before it gives up.

  3. 2009-11-04 15:49:05 UTC

    Hi Alexeya,

    Thanks for the reply and explanation. I tried again today and sure enough it worked well :)

    Perhaps an even simpler message would be to hide the error output and exception-related messages, and simply display something along the lines of "Del.icio.us is currently not responding. This is normal, and the best solution is to simply try again later."

< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.