"ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed:" due to missing /etc/system-image/config.d

Bug #1512727 reported by Karl-Philipp Richter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
New
Undecided
Unassigned

Bug Description

Steps to reproduce:

    $ ubuntu-bug apport
    usage: system-image-cli [-h] [--version] [-C DIRECTORY] [-b BUILD]
                            [-c CHANNEL] [-d DEVICE] [-f FILTER] [-g]
                            [--no-reboot] [-i] [-n] [-v] [--progress PROGRESS]
                            [-p PERCENTAGE] [--list-channels] [--factory-reset]
                            [--production-reset] [--switch CHANNEL]
                            [--show-settings] [--set KEY=VAL] [--get KEY]
                            [--del KEY]
    system-image-cli: error:
    Configuration directory not found: /etc/system-image/config.d
    ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/dist-packages/apport/report.py", line 197, in _run_hook
        symb['add_info'](report, ui)
      File "/usr/share/apport/general-hooks/ubuntu.py", line 105, in add_info
        apport.hookutils.attach_upstart_logs(report, package)
    AttributeError: 'module' object has no attribute 'attach_upstart_logs'

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: apport 2.19.1-0ubuntu4
Uname: Linux 4.2.5-040205-generic x86_64
ApportVersion: 2.19.1-0ubuntu4
Architecture: amd64
Date: Tue Nov 3 15:32:07 2015
InstallationDate: Installed on 2015-09-14 (49 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: apport
SystemImageInfo: Error: command ['system-image-cli', '-i'] failed with exit code 2:
UpgradeStatus: Upgraded to wily on 2015-10-23 (11 days ago)

Revision history for this message
Karl-Philipp Richter (krichter722) wrote :
summary: - "usage: system-image-cli [-h] [--version] [-C DIRECTORY] [-b BUILD]
- [-c CHANNEL] [-d DEVICE] [-f FILTER] [-g] [--no-
- reboot] [-i] [-n] [-v] [--progress PROGRESS] [-p
- PERCENTAGE] [--list-channels] [--factory-reset]
- [--production-reset] [--switch CHANNEL] [--show-
- settings] [--set KEY=VAL] [--get KEY] [--del
- KEY] system-image-cli: error: Configuration directory not found:
- /etc/system-image/config.d ERROR: hook /usr/share/apport/general-
- hooks/ubuntu.py crashed: Traceback (most recent call last): File
- "/usr/local/lib/python2.7/dist-packages/apport/report.py", line 197, in
- _run_hook symb['add_info'](report, ui) File
- "/usr/share/apport/general-hooks/ubuntu.py", line 105, in add_info
- apport.hookutils.attach_upstart_logs(report, package) AttributeError:
- 'module' object has no attribute 'attach_upstart_logs'" due to missing
- /etc/system-image/config.d
+ "ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed:" due to
+ missing /etc/system-image/config.d
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.