Bug 1355869 - Missing python package for solaar in fedora 24
Summary: Missing python package for solaar in fedora 24
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: solaar
Version: 24
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Richard Fearn
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-12 19:09 UTC by nostritius
Modified: 2016-08-28 13:21 UTC (History)
3 users (show)

Fixed In Version: solaar-0.9.2-4.20150528gitcf27328.fc24.4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-28 13:21:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description nostritius 2016-07-12 19:09:56 UTC
Description of problem:

I installed a new fedora 24 Workstation installation and installed solaar. From the desktop, it won't start up and when I tried the terminal, it printed the following error message:
Solaar: missing required package 'python-gi'


Version-Release number of selected component (if applicable): 0.9.2

Steps to Reproduce:
1. install a new fedora 24 Workstation
2. install solaar package
3. try to start it either from the command line or the desktop

Actual results:
prints the error message above

Expected results:
the solaar menu should open

Additional info:
I installed several other packages before installing solaar, like wine, playonlinux, kodi, thunderbird, openjdk etc. But none of them were related to python. I also tried to install PyGObjects with "dnf install pygobjects*" but with the same result. I also have two receivers plugged in (I wanted to merge them into one)

Comment 1 Richard Fearn 2016-07-13 21:31:55 UTC
Can you try `dnf install python-gobject` and try running Solaar again?

Comment 2 nostritius 2016-07-14 07:04:46 UTC
I have it already installed and it prints the same error message

Comment 3 Richard Fearn 2016-07-14 10:50:47 UTC
Installing python-gobject fixes this for me.

With a new F24 workstation install, installing solaar installs:

 * python-libs (2.7)
 * python-pip
 * python2-setuptools
 * python (2.7)
 * python-six
 * python2-pyudev
 * unifying-receiver-udev
 * solaar

and then running Solaar gives the "missing required package" message.

`dnf install python-gobject` installs:

 * pycairo
 * python-gobject
 * python-gobject-base
 * python-xpyb

and then Solaar runs. (There are some Gtk warnings, but it does run.)

So I believe that solaar is missing a dependency on python-gobject.

nostritius, are you sure you have python-gobject and python-gobject-base installed? (NB these are different to python3-gobject and python3-gobject-base)

Comment 4 nostritius 2016-07-15 20:53:55 UTC
I found the problem, somehow I managed to break my python installation. Maybe this was because it firstly tried sudo easy_install gi. I did a clean install of fedora 24 Workstation and installed solaar plus python-gobject and it worked. it would be nice to add python-gobject as a dependency.

Comment 5 Fedora Update System 2016-08-06 14:12:44 UTC
solaar-0.9.2-4.20150528gitcf27328.fc24.4 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f78be290da

Comment 6 Fedora Update System 2016-08-09 01:26:49 UTC
solaar-0.9.2-4.20150528gitcf27328.fc24.4 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-f78be290da

Comment 7 Fedora Update System 2016-08-28 13:21:55 UTC
solaar-0.9.2-4.20150528gitcf27328.fc24.4 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.