[weboob] Support of bug trackers

Julien juke at free.fr
Tue Jul 12 16:45:57 CEST 2011


Le mardi 12 juillet 2011 à 16:40 +0200, Romain Bignon a écrit :
> En fait j'ai commité un fix pour un problème similaire que j'ai
> rencontré avec
> un autre redmine, aussi je t'invite à mettre à jour, à tester et à me
> faire part
> de ton retour. 


plus d'erreur 500 par contre j'ai un autre bug : 



juke at jhebert:~/weboob/weboob$ boobtracker search cos at redminejme --title syntax --debug
2011-07-12 16:44:09,428:DEBUG:modules:modules.py:142:load_module Loaded module "ecrans" from /home/juke/weboob/weboob/weboob/backends/ecrans
2011-07-12 16:44:09,435:DEBUG:modules:modules.py:142:load_module Loaded module "redmine" from /home/juke/weboob/weboob/weboob/backends/redmine
2011-07-12 16:44:09,435:DEBUG:backend:modules.py:95:create_instance Created backend instance "redminejme" for backend "redmine"
2011-07-12 16:44:09,437:DEBUG:modules:modules.py:142:load_module Loaded module "dlfp" from /home/juke/weboob/weboob/weboob/backends/dlfp
2011-07-12 16:44:09,439:DEBUG:modules:modules.py:142:load_module Loaded module "canalplus" from /home/juke/weboob/weboob/weboob/backends/canalplus
2011-07-12 16:44:09,439:ERROR:weboob:ouiboube.py:107:load_backends Unable to load module "youtube": No module named gdata.youtube.service
2011-07-12 16:44:09,439:WARNING:weboob:ouiboube.py:111:load_backends Backend "youtube" is referenced in ~/.weboob/backends configuration file, but was not found. Hint: is it installed?
2011-07-12 16:44:09,442:DEBUG:modules:modules.py:142:load_module Loaded module "yahoo" from /home/juke/weboob/weboob/weboob/backends/yahoo
2011-07-12 16:44:09,443:DEBUG:modules:modules.py:142:load_module Loaded module "minutes20" from /home/juke/weboob/weboob/weboob/backends/minutes20
2011-07-12 16:44:09,444:DEBUG:modules:modules.py:142:load_module Loaded module "transilien" from /home/juke/weboob/weboob/weboob/backends/transilien
2011-07-12 16:44:09,445:DEBUG:backend:modules.py:95:create_instance Created backend instance "redmine" for backend "redmine"
2011-07-12 16:44:09,445:DEBUG:modules:modules.py:142:load_module Loaded module "arte" from /home/juke/weboob/weboob/weboob/backends/arte
2011-07-12 16:44:09,446:DEBUG:modules:modules.py:142:load_module Loaded module "meteofrance" from /home/juke/weboob/weboob/weboob/backends/meteofrance
2011-07-12 16:44:09,447:DEBUG:modules:modules.py:142:load_module Loaded module "inrocks" from /home/juke/weboob/weboob/weboob/backends/inrocks
2011-07-12 16:44:09,448:DEBUG:modules:modules.py:142:load_module Loaded module "lefigaro" from /home/juke/weboob/weboob/weboob/backends/lefigaro
2011-07-12 16:44:09,451:DEBUG:bcall:bcall.py:80:__init__ Creating a new thread for <Backend 'redminejme'>
2011-07-12 16:44:09,451:DEBUG:bcall:bcall.py:100:_caller <Backend 'redminejme'>: Thread created successfully
2011-07-12 16:44:09,451:DEBUG:bcall:bcall.py:105:_caller <Backend 'redminejme'>: Calling function <bound method BoobTracker._do_complete of <weboob.applications.boobtracker.boobtracker.BoobTracker object at 0x2411250>>
2011-07-12 16:44:09,451:DEBUG:bcall:bcall.py:114:_caller <Backend 'redminejme'>: Called function <bound method BoobTracker._do_complete of <weboob.applications.boobtracker.boobtracker.BoobTracker object at 0x2411250>> returned: <generator object _do_complete_iter at 0x2836c30>
Please input your password for the keyring
Password: 
2011-07-12 16:44:11,868:DEBUG:backend.redminejme.browser:browser.py:454:_change_location [user_id=jhebert] Went on http://172.18.3.160:3000/login?back_url=http%3A%2F%2F172.18.3.160%3A3000%2F
2011-07-12 16:44:11,869:DEBUG:backend.redminejme.browser:browser.py:465:_change_location !! Relogin !!
2011-07-12 16:44:11,887:DEBUG:backend.redminejme.browser:browser.py:454:_change_location [user_id=jhebert] Went on http://172.18.3.160:3000/login
2011-07-12 16:44:11,961:DEBUG:backend.redminejme.browser:browser.py:454:_change_location [user_id=jhebert] Went on http://172.18.3.160:3000/my/page
2011-07-12 16:44:11,990:DEBUG:backend.redminejme.browser:browser.py:454:_change_location [user_id=jhebert] Went on http://172.18.3.160:3000/
2011-07-12 16:44:12,201:DEBUG:backend.redminejme.browser:browser.py:454:_change_location [user_id=jhebert] Went on http://172.18.3.160:3000/projects/cos/issues
2011-07-12 16:44:12,328:DEBUG:backend.redminejme.browser:browser.py:454:_change_location [user_id=jhebert] Went on http://172.18.3.160:3000/issues?set_filter=1&per_page=100
Error(redminejme): 'class'
Traceback (most recent call last):
  File "/home/juke/weboob/weboob/weboob/core/bcall.py", line 119, in _caller
    for subresult in result:
  File "/home/juke/weboob/weboob/weboob/tools/application/base.py", line 241, in _do_complete_iter
    for i, sub in enumerate(res):
  File "/home/juke/weboob/weboob/weboob/backends/redmine/backend.py", line 134, in iter_issues
    for issue in r['iter']:
  File "/home/juke/weboob/weboob/weboob/backends/redmine/pages/issues.py", line 102, in iter_issues
    field = td.attrib['class']
  File "lxml.etree.pyx", line 1984, in lxml.etree._Attrib.__getitem__ (src/lxml/lxml.etree.c:43472)
KeyError: 'class'






More information about the weboob mailing list