← Back to team overview

desktop-packages team mailing list archive

[Bug 1438720] [NEW] source_cheese.py apport package-hook errors(NameError: global name 'command_output' is not defined)

 

Public bug reported:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/apport/report.py", line 197, in _run_hook
    symb['add_info'](report, ui)
  File "/usr/share/apport/package-hooks/source_cheese.py", line 16, in add_info
    report['lspci'] = command_output(['lspci', '-vvnn'])
NameError: global name 'command_output' is not defined
Traceback (most recent call last):
  File "/usr/share/apport/apport-kde", line 533, in <module>
    sys.exit(UserInterface.run_argv())
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 652, in run_argv
    return self.run_update_report()
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 572, in run_update_report
    attachment_comment='apport information')
  File "/usr/lib/python2.7/dist-packages/apport/crashdb_impl/launchpad.py", line 374, in update
    report.write_mime(mime, skip_keys=skip_keys)
  File "/usr/lib/python2.7/dist-packages/problem_report.py", line 486, in write_mime
    f = open(v[0], 'rb')  # file name

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: cheese-common 3.10.2-0ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8
Uname: Linux 3.13.0-39-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.8
Architecture: i386
CurrentDesktop: KDE
Date: Tue Mar 31 21:54:43 2015
PackageArchitecture: all
SourcePackage: cheese
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: cheese (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 trusty

** Summary changed:

- source_cheese.py apport package-hook errors
+ source_cheese.py apport package-hook errors(NameError: global name 'command_output' is not defined)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cheese in Ubuntu.
https://bugs.launchpad.net/bugs/1438720

Title:
  source_cheese.py apport package-hook errors(NameError: global name
  'command_output' is not defined)

Status in cheese package in Ubuntu:
  New

Bug description:
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/apport/report.py", line 197, in _run_hook
      symb['add_info'](report, ui)
    File "/usr/share/apport/package-hooks/source_cheese.py", line 16, in add_info
      report['lspci'] = command_output(['lspci', '-vvnn'])
  NameError: global name 'command_output' is not defined
  Traceback (most recent call last):
    File "/usr/share/apport/apport-kde", line 533, in <module>
      sys.exit(UserInterface.run_argv())
    File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 652, in run_argv
      return self.run_update_report()
    File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 572, in run_update_report
      attachment_comment='apport information')
    File "/usr/lib/python2.7/dist-packages/apport/crashdb_impl/launchpad.py", line 374, in update
      report.write_mime(mime, skip_keys=skip_keys)
    File "/usr/lib/python2.7/dist-packages/problem_report.py", line 486, in write_mime
      f = open(v[0], 'rb')  # file name

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: cheese-common 3.10.2-0ubuntu2
  ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8
  Uname: Linux 3.13.0-39-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.1-0ubuntu3.8
  Architecture: i386
  CurrentDesktop: KDE
  Date: Tue Mar 31 21:54:43 2015
  PackageArchitecture: all
  SourcePackage: cheese
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cheese/+bug/1438720/+subscriptions


Follow ups

References