[ubuntu-mono] [Bug 823726] [NEW] apport hook fails: "package does not exist"

Chow Loong Jin hyperair at ubuntu.com
Wed Aug 10 05:41:55 UTC 2011


On 10/08/2011 13:02, Martin Pool wrote:
> Public bug reported:
> 
> When reporting bug 823723 against banshee, I observed this traceback in
> the terminal:
> 
> 
> mbp at grace% ubuntu-bug 17978
> /usr/lib/python2.7/dist-packages/lazr/restfulclient/__init__.py:19: UserWarning: Module paste was already imported from None, but /usr/lib/python2.7/dist-packages is being added to sys.path
>   import pkg_resources
> ERROR: hook /usr/share/apport/package-hooks//source_banshee.py crashed:
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/apport/report.py", line 659, in add_hooks_info
>     symb['add_info'](self, ui)
>   File "/usr/share/apport/package-hooks//source_banshee.py", line 37, in add_info
>     apport.hookutils.attach_gconf(report, 'banshee-1')
>   File "/usr/lib/python2.7/dist-packages/apport/hookutils.py", line 516, in attach_gconf
>     '/usr/share/gconf/schemas/*.schemas'):
>   File "/usr/lib/python2.7/dist-packages/apport/hookutils.py", line 499, in files_in_package
>     files = packaging.get_files(package)
>   File "/usr/lib/python2.7/dist-packages/apport/packaging_impl.py", line 149, in get_files
>     list = self._call_dpkg(['-L', package])
>   File "/usr/lib/python2.7/dist-packages/apport/packaging_impl.py", line 587, in _call_dpkg
>     raise ValueError('package does not exist')
> ValueError: package does not exist
> ubuntu-bug 17978  2.89s user 2.66s system 17% cpu 32.264 total
> 
> I don't think there is a banshee-1 package in oneiric.

Yeah, you're right about that. I'll fix it, thanks.

  affects ubuntu/banshee
  status inprogress
  assignee hyperair

-- 
Kind regards,
Loong Jin


** Changed in: banshee (Ubuntu)
       Status: New => In Progress

** Changed in: banshee (Ubuntu)
     Assignee: (unassigned) => Chow Loong Jin (hyperair)

-- 
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to banshee in Ubuntu.
https://bugs.launchpad.net/bugs/823726

Title:
  apport hook fails: "package does not exist"

Status in “banshee” package in Ubuntu:
  In Progress

Bug description:
  When reporting bug 823723 against banshee, I observed this traceback
  in the terminal:

  
  mbp at grace% ubuntu-bug 17978
  /usr/lib/python2.7/dist-packages/lazr/restfulclient/__init__.py:19: UserWarning: Module paste was already imported from None, but /usr/lib/python2.7/dist-packages is being added to sys.path
    import pkg_resources
  ERROR: hook /usr/share/apport/package-hooks//source_banshee.py crashed:
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/apport/report.py", line 659, in add_hooks_info
      symb['add_info'](self, ui)
    File "/usr/share/apport/package-hooks//source_banshee.py", line 37, in add_info
      apport.hookutils.attach_gconf(report, 'banshee-1')
    File "/usr/lib/python2.7/dist-packages/apport/hookutils.py", line 516, in attach_gconf
      '/usr/share/gconf/schemas/*.schemas'):
    File "/usr/lib/python2.7/dist-packages/apport/hookutils.py", line 499, in files_in_package
      files = packaging.get_files(package)
    File "/usr/lib/python2.7/dist-packages/apport/packaging_impl.py", line 149, in get_files
      list = self._call_dpkg(['-L', package])
    File "/usr/lib/python2.7/dist-packages/apport/packaging_impl.py", line 587, in _call_dpkg
      raise ValueError('package does not exist')
  ValueError: package does not exist
  ubuntu-bug 17978  2.89s user 2.66s system 17% cpu 32.264 total

  I don't think there is a banshee-1 package in oneiric.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: banshee 2.1.0-1ubuntu5
  ProcVersionSignature: Ubuntu 3.0.0-8.10-generic 3.0.1
  Uname: Linux 3.0.0-8-generic x86_64
  Architecture: amd64
  Date: Wed Aug 10 14:56:48 2011
  EcryptfsInUse: Yes
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_AU.UTF-8
   SHELL=/bin/zsh
  SourcePackage: banshee
  UpgradeStatus: Upgraded to oneiric on 2011-08-04 (6 days ago)

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




More information about the Ubuntu-mono mailing list