4 beta: ConfigParser.NoOptionError: No option 'lastversion' in section: 'Compatibility'

Bug #674607 reported by Hendrik Brummermann
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Mozilla PPA Bugs
Fix Released
High
Chris Coulson
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: firefox

Firefox 4.0 Beta refuses to start since two days ago:

Traceback (most recent call last):
  File "/usr/lib/firefox-4.0b8pre/xulapp-profilemigrator", line 201, in check_candidates
    profile = ProfileFolder (os.path.join (os.path.dirname (this.profile.path), f))
  File "/usr/lib/firefox-4.0b8pre/xulapp-profilemigrator", line 152, in __init__
    this.last_version_string = get_last_version_from_profile (this.path)
  File "/usr/lib/firefox-4.0b8pre/xulapp-profilemigrator", line 48, in get_last_version_from_profile
    return get_last_version_from_compat_ini (subprofile)
  File "/usr/lib/firefox-4.0b8pre/xulapp-profilemigrator", line 77, in get_last_version_from_compat_ini
    return re.sub (r'_.*', '', compat_ini.get ('Compatibility', 'LastVersion'))
  File "/usr/lib/python2.6/ConfigParser.py", line 541, in get
    raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option 'lastversion' in section: 'Compatibility'
^CTraceback (most recent call last):
  File "/usr/lib/firefox-4.0b8pre/xulapp-profilemigrator", line 420, in <module>
    if (migrator.main () == True or not os.path.isfile (options.profile + '.series-stamp')):
  File "/usr/lib/firefox-4.0b8pre/xulapp-profilemigrator", line 349, in main
    gtk.main ()
KeyboardInterrupt

Tags: ppa
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Could you please attach the compatibility.ini from your profile?

affects: firefox (Ubuntu) → ubuntu
Changed in ubuntu:
status: New → Invalid
Changed in ubuntu-mozilla-ppa-bugs:
assignee: nobody → Chris Coulson (chrisccoulson)
assignee: Chris Coulson (chrisccoulson) → nobody
status: New → Incomplete
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

And also the profiles.ini

Changed in ubuntu-mozilla-ppa-bugs:
assignee: nobody → Chris Coulson (chrisccoulson)
Revision history for this message
Hendrik Brummermann (nhnb) wrote :
Revision history for this message
Hendrik Brummermann (nhnb) wrote :

That is the profile.ini from the firefox-4.0 folder, i hope it is the correct one, there is no profile.ini in my profile sub-folder.

Revision history for this message
Yann Dìnendal (yannbreliere) wrote :

I have the same bug. If I kill xulapp-profilemigrator, Firefox 4 will start correctly (it asks me which profile to launch).
But then, if I click on a link from another app, the same problem will happen: xulapp-profilemigrator will block the link from opening in firefox-4.0 (although it is already launched), but if I kill it, the link opens.

My compatibility.ini file is similar, except this:
LastVersion=4.0b8pre_20101112083320/20101112083320
LastOSABI=Linux_x86-gcc3

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Hmmm, this doesn't make sense. Any chance either of you could tar up the contents of ~/.mozilla and send it to me?

Revision history for this message
Yann Dìnendal (yannbreliere) wrote :

Ok, done.

Changed in ubuntu-mozilla-ppa-bugs:
status: Incomplete → In Progress
importance: Undecided → High
Changed in ubuntu-mozilla-ppa-bugs:
status: In Progress → 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.