apport hook fails: "package does not exist"

Bug #823726 reported by Martin Pool
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
banshee (Ubuntu)
In Progress
Undecided
Chow Loong Jin

Bug Description

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

mbp@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)

Revision history for this message
Martin Pool (mbp) wrote :
Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 823726] [NEW] apport hook fails: "package does not exist"

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@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):
assignee: nobody → Chow Loong Jin (hyperair)
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.