vieten / sequel-pro

Automatically exported from code.google.com/p/sequel-pro
Other
0 stars 0 forks source link

Application update failure - Sparkle performing partial updates #1114

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.While in use, I got a notifier, saying there was a new version available.
2.I clicked something like "install and restart"

What is the expected output? What do you see instead?

I expected the newly installed app to work.

Instead, Sequel Pro is now a generic icon with a crossed-circle through it, and 
the notifier "You can't open the application SequelPro.app because it may be 
damaged or incomplete." It was only 188kB.

What version of Sequel Pro are you using? What version of MySQL are you
connecting to on the server?

Unknown, but probably latest version minus one. MySQL is whatever Apple 
supports via Software Update on Snow Leopard Server.

This is probably just a transient error. I have manually downloaded and 
installed your latest, and at first, it refused to run. The I force-quit the 
broken copy (which apparently worked well enough to create a process, although 
it was not in the Dock) and re-copied, and it appears to be working fine.
Please provide any additional information below.

Original issue reported on code.google.com by GoatOnAR...@gmail.com on 7 Jul 2011 at 11:46

GoogleCodeExporter commented 9 years ago
Thanks for the report.  We've seen a few instances of the subsequent crash 
logs; basically, the Sparkle updater we use seems to sometimes fail to install 
libraries or other vital components.  This is particularly odd as we sign our 
updates (which are verified by Sparkle) so that the full update file *must* 
have been received.

Is there anything helpful in the Console for around that time?  
(/Applications/Utilities/Console.app)

Original comment by rowanb@gmail.com on 8 Jul 2011 at 10:02

GoogleCodeExporter commented 9 years ago
I see this from time to time with different apps using Sparkle.

Another very common Sparkle bug is that an update will fail if you wait to long 
between downloading and installing it (have not tried that one with SP)

Original comment by schlabbe...@gmail.com on 9 Jul 2011 at 1:11

GoogleCodeExporter commented 9 years ago
rowanb wrote: Is there anything helpful in the Console for around that time? 
(/Applications/Utilities/Console.app)

Nothing in CrashReporter nor DiagnosticReports, and searching AllMessages for 
"sequel" shows nothing. Is there a better search string I should use?

Original comment by GoatOnAR...@gmail.com on 9 Jul 2011 at 2:10

GoogleCodeExporter commented 9 years ago
schlabbe, there was no wait between download and install, as I was using 
SequelPro's built-in update mechanism. I simply clicked the "update and 
install" button.

Original comment by GoatOnAR...@gmail.com on 9 Jul 2011 at 2:12

GoogleCodeExporter commented 9 years ago
I also tried the 1.0 updater today, was running the previous latest (9.9.1 
maybe?).
The updated appeared to be successful, but when I relaunched it crashed 
repeatedly.

I removed everything with the name SequelPro from my Library, and that works, 
but now of course, I've lost all my favorites.  Where should I look for them in 
Time Machine, and is it safe to just restore from an old vesion?

Original comment by john.bur...@alumni.brown.edu on 29 Jan 2013 at 4:10

GoogleCodeExporter commented 9 years ago
Hmm, I see now that this was an old thread. Perhaps I should have started a new 
one.  Oh well.

Original comment by john.bur...@alumni.brown.edu on 29 Jan 2013 at 4:12

GoogleCodeExporter commented 9 years ago
Hi John,

There's two reasons it could have been crashing: Sparkle occasionally doesn't 
update libraries correctly, or it looks like there might be a bug with previous 
favourite selections causing crashes sometimes during the migration routine.  
If it's the former, the crash message would say something like "image not 
found"; if the latter, "Terminating app due to uncaught exception 
'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]...".

It sounds like the latter.  What you want to do is the following:
1) Quit Sequel Pro
2) Restore ~/Library/Preferences/com.google.code.sequel-pro.plist (might be in 
your trash as well as time machine)
3) Delete ~/Library/Preferences/com.sequelpro.SequelPro.plist if it exists
4) Delete ~/Library/Application Support/Sequel Pro/Data/Favorites.plist if it 
exists
5) Go back to running 0.9.9.1 for now (old versions available at 
http://www.sequelpro.com/release-archive ) and wait for the 1.0.1 update to 
appear, which should be very soon :)

Original comment by rowanb@gmail.com on 29 Jan 2013 at 4:18

GoogleCodeExporter commented 9 years ago

Original comment by stuart02 on 21 Oct 2013 at 6:18