Bug 40489 - Ошибки и варнинги при выводе списка городов wetboobs
Summary: Ошибки и варнинги при выводе списка городов wetboobs
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: weboob (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Andrey Cherepanov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-14 12:58 MSK by Vera Blagoveschenskaya
Modified: 2021-07-14 12:58 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vera Blagoveschenskaya 2021-07-14 12:58:14 MSK
weboob-2.0-alt2.noarch

1) Выполнить команду 
$ wetboobs
2) Загрузить список всех бекендов: a
Available modules:
1) [ ] ilmatieteenlaitos   Get forecasts from the Ilmatieteenlaitos.fi website
2) [ ] lameteoagricole   lameteoagricole website
3) [ ] meteofrance       Get forecasts from the MeteoFrance website
4) [ ] weather           Get forecasts from weather.com
5) [ ] yahoo             Yahoo! Weather.
a) --all--               install all backends
q) --stop--

Select a backend to create (q to stop): a
3) Выполнить команду
wetboobs> cities

Результат: список выводится, но с варнингами и ошибками

2021-07-14 12:50:11,620:WARNING:urllib3.connectionpool:2.0:connectionpool.py:748:urlopen Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7feab1628dd0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /v1/public/yql?q=select%20name,%20country,%20woeid,%20admin1%20from%20geo.places%20where%20text=%22b''%22&format=json
2021-07-14 12:50:11,623:WARNING:urllib3.connectionpool:2.0:connectionpool.py:748:urlopen Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7feab2823bd0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /v1/public/yql?q=select%20name,%20country,%20woeid,%20admin1%20from%20geo.places%20where%20text=%22b''%22&format=json
 1 — Dijon, 21, FRANCE (weather)
 2 — Le Havre, 76, FRANCE (weather)
 3 — Tours, 37, FRANCE (weather)
 4 — Paris, 75, FRANCE (weather)
 5 — Marseille, 13, FRANCE (weather)
 6 — Saint-Étienne, 42, FRANCE (weather)
 7 — Toulon, 83, FRANCE (weather)
 8 — Frunze, GB, KIRGHIZISTAN (weather)
 9 — Franca, SP, BRÉSIL (weather)
10 — Freetown, W, SIERRA LEONE (weather)
Bug(yahoo): HTTPSConnectionPool(host='query.yahooapis.com', port=443): Max retries exceeded with url: /v1/public/yql?q=select%20name,%20country,%20woeid,%20admin1%20from%20geo.places%20where%20text=%22b''%22&format=json (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7feab22712d0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
(If --auto-update is passed on the command-line, new versions of the module will be checked automatically)
Bug(meteofrance): 404 Client Error: Not Found
(If --auto-update is passed on the command-line, new versions of the module will be checked automatically)
Bug(lameteoagricole): ElementTree not initialized, missing root
(If --auto-update is passed on the command-line, new versions of the module will be checked automatically)
Bug(ilmatieteenlaitos): 'Response' object has no attribute 'iter_cities'
(If --auto-update is passed on the command-line, new versions of the module will be checked automatically)
Use "logging debug" option to print backtraces.

Ожидаемый результат: отсутствие ошибок