Bug 2967

Summary: Weboob: Python modules missing dependancies
Product: Mageia Reporter: Thomas Bigot <thomas.bigot>
Component: RPM PackagesAssignee: Olivier FAURAX <olivier>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: weboob-0.8.5-1.mga2.src.rpm CVE:
Status comment:

Description Thomas Bigot 2011-10-07 16:15:45 CEST
Some Weboob dependancies are missing:

â python-mechanize
WARNING:modules:modules.py:128:load_all Unable to load module "xxx": No module named mechanize

â python-html5lib (canât find this python module)
WARNING:modules:modules.py:128:load_all Unable to load module "xxx": No module named html5lib

â extra error message (python module?):
WARNING:modules:modules.py:128:load_all Unable to load module "youtube": No module named gdata.youtube.service
Manuel Hiebel 2011-10-07 16:35:27 CEST

Assignee: bugsquad => olivier

Comment 1 Olivier FAURAX 2011-12-18 12:53:59 CET
0.9.1 has been pushed to cooker, and python-mechanize has been added as a Suggests.

Do you still have the problems with python-html5lib and youtube ?
Comment 2 Thomas Bigot 2011-12-20 11:54:10 CET
Since the update, everything is OK.
Thanks!

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

Comment 3 Thomas Bigot 2011-12-21 16:38:50 CET
On a fresh install, it still does not work :

2011-12-21 16:35:41,610:WARNING:modules:modules.py:128:load_all Unable to load module "aum": No module named Image
2011-12-21 16:35:41,761:WARNING:modules:modules.py:128:load_all Unable to load module "lefigaro": No module named lxml.etree
2011-12-21 16:35:41,771:WARNING:modules:modules.py:128:load_all Unable to load module "eatmanga": No module named nose.plugins.skip
2011-12-21 16:35:41,783:WARNING:modules:modules.py:128:load_all Unable to load module "batoto": No module named nose.plugins.skip
2011-12-21 16:35:41,806:WARNING:modules:modules.py:128:load_all Unable to load module "youtube": No module named gdata.youtube.service
2011-12-21 16:35:41,808:WARNING:modules:modules.py:128:load_all Unable to load module "mangareader": No module named nose.plugins.skip
2011-12-21 16:35:41,815:WARNING:modules:modules.py:128:load_all Unable to load module "minutes20": No module named lxml.etree
2011-12-21 16:35:41,823:WARNING:modules:modules.py:128:load_all Unable to load module "youjizz": No module named lxml.html
2011-12-21 16:35:41,827:WARNING:modules:modules.py:128:load_all Unable to load module "ecrans": No module named lxml.etree
2011-12-21 16:35:41,836:WARNING:modules:modules.py:128:load_all Unable to load module "bnporc": No module named Image
2011-12-21 16:35:41,841:WARNING:modules:modules.py:128:load_all Unable to load module "simplyreadit": No module named nose.plugins.skip
2011-12-21 16:35:41,851:WARNING:modules:modules.py:128:load_all Unable to load module "redmine": No module named lxml.html
2011-12-21 16:35:41,857:WARNING:modules:modules.py:128:load_all Unable to load module "mangafox": No module named nose.plugins.skip
2011-12-21 16:35:41,864:WARNING:modules:modules.py:128:load_all Unable to load module "mangahere": No module named nose.plugins.skip
2011-12-21 16:35:41,898:WARNING:modules:modules.py:128:load_all Unable to load module "societegenerale": No module named Image
2011-12-21 16:35:41,911:WARNING:modules:modules.py:128:load_all Unable to load module "mangatoshokan": No module named nose.plugins.skip
2011-12-21 16:35:41,912:WARNING:modules:modules.py:128:load_all Unable to load module "canalplus": No module named lxml.etree
2011-12-21 16:35:41,924:WARNING:modules:modules.py:128:load_all Unable to load module "inrocks": No module named lxml.etree

Trying to see which packages need to be installed to make it work.

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 4 Thomas Bigot 2011-12-21 16:45:01 CET
Extra needed dependancies:
python-lxml
python-nose
python-imaging
Comment 5 Thomas Bigot 2011-12-21 17:03:15 CET
And:
python-gdata for youtube
Comment 6 Olivier FAURAX 2011-12-21 21:24:06 CET
New release 0.9.1-2 suggests these missing packages.
Comment 7 Thomas Bigot 2011-12-22 11:18:53 CET
Thanks.

Just to make me understanding better: why are these packages suggestions and not requirements, knowing that weboob doesnât work without them?

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED

Comment 8 Olivier FAURAX 2011-12-22 11:29:26 CET
In fact, you don't need all these packages for every backend.

For example, if you install weboob only for viewing mangas, you won't understand that the package doesn't install for a missing python-gdata.

The real proper way I could solve this is to split the backend in different packages (weboob-aum, weboob-youtube, etc.), and then Requires the python modules for each backend.

I must confess that I didn't tried this, and I should also discuss with people to know if this really the proper solution.

In any case, thank you for your bug reports.
Comment 9 Thomas Bigot 2011-12-22 11:40:46 CET
Thanks for your explanations and your work. The fact weboob now works entirely is a good thing.

About the bugs: itâs the least I can do!