Bug 6632 - weboob misses some requires
Summary: weboob misses some requires
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA2-32-OK MGA2-64-OK
Keywords: Junior_job, validated_update
Depends on:
Blocks:
 
Reported: 2012-06-30 08:52 CEST by José Jorge
Modified: 2012-08-18 13:31 CEST (History)
6 users (show)

See Also:
Source RPM: weboob
CVE:
Status comment:


Attachments

Description José Jorge 2012-06-30 08:52:55 CEST
After a Dualarch install, then installing weboob, weboob-config-qt does not start :

ImportError: No module named QtGui

ImportError: No module named sip

urpmi python-qt4-gui python-sip fixes this bug
Manuel Hiebel 2012-06-30 11:26:07 CEST

Keywords: (none) => Junior_job
Assignee: bugsquad => olivier
Source RPM: (none) => weboob

Comment 1 Juan Luis Baptiste 2012-08-02 05:55:16 CEST
I'm working on it, I'll push an update to updates_testing soon.

CC: (none) => juan.baptiste

Comment 2 Juan Luis Baptiste 2012-08-02 06:45:18 CEST
Ok, please try the package from updates_testing.
Comment 3 Manuel Hiebel 2012-08-07 17:16:43 CEST
not tested but should be ok for QA testing

Suggested Advisory:
-------------
Updated weboob, fixes the missing dependencies that caused the not starting of weboob-config-qt.

https://bugs.mageia.org/show_bug.cgi?id=6632
-------------

srpm: weboob-0.9.1-2.1.mga2.src.rpm
workaround bug 2317 (guess so): python-qt4-gui python-sip

procedure: install the package in release, launch weboob-config-qt, make the update, relauch it

Hardware: i586 => All
Assignee: olivier => qa-bugs
Whiteboard: (none) => has_procedure

Comment 4 Samuel Verschelde 2012-08-08 20:20:58 CEST
(In reply to comment #3)
> procedure: install the package in release, launch weboob-config-qt, make the
> update, relauch it

Due to buildsystem changes since weboob was built for mga2 release, we have to make sure that there's no regression too. So it means actually using weboob. If needed to compare with the version in Core Release, make sure you test it with the required dependencies installed on your system, to make sure it works at its best.

Removing "has_procedure" from whiteboard since we don't have a real step by step procedure.

CC: (none) => stormi
Whiteboard: has_procedure => (none)

Comment 5 user7 2012-08-08 22:10:08 CEST
I started testing before Comment 4 was made, so just checked the bug was fixed. Unfortunately this means further testing is needed on MGA2, i586, which I can not do at the moment. However, I'll still leave this comment as instructions on how to get started.

---

As I had both packages installed previously, I removed them so I could
reproduce the problem:

$ su
# rpm -e --nodeps python-qt4-gui
# rpm -e --nodeps python-sip
# exit

Then I installed weboob from Core Release, weboob-config-qt would not launch:
$ weboob-config-qt
Traceback (most recent call last):
  File "/usr/bin/weboob-config-qt", line 23, in <module>
    from weboob.applications.qweboobcfg import QWeboobCfg
  File
"/usr/lib/python2.7/site-packages/weboob/applications/qweboobcfg/__init__.py",
line 21, in <module>
    from .qweboobcfg import QWeboobCfg
  File
"/usr/lib/python2.7/site-packages/weboob/applications/qweboobcfg/qweboobcfg.py",
line 23, in <module>
    from weboob.tools.application.qt import BackendCfg, QtApplication
  File
"/usr/lib/python2.7/site-packages/weboob/tools/application/qt/__init__.py",
line 1, in <module>
    from .qt import QtApplication, QtMainWindow, QtDo, HTMLDelegate
  File "/usr/lib/python2.7/site-packages/weboob/tools/application/qt/qt.py",
line 25, in <module>
    from PyQt4.QtCore import QTimer, SIGNAL, QObject, QString, QSize, QVariant,
QMutex
ImportError: No module named sip

To be sure, I checked the requires:
$ urpmf --requires weboob --media "Core Release"
weboob:python-qt4-phonon
weboob:python-yaml
weboob:python-dateutil
weboob:python


After that I updated the package to the version from Core Updates Testing.
$ weboob-config-qt
2012-08-08 22:01:51,286:WARNING:modules:modules.py:128:load_all Unable to load
module "ecrans": No module named feedparser
2012-08-08 22:01:52,135:WARNING:modules:modules.py:128:load_all Unable to load
module "minutes20": No module named feedparser
2012-08-08 22:01:52,268:WARNING:modules:modules.py:128:load_all Unable to load
module "phpbb": No module named feedparser
2012-08-08 22:01:52,331:WARNING:modules:modules.py:128:load_all Unable to load
module "lefigaro": No module named feedparser
2012-08-08 22:01:52,559:WARNING:modules:modules.py:128:load_all Unable to load
module "inrocks": No module named feedparser
2012-08-08 22:01:52,574:WARNING:modules:modules.py:128:load_all Unable to load
module "newsfeed": No module named feedparser
2012-08-08 22:01:52,654:WARNING:modules:modules.py:128:load_all Unable to load
module "dlfp": No module named feedparser

As you can see I get a lot of warnings, but apart everything works.
Also the requires are added:
$ urpmf --requires weboob --media "Core Updates Testing"
weboob:python-qt4-phonon
weboob:python-yaml
weboob:python-dateutil
weboob:python-qt4-gui
weboob:python-sip
weboob:python
weboob:python(abi)[== 2.7]

SRPM: weboob-0.9.1-2.1.mga2.src.rpm

CC: (none) => wassi

Comment 6 Dave Hodgins 2012-08-09 03:54:18 CEST
python-qt4-gui is already in updates, so only python-sip will need to
be linked for bug 2317.

I've confirmed installing the update, pulls in the two packages,
weboob-config-qt runs, and I tested radioob play nova.

Testing complete on Mageis 2 i586.  I'll test x86-64 shortly.

CC: (none) => davidwhodgins
Whiteboard: (none) => MGA2-32-OK

Comment 7 Dave Hodgins 2012-08-09 04:02:16 CEST
Testing complete on Mageia 2 x86-64.

Could someone from the sysadmin team push the srpm
weboob-0.9.1-2.1.mga2.src.rpm
from Mageia 2 Core Updates Testing to Core Updates and link the rpm package
python-sip
from Mageia 2 Core Release to Core Updates.

Advisory:  This update for weboob, (Web Out Of Browsers), fixes the missing 
dependencies that prevented the starting of weboob-config-qt.

https://bugs.mageia.org/show_bug.cgi?id=6632

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs
Whiteboard: MGA2-32-OK => MGA2-32-OK MGA2-64-OK

Comment 8 Thomas Backlund 2012-08-18 13:31:44 CEST
Update pushed:
https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0161

Status: NEW => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED


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