<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>40489</bug_id>
          
          <creation_ts>2021-07-14 12:58:14 +0300</creation_ts>
          <short_desc>Ошибки и варнинги при выводе списка городов wetboobs</short_desc>
          <delta_ts>2021-07-14 12:58:14 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>weboob</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vera Blagoveschenskaya">vercha</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>cas</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>200468</commentid>
    <comment_count>0</comment_count>
    <who name="Vera Blagoveschenskaya">vercha</who>
    <bug_when>2021-07-14 12:58:14 +0300</bug_when>
    <thetext>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&gt; 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 &apos;NewConnectionError(&apos;&lt;urllib3.connection.VerifiedHTTPSConnection object at 0x7feab1628dd0&gt;: Failed to establish a new connection: [Errno -2] Name or service not known&apos;)&apos;: /v1/public/yql?q=select%20name,%20country,%20woeid,%20admin1%20from%20geo.places%20where%20text=%22b&apos;&apos;%22&amp;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 &apos;NewConnectionError(&apos;&lt;urllib3.connection.VerifiedHTTPSConnection object at 0x7feab2823bd0&gt;: Failed to establish a new connection: [Errno -2] Name or service not known&apos;)&apos;: /v1/public/yql?q=select%20name,%20country,%20woeid,%20admin1%20from%20geo.places%20where%20text=%22b&apos;&apos;%22&amp;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=&apos;query.yahooapis.com&apos;, port=443): Max retries exceeded with url: /v1/public/yql?q=select%20name,%20country,%20woeid,%20admin1%20from%20geo.places%20where%20text=%22b&apos;&apos;%22&amp;format=json (Caused by NewConnectionError(&apos;&lt;urllib3.connection.VerifiedHTTPSConnection object at 0x7feab22712d0&gt;: Failed to establish a new connection: [Errno -2] Name or service not known&apos;))
(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): &apos;Response&apos; object has no attribute &apos;iter_cities&apos;
(If --auto-update is passed on the command-line, new versions of the module will be checked automatically)
Use &quot;logging debug&quot; option to print backtraces.

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

    </bug>

</bugzilla>