Ticket #172 (new defect)

Opened 2 months ago

Last modified 2 months ago

Error in self-updater code. Self-updater code should be removed.

Reported by: mjk49..@yahoo.com Assigned to:
Priority: major Milestone:
Version: 0.8.20080609.0 Keywords:
Cc:

Description

I'm seeing the following error periodically in Firefox 3.0.1:

Error: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIPrefBranch.getComplexValue] Source file: chrome://greasemonkey/content/updater.js Line: 138

Looking at the code, it appears that the code is trying to check for updates to GreaseMonkey? every 24 hours. Firefox already automatically checks for updates periodically, so the updater.js code is redundant and should be removed.

Attachments

Change History

09/23/08 08:45:08 changed by aranti..@gmail.com

I agree. Firefox does extension updating just fine on its own.

(follow-up: ↓ 3 ) 09/29/08 09:04:08 changed by ir..@irae.pro.br

Having same problem here. I'm not sure, but this could be an issue with Firebug.

I'm receiving the message:

[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIPrefBranch.getComplexValue]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://greasemonkey/content/updater.js :: anonymous :: line 138" data: no]

And after that a full stack from my site's function calls. I'm sure this was not triggered by my site since the code has no periodical timer running.

I'm also suspecting that this is an Mac issue, since NS_ERROR_FAILURE resambles me to be from the cocoa framework. (NS stands for Netscape or for NextStep??)

This is updater for the userscripts, right? Not for the extension.

One last note: I'm receiving this multiple times a day. Since FF3 betas til now. Firefox 3.0.2 and Greasemonkey 0.8.20080609.0

Let me know if you need further info on the problem.

(in reply to: ↑ 2 ; follow-up: ↓ 4 ) 09/29/08 09:38:35 changed by anonymous

Replying to ir..@irae.pro.br:

This is updater for the userscripts, right? Not for the extension.

GreaseMonkey? is trying to check for updates to itself (the extension), not the userscripts. There is no current system to check for updates to userscripts (see Ticket #45).

The updater.js appears to be generic code used to check for updates to extensions. I'm not sure why it's needed since Firefox has checked for updated extensions since version 1.0. I'm not sure if Songbird does, but I would assume it does since it was branched off a recent version of the Mozilla core code.

(in reply to: ↑ 3 ) 09/29/08 09:39:23 changed by morac99-firef..@yahoo.com

Replying to ir..@irae.pro.br:

This is updater for the userscripts, right? Not for the extension.

GreaseMonkey? is trying to check for updates to itself (the extension), not the userscripts. There is no current system to check for updates to userscripts (see Ticket #45).

The updater.js appears to be generic code used to check for updates to extensions. I'm not sure why it's needed since Firefox has checked for updated extensions since version 1.0. I'm not sure if Songbird does, but I would assume it does since it was branched off a recent version of the Mozilla core code.

09/29/08 09:40:03 changed by morac99-firef..@yahoo.com

Oops sorry for the double post.


Add/Change #172 (Error in self-updater code. Self-updater code should be removed.)