Comment 2 for bug 823726

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