New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check for downloads - inconsistencies #640
Comments
I've seen it too. I've even seen it propose updates while offline (!). And it will cause a hang at launch if there's no network (and everything goes fine) since it's a synchronous call. I guess you're right about the line you've pointed out, we don't check the error that could be returned... I'd say another value to the enum above would take care of that ;-). |
That's what I've seen, referring to a version with no version number. Are you happy to work on this, as you know it best (the enums stuff etc.) or are you too busy atm? :) |
Sadly, I'm busy, and I will be for at least 1 month... But it's not too hard, so I'm giving directions :
This will fix the no-version-number dialog, but not the stall at startup if there's no network. This would require changing the NSURLConnection call to |
If you've got a second: This It seems like it's trying to do what we're talking about, but checking for On 16 January 2012 20:59, Etienne Samson <
|
That's what I thought too ;-). But that's how it was first. This checks that the data wasn't nil (like you would expect when network is down/the update system fails, which is the case we need now) and that it's not too large (like if someone accidentally puts a 10Mb pdf instead of a plain 4 character string). |
Hmm... but you've changed it to be not quite the same. Previously it was The |
Wasn't this fixed with #641? |
I believe so, yes. I'm not so sure about the bug with the blank version number, but I'll close and keep testing |
There are a couple of things I noticed whilst being on a non-web connected computer for a while, and clicking the 'check for updates now' button in the prefs
I know @tiennou has recently overhauled the Update system, does this line [1] just need modifying to store the error and to check it.
[1]
Quicksilver/Quicksilver/Code-App/QSUpdateController.m
Line 119 in 0441ec4
The text was updated successfully, but these errors were encountered: