[Bug 212644] [NEW] can't install any extension
Tian Congxin
tiancongxin at gmail.com
Sun Apr 6 03:03:24 UTC 2008
Public bug reported:
Binary package hint: firefox-2
Firefox extensions couldn't be installed , everytime to install any extension,it says "Unexpected installation error,Review the error console for more details ", and Error console displayed:
"
installLocation has no properties
file:///usr/lib/firefox/components/nsExtensionManager.js Line:7647
"
Below is code possibly cause problem in file nsExtensionManager.js:
/**
* Gets an URL to a theme's image file
* @param item
* The RDF Resource representing the item
* @param fileName
* The file to locate a URL for
* @param fallbackURL
* If the location fails, supply this URL instead
* @returns An RDF Resource to the URL discovered, or the fallback
* if the discovery failed.
*/
_getThemeImageURL: function(item, fileName, fallbackURL) {
var id = stripPrefix(item.Value, PREFIX_ITEM_URI);
var installLocation = this._em.getInstallLocation(id);
var file = installLocation.getItemFile(id, fileName)
if (file.exists())
return gRDF.GetResource(getURLSpecFromFile(file));
if (id == stripPrefix(RDFURI_DEFAULT_THEME, PREFIX_ITEM_URI)) {
var jarFile = getFile(KEY_APPDIR, [DIR_CHROME, FILE_DEFAULT_THEME_JAR]);
var url = "jar:" + getURLSpecFromFile(jarFile) + "!/" + fileName;
return gRDF.GetResource(url);
}
return fallbackURL ? gRDF.GetResource(fallbackURL) : null;
},
Ubuntu:
Description: Ubuntu hardy (development branch)
Release: 8.04
firefox-2:
Installed: 2.0.0.13+1nobinonly-0ubuntu1
Candidate: 2.0.0.13+1nobinonly-0ubuntu1
Version table:
*** 2.0.0.13+1nobinonly-0ubuntu1 0
500 http://archive.ubuntu.com hardy/universe Packages
100 /var/lib/dpkg/status
** Affects: firefox (Ubuntu)
Importance: Undecided
Status: New
--
can't install any extension
https://bugs.launchpad.net/bugs/212644
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in ubuntu.
More information about the Ubuntu-mozillateam-bugs
mailing list