many Exception... "update.locale file doesn't exist" in console

Bug #411691 reported by skierpage
44
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Mozilla Firefox
Won't Fix
Medium
firefox-3.5 (Ubuntu)
Fix Released
Low
Micah Gersten
iceweasel (Debian)
Fix Released
Unknown
thunderbird (Ubuntu)
Fix Released
Low
Micah Gersten

Bug Description

Binary package hint: thunderbird

I installed Thunderbird in Kubuntu 9.04 amd x64 from your PPA and the Ubuntu packaging machinery has been updating it OK via KPackageKit. I'm currently running
Thunderbird 3b4 Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3pre) Gecko/20090809 Shredder/3.0b4pre

Thunderbird works OK but every few minutes the same error appears in the Error Console:

Error: [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/thunderbird-3.0b4pre/components/nsUpdateService.js :: getLocale :: line 549" data: no]
Source File: file:///usr/lib/thunderbird-3.0b4pre/components/nsUpdateService.js
Line: 549

indeed there is no update.locale file in /usr/lib/thunderbird-3.0b4pre, the only file starting with "update' is components/update.xpt. However, I started with my existing Thunderbird 3b2 Windows profile, and in Edit > Preferences > Advanced > Config Editor there are a lot of settings for app.update. But there is no Help > Check for Updates in the Thunderbird UI in Kubuntu. So perhaps the glitch is that your Thunderbird build does not expect to perform Check for Updates but about.config settings can make it check anyway, leading to errors.

What I expect to happen is never to see errors about update if the Ubuntu Thunderbird package isn't doing them.

FWIW the identical error message is in the Mozilla bug report https://bugzilla.mozilla.org/show_bug.cgi?id=507719 , but in a very different situation (Firefox in WinCE).

% apt-cache policy thunderbird-3.0
thunderbird-3.0:
  Installed: 3.0~b4~hg20090809r3262+nobinonly-0ubuntu1~umd1~jaunty
  Candidate: 3.0~b4~hg20090810r3269+nobinonly-0ubuntu1~umd1~jaunty
  Version table:
     3.0~b4~hg20090810r3269+nobinonly-0ubuntu1~umd1~jaunty 0
        500 http://ppa.launchpad.net jaunty/main Packages
 *** 3.0~b4~hg20090809r3262+nobinonly-0ubuntu1~umd1~jaunty 0
        100 /var/lib/dpkg/status

Tags: fixed-3.6
Revision history for this message
In , Robert-bugzilla (robert-bugzilla) wrote :

I haven't seen this at all while fixing the updater for WinCE. Where did you get this build?

Revision history for this message
In , Paul-oshannessy (paul-oshannessy) wrote :

The 20090727 build was built with --disable-updater which means that the locale file wasn't copied over. In theory we shouldn't ever try to access that as a result, but it looks like we do. Rob says this isn't [nv] specific so I'll leave the rest to him.

Revision history for this message
skierpage (skierpage) wrote :

Binary package hint: thunderbird

I installed Thunderbird in Kubuntu 9.04 amd x64 from your PPA and the Ubuntu packaging machinery has been updating it OK via KPackageKit. I'm currently running
Thunderbird 3b4 Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3pre) Gecko/20090809 Shredder/3.0b4pre

Thunderbird works OK but every few minutes the same error appears in the Error Console:

Error: [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/thunderbird-3.0b4pre/components/nsUpdateService.js :: getLocale :: line 549" data: no]
Source File: file:///usr/lib/thunderbird-3.0b4pre/components/nsUpdateService.js
Line: 549

indeed there is no update.locale file in /usr/lib/thunderbird-3.0b4pre, the only file starting with "update' is components/update.xpt. However, I started with my existing Thunderbird 3b2 Windows profile, and in Edit > Preferences > Advanced > Config Editor there are a lot of settings for app.update. But there is no Help > Check for Updates in the Thunderbird UI in Kubuntu. So perhaps the glitch is that your Thunderbird build does not expect to perform Check for Updates but about.config settings can make it check anyway, leading to errors.

What I expect to happen is never to see errors about update if the Ubuntu Thunderbird package isn't doing them.

FWIW the identical error message is in the Mozilla bug report https://bugzilla.mozilla.org/show_bug.cgi?id=507719 , but in a very different situation (Firefox in WinCE).

% apt-cache policy thunderbird-3.0
thunderbird-3.0:
  Installed: 3.0~b4~hg20090809r3262+nobinonly-0ubuntu1~umd1~jaunty
  Candidate: 3.0~b4~hg20090810r3269+nobinonly-0ubuntu1~umd1~jaunty
  Version table:
     3.0~b4~hg20090810r3269+nobinonly-0ubuntu1~umd1~jaunty 0
        500 http://ppa.launchpad.net jaunty/main Packages
 *** 3.0~b4~hg20090809r3262+nobinonly-0ubuntu1~umd1~jaunty 0
        100 /var/lib/dpkg/status

Revision history for this message
Marlin Forbes (datashaman) wrote :

This same error is occuring in the OEM packaging of FireFox 3.5.2 (codenamed Shiretoko) for LinuxMint 7. This same bug has been reported upstream in Debian BTS as #540784 at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540784

Revision history for this message
Marlin Forbes (datashaman) wrote :

The linked thread from the Debian bug report says to simply touch the missing file:

http://groups.google.com/group/mozilla.feedback.firefox/browse_thread/thread/cc67945318eafad3/2c3b310cf1cb3f97?lnk=raot

I assume that Thunderbird is using the same Gecko/Mozilla rendering code, hence the same error in different packages.

Revision history for this message
In , Vladimir Vukicevic (vvuk) wrote :

I'm going to move this to all/all and remove [nv], since it sounds like it's something that we're doing with --disable-updater that we shouldn't be.

Revision history for this message
In , Robert-bugzilla (robert-bugzilla) wrote :

It is a non-critical error when specifying --disable-updater. I am working on splitting out the timer code from app update to get rid of this error. I've already made it so this is possible with Sunbird, Thunderbird, and Firefox though Seamonkey's flat chrome prevents them from using preprocessing so they aren't fixed yet. As I have time I'll make this happen and just let Seamonkey figure out how they'd like to fix this for Seamonkey.

Revision history for this message
In , Mozilla-bugs-micahscomputing (mozilla-bugs-micahscomputing) wrote :
Revision history for this message
In , Robert-bugzilla (robert-bugzilla) wrote :

Created an attachment (id=398599)
patch rev1

Vlad, this is due to the app update component being present even when --disable-updater is specified along with the presence of the app.update.url pref which requires the update.locale file for %LOCALE%. I plan on making it so the app update component isn't built while still building nsIUpdateTimerManager in another bug.

Revision history for this message
Micah Gersten (micahg) wrote :

This is a non-critical file that is related to the updater that we don't have enabled in Ubuntu. Upstream is working on a fix for this.

Changed in firefox-3.5 (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Changed in thunderbird (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Micah Gersten (micahg)
Changed in firefox-3.5 (Ubuntu):
assignee: nobody → Micah Gersten (micahg)
Changed in firefox:
status: Unknown → Confirmed
Micah Gersten (micahg)
Changed in firefox-3.5 (Ubuntu):
milestone: none → ubuntu-9.10
Changed in firefox:
status: Confirmed → In Progress
Revision history for this message
In , Robert-bugzilla (robert-bugzilla) wrote :

(From update of attachment 398599)
I'm going to take care of this in bug 471219 though I may want to try to get a small portion of this into 1.9.1.x

Revision history for this message
In , Robert-bugzilla (robert-bugzilla) wrote :

This is fixed on trunk and will likely be fixed on the 1.9.2 branch by the landing of bug 471219. I'm changing the version to 1.9.1 on this bug in case we want to address this separately there since bug 471219 will not be landing on the 1.9.1 branch.

Micah Gersten (micahg)
tags: added: fixed-3.6
Changed in iceweasel (Debian):
status: Unknown → Fix Released
Revision history for this message
In , Vlad-todosv (vlad-todosv) wrote :

[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.3/components/nsUpdateService.js :: getLocale :: line 549" data: no]
file:///usr/lib/xulrunner-1.9.1.3/components/nsUpdateService.js
Line 549

I think you already figured it out, but I post this just in case it may be useful.

Revision history for this message
Alexander Sack (asac) wrote :

bzr commit -m '* fix LP: #411691 - many Exception... "update.locale file doesn't exist" in
  console"; patch by Micah Gersten <email address hidden>
  - update debian/rules' --fixes 'lp:411691'
Committing to: bzr+ssh://bazaar.launchpad.net/~mozillateam/firefox/firefox-3.1.head/
modified debian/changelog
modified debian/rules
Committed revision 479.

Changed in firefox-3.5 (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Micah Gersten (micahg) wrote :

In 3.5.3+build1+nobinonly-0ubuntu5

Changed in firefox-3.5 (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
In , Robert-bugzilla (robert-bugzilla) wrote :

Since this is fixed on 1.9.2 and the error doesn't actually harm anything I'm resolving this as wontfix.

Changed in firefox:
status: In Progress → Won't Fix
Micah Gersten (micahg)
Changed in thunderbird (Ubuntu):
assignee: nobody → Micah Gersten (micahg)
milestone: none → maverick-alpha-3
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package thunderbird - 3.0.6+build2+nobinonly-0ubuntu1

---------------
thunderbird (3.0.6+build2+nobinonly-0ubuntu1) maverick; urgency=low

  * New upstream release v3.0.6 (THUNDERBIRD_3_0_6_BUILD2)
    - see USN-958-1

  [ Chris Coulson <email address hidden> ]
  * Fix LP: #600217 - StartupWMClass value in thunderbird.desktop file is
    not correct
    - update debian/thunderbird.desktop

  [ Micah Gersten <email address hidden> ]
  * Fix LP: #590452 - Thunderbird needs change for dictionary transition;
    Use hunspell dictionaries for Maverick and later
    - update debian/rules
  * Fix LP: #569762 - Thunderbird's .desktop file does not contain russian
    translation; Thanks to Igor Zubarev for the translation
    - update debian/thunderbird.desktop
  * Fix LP: #563535 - thunderbird -g fails due to invoking "$LIBDIR/$META_NAME"
    instead of "$LIBDIR/$META_NAME"-bin
    - update debian/thunderbird.sh.in
  * Fix LP: #411691 - many Exception... "update.locale file doesn't exist" in
    console
    - update debian/rules
 -- Micah Gersten <email address hidden> Tue, 13 Jul 2010 08:59:50 -0500

Changed in thunderbird (Ubuntu):
status: Triaged → Fix Released
Changed in firefox:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.