ERROR: hook /usr/share/apport/package-hooks//source_thunderbird.py crashed

Bug #993273 reported by Yann Dìnendal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
thunderbird (Ubuntu)
Fix Released
Undecided
Chris Coulson

Bug Description

I ran `ubuntu-bug thunderbird` to report Bug 993267 and got this Traceback (but I could correctly report the bug):

yanndinendal@gandinendal:~$ ubuntu-bug thunderbird
ERROR: hook /usr/share/apport/package-hooks//source_thunderbird.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/apport/report.py", line 768, in add_hooks_info
    symb['add_info'](self, ui)
  File "/usr/share/apport/package-hooks//source_thunderbird.py", line 1111, in add_info
    populate_item(prefix + "Prefs", profile.dump_prefs())
  File "/usr/share/apport/package-hooks//source_thunderbird.py", line 851, in dump_prefs
    ret += pref + ' - ' + self.prefs[pref].value + ' (' + self._anonymize_path(self.prefs[pref].source) + ')\n'
TypeError: cannot concatenate 'str' and 'NoneType' objects
yanndinendal@gandinendal:~$

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: apport 2.0.1-0ubuntu6
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
NonfreeKernelModules: nvidia
ApportLog:

ApportVersion: 2.0.1-0ubuntu6
Architecture: amd64
CheckboxSubmission: 970b03d9442e14cbad161afaea8d90fe
CheckboxSystem: edda5d4f616ca792bf437989cb597002
Date: Wed May 2 15:26:37 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120418.2)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Yann Dìnendal (yannbreliere) wrote :
Martin Pitt (pitti)
no longer affects: apport
affects: apport (Ubuntu) → thunderbird (Ubuntu)
Changed in thunderbird:
status: New → Invalid
Changed in thunderbird (Ubuntu):
assignee: nobody → Chris Coulson (chrisccoulson)
no longer affects: thunderbird
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

I don't see how this could happen. Could you please send me the prefs.js file from your profile folder (and the user.js file if there is on)? Also, what addons do you have installed?

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

Here is what I get from "Troubleshooting Information" (it says 14.0a2 but I hadn't upgraded yet at the time):

  Application Basics

    Name: Thunderbird
    Version: 14.0a2
    User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120502 Thunderbird/14.0a2
    Profile Directory: Open Directory

              (Local drive)
    Application Build ID: 20120502102331
    Enabled Plugins: about:plugins
    Build Configuration: about:buildconfig
    Crash Reports: about:crashes
    Memory Use: about:memory

  Extensions
    Add-on Compatibility Reporter, 1.1, true, <email address hidden>
    Dictionnaire français «Classique &amp; Réforme 1990», 4.3, true, <email address hidden>
    Dictionnaire français «Moderne», 4.3, true, <email address hidden>
    Display Contact Photo, 1.2.5, true, <email address hidden>
    EDS Contact Integration, 0.3.9, true, <email address hidden>
    Global Menu Bar integration, 3.2.4pre, true, <email address hidden>
    Lightning, 1.6a2, true, {e2fda1a4-762b-4020-b5ad-a41df1933103}
    Mail Redirect, 0.7.6.10, true, {CC3C233D-6668-41bc-AAEB-F3A1D1D594F5}
    Messaging Menu and Unity Launcher integration, 0.9.3, true, <email address hidden>
    Provider for Google Calendar, 0.15pre, true, {a62ef8ec-5fdc-40c2-873c-223b8a6925cc}
    Test Pilot for Thunderbird, 1.3.9, true, <email address hidden>
    Thunderbird Conversations, 2.3.2, true, <email address hidden>
    Libnotify Popups, 0.1.4, false, <email address hidden>
    MoreFunctionsForAddressBook, 0.6.7.2, false, {3e17310d-82e8-4a43-bd2f-7c3055bfe589}
    Mozilla Labs: Contacts, 0.4.2, false, <email address hidden>
    ThunderBrowse, 3.8, false, <email address hidden>

  Important Modified Preferences

    Name: Value

      accessibility.typeaheadfind.flashBar: 0
      browser.cache.disk.capacity: 1048576
      browser.cache.disk.smart_size_cached_value: 583680
      browser.cache.disk.smart_size.first_run: false
      extensions.lastAppVersion: 14.0a2
      gfx.blacklist.suggested-driver-version: <Anything with EXT_texture_from_pixmap support>
      mail.openMessageBehavior.version: 1
      network.cookie.prefsMigrated: true
      places.database.lastMaintenance: 1335955948
      places.history.expiration.transient_current_max_pages: 92575
      places.history.expiration.transient_optimal_database_size: 148119224
      plugin.soname.list:
      security.disable_button.openCertManager: false

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

Thanks, I've fixed this now, along with some other edge cases too

Changed in thunderbird (Ubuntu):
status: New → Fix Committed
Changed in thunderbird (Ubuntu):
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.