FS#54074 - [whipper] Depends on python2-gobject2 at runtime

Attached to Project: Community Packages
Opened by Volkmar Glauche (exinsu) - Monday, 15 May 2017, 22:59 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Friday, 19 May 2017, 09:29 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Christian Rebischke (Shibumi)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
whipper fails to run if python2-gobject2 is not installed, but python2-gobject2 is only listed as a make-dependency for whipper.

Additional info:
* package version: whipper 0.5.1-3

Steps to reproduce:
pacman -S whipper

should install python2-gobject2 if not yet installed.
This task depends upon

Closed by  Bruno Pagani (ArchangeGabriel)
Friday, 19 May 2017, 09:29 GMT
Reason for closing:  Fixed
Additional comments about closing:  whipper 0.5.1-4.
Comment by Doug Newgard (Scimmia) - Tuesday, 16 May 2017, 15:12 GMT
Specific errors?
Comment by Volkmar Glauche (exinsu) - Tuesday, 16 May 2017, 21:00 GMT
without python2-gobject2 installed, whipper fails with the following traceback:

# whipper
Traceback (most recent call last):
File "/usr/bin/whipper", line 11, in <module>
load_entry_point('whipper==0.5.1', 'console_scripts', 'whipper')()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 560, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2648, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2302, in load
return self.resolve()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2308, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python2.7/site-packages/morituri/command/main.py", line 11, in <module>
from morituri.command import cd, offset, drive, image, accurip, debug
File "/usr/lib/python2.7/site-packages/morituri/command/cd.py", line 30, in <module>
import gobject
ImportError: No module named gobject

After installing python2-gobject2, whipper starts as expected.
Comment by Christian Rebischke (Shibumi) - Wednesday, 17 May 2017, 22:35 GMT
Thank you for the Traceback. There is indeed python2-gobject2 missing. I will add it as dependency and mark the issue as fixed when the new version is in the repositories. Thank you for reporting.

Loading...