An error occurred in retrieving update information.

Asked by SQLabs

I am currently using Sparkle version 1.5b6.
I just released an update for my app but each time I add:
sparkle:version="3.0.1"
or
sparkle:dsaSignature="..."
to the <enclosure tag the app refuses to parse the appcast xml file and I get a:
"Update Error! An error occurred in retrieving update information. Please try again later." and I can just Cancel the Update.

From the console app I can see:
Sparkle Error: An error occurred in retrieving update information. Please try again later.
Sparkle Error (continued): An error occurred while parsing the update feed.

Any idea?
Thanks a lot,
Marco Bambini

Question information

Language:
English Edit question
Status:
Solved
For:
Sparkle Edit question
Assignee:
No assignee Edit question
Solved by:
Andy Matuschak
Solved:
Last query:
Last reply:
Revision history for this message
Andy Matuschak (andymatuschak) said :
#1

Please post a link to your appcast.

Revision history for this message
SQLabs (marco-sqlabs) said :
#2

Hello Andy,

here you go the appcast link:
http://www.sqlabs.com/versions/pdfgarden3.xml

Thanks a lot.
Marco

Revision history for this message
Best Andy Matuschak (andymatuschak) said :
#3

You need to define the "sparkle" namespace like so:

<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/">

Funny, it used to complain but still work if that was missing. New NSXMLDocument behavior in 10.6?

Revision history for this message
SQLabs (marco-sqlabs) said :
#4

Thanks Andy Matuschak, that solved my question.

Revision history for this message
Rosijanni (jagaller) said :
#5

I've got the same error and the same console entry.
But the solution wont work for me…

Could it possible, that https is not supported? And I use the

info property list:
<key>SUEnableSystemProfiling</key>
<true/>
<key>SUFeedURL</key>
<string>https://…/profiling/profileInfo.php</string>
<key>SUPublicDSAKeyFile</key>
<string>dsa_pub.pem</string>

appcast:
<?xml version="1.0" encoding="utf-8"?>

<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/">

   <channel>
      <title>…</title>
      <link>https://…/appcast.xml</link>
      <description>Most recent changes with links to updates.</description>
      <language>en</language>

         <item>
            <title>Version 0.1 (inital commit)</title>
      <sparkle:releaseNotesLink>
       https:/…/releasenotes/0.1.html
      </sparkle:releaseNotesLink>
            <pubDate>Thu, 23 Feb 2012 16:00:00 +0000</pubDate>

            <enclosure url="https://…/builds/0_1.zip" sparkle:version="0.1" length="1782579" type="application/octet-stream" sparkle:dsaSignature="xxxxxx" />
         </item>

   </channel>
</rss>

Revision history for this message
Rosijanni (jagaller) said :
#6

UPDATE:

In my profileConfig.php I had to change the appcast-url.
from:
$appcastURL = "https://…/appcast.xml";
to:
$appcastURL = "../appcast.xml";

That works now for me 8)