Closed Bug 443762 Opened 16 years ago Closed 16 years ago

Can't install any add-ons/extensions to Firefox 3

Categories

(Toolkit :: Add-ons Manager, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 431065

People

(Reporter: hottarod2, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0

I've tried to install a dozen or more add-on's or extensions to Firefox 3.0

none will install, get the same error
I am running the default theme
Windows XP, plenty of ram, disc, everything, duocore

Reproducible: Always

Steps to Reproduce:
1.pick any add-on or extension for Firefox 3.0 included recommended ones
2.click install
3.get unexpected installation error
Actual Results:  
Firefox could not install the file at 

https://addons.mozilla.org/en-US/firefox/downloads/file/30748/foxytunes-3.0.2-fx+mz+tb+sm.xpi

because: Unexpected installation error
Review the Error Console log for more details.
-203

Expected Results:  
Obviously it would be nice to install the thing

Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsISafeOutputStream.finish]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: file:///D:/My%20Program%20Files/Mozilla%20Firefox/components/nsExtensionManager.js :: closeSafeFileOutputStream :: line 508"  data: no]
Source File: file:///D:/My%20Program%20Files/Mozilla%20Firefox/components/nsExtensionManager.js
Line: 508

the offending function

/**
 * Closes a safe file output stream.
 * @param   stream
 *          The stream to close.
 */
function closeSafeFileOutputStream(stream) {
  if (stream instanceof Ci.nsISafeOutputStream)
    stream.finish();
  else
    stream.close();


I'm not sure which invocation caused it but the error happens after the file is downloaded and right before it would normally say installation complete.
Line 508 is the stream.finish(); statement.

Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.