[Sparkle] dreaded update error....

Jerry Krinock jerry at sheepsystems.com
Fri Aug 17 17:05:08 PDT 2007


On 2007 Aug, 17, at 14:21, Jeremy Matthews wrote:

> The error (on update attempt) says:
> "Update Error!"
> "An error occurred in retrieving update information;
> are you connected to the internet? Please try again
> later."
>
> I most certainly am connected to the internet...I can see the both
> the enclosure (files) and the feed just fine...

Good.  That is indeed what what I meant by "better description".  The  
next step is to the the source code for the string "An error occurred  
in retrieving update information" and see what could cause the  
NSAlert.  The answer is that there are two possibilities:

(1) An exception in the @try block at SUAppcast.m line 47
(2) An exception in the @try block at SSUpdate.m line 304

I'd suspect a weird exception, because it looks like they've made  
some effort to handle most of the common errors.

So, I believe you need to download the Sparkle source code using  
subversion if you have not done so already.  (See list archives a  
couple months back...Andy Matuschak told me how to do it).  Then,  
choose your poison from these suggestions:

(a) Study the code and make an educated guess at the cause
(b) Pepper it with NSLogs, rebuild, run your app
        and look in Console to see where it croaked so
        you can make a "more educated" guess.
(c) Try simplifying that appcast which you're so
        confident has been perfectly built by Feeder.
        You know, looking at that code, it does appear
        to me as though Sparkle has received your appcast
        and is trying to parse it when it croaks.  Hmmmmm.




More information about the Sparkle mailing list