[weboob] module meteofrance weboob "cassé" depuis plusieurs jours

Benjamin CARTON carton_ben at yahoo.fr
Mon Dec 2 09:38:46 CET 2013


Bonjour,

comment avez vous obtenu l'id 771080 at meteofrance ?
serait-il possible d'essayer : wetboobs forecasts 'votre code postal'

Cordialement


 
S'il vous plaît, évitez de m'envoyer des pièces jointes au format Word, PowerPoint ou Excel. 
Voir http://www.gnu.org/philosophy/no-word-attachments.fr.html



Le Lundi 2 décembre 2013 9h27, Ch. Perret <ch.perret at gmail.com> a écrit :
 
Bonjour Benjamin,

Après mise à jour : prévision du jour okay
Par contre, toujours un souci avec les forecasts :

~$ wetboobs --debug forecasts 771080 at meteofrance
2013-12-02 09:17:30,160:DEBUG:modules:modules.py:152:load_module Loaded module "meteofrance" from /home/krys/.local/share/weboob/modules/0.g/meteofrance
2013-12-02 09:17:30,163:DEBUG:backend:modules.py:95:create_instance Created backend instance "meteofrance" for backend "meteofrance"
2013-12-02 09:17:30,167:DEBUG:root:iniconfig.py:47:load Loading application configuration file: /home/krys/.config/weboob/wetboobs.
2013-12-02 09:17:30,169:DEBUG:root:iniconfig.py:64:load Application configuration file loaded: /home/krys/.config/weboob/wetboobs.
2013-12-02 09:17:30,202:DEBUG:bcall:bcall.py:112:_caller <Backend 'meteofrance'>: Calling function <bound method WetBoobs._do_complete of <weboob.applications.wetboobs.wetboobs.WetBoobs object at 0x40641430>>
2013-12-02 09:17:30,466:DEBUG:backend.meteofrance.browser:browser.py:277:openurl Opening URL "('http://www.meteofrance.com/mf3-rpc-portlet/rest/lieu/facet/previsions/search/771080',)", {}
2013-12-02 09:17:30,567:DEBUG:bcall:bcall.py:118:_caller <Backend 'meteofrance'>: Called function <bound method WetBoobs._do_complete of <weboob.applications.wetboobs.wetboobs.WetBoobs object at 0x40641430>> raised an error: StopIteration()
Bug(meteofrance): 
=== [  0%] Getting http://updates.weboob.org/0.g/main/
2013-12-02 09:17:30,601:DEBUG:browser:browser.py:277:openurl Opening URL "('http://updates.weboob.org/0.g/main/modules.list',)", {}
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/weboob-0.g-py2.6.egg/weboob/core/bcall.py", line 114, in _caller
    result = function(backend, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/weboob-0.g-py2.6.egg/weboob/tools/application/base.py", line 262, in _do_complete
    res = getattr(backend, function)(*args, **kwargs)
  File "/home/krys/.local/share/weboob/modules/0.g/meteofrance/backend.py", line 43, in iter_forecast
    return self.browser.iter_forecast(city_id)
  File "/home/krys/.local/share/weboob/modules/0.g/meteofrance/browser.py", line 60, in iter_forecast
    mcity = self.iter_city_search(city_id).next()
StopIteration

Très cordialement :)





2013/12/2 Benjamin CARTON <carton_ben at yahoo.fr>

Bonjour,
>
>
>Tout d'abord, merci pour cette remontée.
>Nous avons poussé un correctif ce Week-end.
>Une mise à jour du module devrait être nécessaire.
>Pouvez-vous nous nous confirmer que le problème est réglé de votre côté ?
>
>
>Cordialement
>
>
> 
>S'il vous plaît, évitez de m'envoyer des pièces jointes au format Word, PowerPoint ou Excel. 
>Voir http://www.gnu.org/philosophy/no-word-attachments.fr.html
>
>
>
>Le Jeudi 28 novembre 2013 13h26, Ch. Perret <ch.perret at gmail.com> a écrit :
> 
>Bonjour,
>
>Je rencontre le souci suivant :
>
>
>2013-11-28 08:00:14,012:WARNING:backend.
>meteofrance.browser:browser.py:700:_change_location There isn't any page corresponding to URL http://www.meteofrance.com/accueil
2013-11-28 08:00:14,260:WARNING:backend.meteofrance.browser:browser.py:350:save_response Response saved to /tmp/weboob_session_PjqjrB/0.html
=== [  0%] Getting http://updates.weboob.org/0.g/main/
>
>Météo France a du changer quelque chose dans le layout de son site car depuis plusieurs jours :
>
>~$ wetboobs --debug current chelles        
>2013-11-23 08:47:31,531:DEBUG:modules:
>modules.py:152:load_module Loaded module "meteofrance" from /home/krys/.local/share/weboob/modules/0.g/meteofrance
>2013-11-23 08:47:31,533:DEBUG:backend:modules.py:95:create_instance Created backend instance "meteofrance" for backend "meteofrance"
>2013-11-23 08:47:31,538:DEBUG:root:iniconfig.py:47:load Loading application configuration file: /home/krys/.config/weboob/wetboobs.
>2013-11-23 08:47:31,539:DEBUG:root:iniconfig.py:64:load Application configuration file loaded: /home/krys/.config/weboob/wetboobs.
>2013-11-23 08:47:31,573:DEBUG:bcall:bcall.py:112:_caller <Backend 'meteofrance'>: Calling function <bound method WetBoobs._do_complete of <weboob.applications.wetboobs.wetboobs.WetBoobs object at 0x40469c30>>
>2013-11-23 08:47:31,959:INFO:mechanize.http_redirects:_debug.py:27:http_request redirecting to http://www.meteofrance.com
>2013-11-23 08:47:32,050:INFO:mechanize.http_redirects:_debug.py:27:http_request redirecting to http://www.meteofrance.com/accueil
>2013-11-23 08:47:32,162:WARNING:backend.meteofrance.browser:browser.py:700:_change_location There isn't any page corresponding to URL http://www.meteofrance.com/accueil
>Debug data will be saved in this directory: /tmp/weboob_session_6_rS9d
>2013-11-23 08:47:32,260:WARNING:backend.meteofrance.browser:browser.py:350:save_response Response saved to /tmp/weboob_session_6_rS9d/0.html
>2013-11-23 08:47:32,261:DEBUG:bcall:bcall.py:118:_caller <Backend 'meteofrance'>: Called function <bound method WetBoobs._do_complete of <weboob.applications.wetboobs.wetboobs.WetBoobs object at 0x40469c30>> raised an error: AssertionError()
>Bug(meteofrance): 
>=== [  0%] Getting http://updates.weboob.org/0.g/main/
>2013-11-23 08:47:32,295:DEBUG:browser:browser.py:277:openurl Opening URL "('http://updates.weboob.org/0.g/main/modules.list',)", {}
>Traceback (most recent call last):
>  File "/usr/local/lib/python2.6/dist-packages/weboob-0.g-py2.6.egg/weboob/core/bcall.py", line 114, in _caller
>    result = function(backend, *args, **kwargs)
>  File "/usr/local/lib/python2.6/dist-packages/weboob-0.g-py2.6.egg/weboob/tools/application/base.py", line 262, in _do_complete
>    res = getattr(backend, function)(*args, **kwargs)
>  File "/home/krys/.local/share/weboob/modules/0.g/meteofrance/backend.py", line 40, in get_current
>    return self.browser.get_current(city_id)
>  File "/home/krys/.local/share/weboob/modules/0.g/meteofrance/browser.py", line 70, in get_current
>    assert self.is_on_page(WeatherPage)
>AssertionError
>cela peut-il être corrigé ?
>dans cette attente,
>
>Très cordialement et encore merci à tous les développeurs weboob pour leurs efforts :)
>
>_______________________________________________
>weboob mailing list
>weboob at lists.symlink.me
>http://lists.symlink.me/mailman/listinfo/weboob
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.symlink.me/pipermail/weboob/attachments/20131202/e2c0010b/attachment.html>


More information about the weboob mailing list