Error migrating extensions to be in-profile

Bug #918052 reported by Micah Gersten
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubufox (Ubuntu)
Invalid
Medium
Unassigned
Lucid
Fix Released
Medium
Unassigned
Maverick
Fix Released
Medium
Unassigned

Bug Description

NOTE: Anyone running with older versions of this upgrade need to reset the <email address hidden> in about:config

I tried installing all the addons that were supposed to migrate to in profile. I got an error when Firefox started saying "Firefox encountered an error updating your addons" or something like that (should've screenshot it).

test case:
1. install adblock-plus all-in-one-sidebar downloadstatusbar firebug flashblock flashgot greasemonkey mozvoikko pwdhash ubuntu-it-menu webdeveloper webfav
2. fire up firefox
3. enable proposed
4. dist-upgrade
5. run firefox
upgrade failed for most of the addons except mozvoikko, pwdhash, and ubufox

According to the attached extensions.txt, even pwdhash isn't in-profile, so not sure what's going on.

ProblemType: BugDistroRelease: Ubuntu 10.04
Package: firefox 9.0.1+build1-0ubuntu0.10.04.2
ProcVersionSignature: User Name 2.6.32-37.81-generic 2.6.32.49+drm33.21
Uname: Linux 2.6.32-37-generic i686
AddonCompatCheckDisabled: False
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: I82801AAICH [Intel 82801AA-ICH], device 0: Intel ICH [Intel 82801AA-ICH]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: micah 1972 F.... pulseaudio
BuildID: 20120117091749
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'I82801AAICH'/'Intel 82801AA-ICH with STAC9700,83,84 at irq 10'
   Mixer name : 'SigmaTel STAC9700,83,84'
   Components : 'AC97a:83847600'
   Controls : 34
   Simple ctrls : 24
Channel: release
Date: Wed Jan 18 01:48:55 2012
EtcFirefoxSyspref: Cannot parse /etc/firefox/syspref.js - [Errno 2] No such file or directory: '/etc/firefox/syspref.js'
ForcedLayersAccel: False
IpRoute:
 192.168.122.0/24 dev eth0 proto kernel scope link src 192.168.122.4
 169.254.0.0/16 dev eth0 scope link metric 1000
 default via 192.168.122.1 dev eth0 metric 100
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
Profiles: Profile0 (Default) - LastVersion=9.0.1/20120117091749 (Running)
RfKill:

RunningIncompatibleAddons: FalseSourcePackage: firefox
dmi.bios.date: 01/01/2007
dmi.bios.vendor: Bochs
dmi.bios.version: Bochs
dmi.chassis.type: 1
dmi.chassis.vendor: Bochs
dmi.modalias: dmi:bvnBochs:bvrBochs:bd01/01/2007:svnBochs:pnBochs:pvr:cvnBochs:ct1:cvr:
dmi.product.name: Bochs
dmi.sys.vendor: Bochs

Revision history for this message
Micah Gersten (micahg) wrote :
Changed in firefox (Ubuntu):
status: New → Invalid
description: updated
Changed in firefox (Ubuntu Lucid):
importance: Undecided → Medium
status: New → Triaged
Micah Gersten (micahg)
Changed in firefox (Ubuntu Lucid):
assignee: nobody → Chris Coulson (chrisccoulson)
description: updated
Micah Gersten (micahg)
affects: firefox (Ubuntu) → ubufox (Ubuntu)
Changed in ubufox (Ubuntu Maverick):
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Micah Gersten (micahg) wrote :

This now works with the ubufox packages in lucid-proposed

Changed in ubufox (Ubuntu Lucid):
status: Triaged → Fix Committed
assignee: Chris Coulson (chrisccoulson) → nobody
Changed in ubufox (Ubuntu Maverick):
status: In Progress → Fix Committed
tags: added: maverick verification-done
tags: added: verification-done-lucid
removed: verification-done
tags: added: verification-needed
Micah Gersten (micahg)
description: updated
Revision history for this message
Micah Gersten (micahg) wrote :

This now works with the ubufox packages in maverick-proposed

tags: added: verification-done-maverick
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (3.8 KiB)

This bug was fixed in the package ubufox - 0.9.3-0ubuntu0.10.10.3

---------------
ubufox (0.9.3-0ubuntu0.10.10.3) maverick-security; urgency=low

  * Fix LP: #918052 - Error migrating extensions to be in-profile
    - Migrate the addon to a profile addon even if there is a system-wide
      addon with the same version. It seems this got broken during some recent
      refactoring.
    - For newly installed addons, display the new addon tab, otherwise the
      addon stays disabled

ubufox (0.9.3-0ubuntu0.10.10.1) maverick-security; urgency=low

  * New upstream release.
    - Support Firefox 9 and 10 (LP: #904594)
  * New upstream release v0.9.2
    - Bump maxVersion to 8.*
  * New upstream release v0.9.1
    - Rename AboutHome to AboutStartpage, and have it handle about:startpage now
      (to not conflict with the new about:home handler in Firefox)
    - Set default home page to about:startpage
    - Add support for the XPCOM changes in Gecko 2.0
    - In the restart notifier, don't hardcode a list of filenames for different
      browser versions, but just use MOZ_APP_LAUNCHER instead. This will
      indirectly fix LP: #511250 and should prevent it from happening again
    - Merge the plugin finder code from Firefox 4. This now uses AddonManager,
      so the MinVersion needs to be bumped
    - Drop the FF2.0 specific code
    - Drop the AddonsOverlay and associated code, this hasn't worked for
      several releases since we started using software-center, and nobody
      really noticed so far. We can reimplement this at a later date if wanted,
      but it throws JS exceptions when loading in FF4.0 now
    - Specify for the extension to be unpacked by the installer. Without this,
      the prefs aren't used
    - Get the distributionID field for the pfs URL from the preferences, rather
      than hard-coding a value
    - Fix LP: #579091 - ubufox interferes with toolbar buttons for other add-ons
      Don't initialize or assign any value to gBrowser in alternatePlugins.js.
      It runs in the context of browser.xul, so gBrowser will always exist
      once the browser window has loaded
    - Fix LP: #333799 - set a default dictionary language
    - Don't duplicate preferences that we're already setting in Firefox
    - Update Japanese(ja) translations (LP: #746538)
    - Fix LP: #750305 - Don't hard-code links and configs for each release.
      Rather than doing this manually for every release, we add a dist.js with
      distro information (populated at build time with lsb_release) and just
      do all this automatically.
    - Fix LP: #752364 - Plugin Finder Service never finds anything. Use the
      release info in dist.js to construct the URL, now that this got dropped
      from Firefox
    - Fix LP: #728826 - Update icons to new versions.
    - Drop the pluginGlue.js module. This didn't work, as we can no longer
      use a modules registerSelf method to use nsICategoryManager at startup,
      due to the XPCOM registration changes in Firefox 4. Instead, add
      category entries with the chrome.manifest
    - Fix LP: #709125 - User agent doesn't include Ubuntu in it so
      apt.ubuntu.com doesn't work. We add an extra X-Ub...

Read more...

Changed in ubufox (Ubuntu Maverick):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (4.2 KiB)

This bug was fixed in the package ubufox - 0.9.3-0ubuntu0.10.04.3

---------------
ubufox (0.9.3-0ubuntu0.10.04.3) lucid-security; urgency=low

  * Fix LP: #918052 - Error migrating extensions to be in-profile
    - Migrate the addon to a profile addon even if there is a system-wide
      addon with the same version. It seems this got broken during some recent
      refactoring.
    - For newly installed addons, display the new addon tab, otherwise the
      addon stays disabled

ubufox (0.9.3-0ubuntu0.10.04.1) lucid-security; urgency=low

  * New upstream release v0.9.3
    - Support Firefox 9 and 10 (LP: #904594)
  * New upstream release v0.9.2
    - Bump maxVersion to 8.*
  * New upstream release v0.9.1
    - Rename AboutHome to AboutStartpage, and have it handle about:startpage now
      (to not conflict with the new about:home handler in Firefox)
    - Set default home page to about:startpage
    - Add support for the XPCOM changes in Gecko 2.0
    - In the restart notifier, don't hardcode a list of filenames for different
      browser versions, but just use MOZ_APP_LAUNCHER instead. This will
      indirectly fix LP: #511250 and should prevent it from happening again
    - Merge the plugin finder code from Firefox 4. This now uses AddonManager,
      so the MinVersion needs to be bumped
    - Drop the FF2.0 specific code
    - Drop the AddonsOverlay and associated code, this hasn't worked for
      several releases since we started using software-center, and nobody
      really noticed so far. We can reimplement this at a later date if wanted,
      but it throws JS exceptions when loading in FF4.0 now
    - Specify for the extension to be unpacked by the installer. Without this,
      the prefs aren't used
    - Get the distributionID field for the pfs URL from the preferences, rather
      than hard-coding a value
    - Fix LP: #579091 - ubufox interferes with toolbar buttons for other add-ons
      Don't initialize or assign any value to gBrowser in alternatePlugins.js.
      It runs in the context of browser.xul, so gBrowser will always exist
      once the browser window has loaded
    - Fix LP: #333799 - set a default dictionary language
    - Don't duplicate preferences that we're already setting in Firefox
    - Update Japanese(ja) translations (LP: #746538)
    - Fix LP: #750305 - Don't hard-code links and configs for each release.
      Rather than doing this manually for every release, we add a dist.js with
      distro information (populated at build time with lsb_release) and just
      do all this automatically.
    - Fix LP: #752364 - Plugin Finder Service never finds anything. Use the
      release info in dist.js to construct the URL, now that this got dropped
      from Firefox
    - Fix LP: #728826 - Update icons to new versions.
    - Drop the pluginGlue.js module. This didn't work, as we can no longer
      use a modules registerSelf method to use nsICategoryManager at startup,
      due to the XPCOM registration changes in Firefox 4. Instead, add
      category entries with the chrome.manifest
    - Fix LP: #709125 - User agent doesn't include Ubuntu in it so
      apt.ubuntu.com doesn't work. We add an extra X-Ub...

Read more...

Changed in ubufox (Ubuntu Lucid):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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