2009-07-28

Firefox Firebug console dropping strange js errors

I am using the Firebug Firefox extension for web developers. It all the time shows strange messages which not related to the current website under debug. I see something like:
[Exception... "update.locale file doesn't exist in either the XCurProcD or GreD directories" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: file:///usr/lib/xulrunner-1.9.1.2pre/components/nsUpdateService.js :: getLocale :: line 549" data: no]
[Break on this error] " directories", Cr.NS_ERROR_FILE_NOT_FOUND);\n
Read about the internet and found a solution, to create the missing but in the previous versions probably existing file. Use one of the lines, depending on you firefox version:
sudo touch /usr/lib/firefox-3.5.1/update.locale
sudo touch /usr/lib/firefox-3.5.2pre/update.locale

1 comment: