Closed Touyu-Pan closed 1 year ago
In this case, the return data's sender name is empty string.
[
{
"sender_name": "",
"event": "Other dangers",
"start": 1674097200,
"end": 1674241200,
"description": "",
"tags": [],
},
{
"sender_name": "",
"event": "Прочие опасности",
"start": 1674097200,
"end": 1674241200,
"description": "Гололедица.",
"tags": [],
},
{
"sender_name": "",
"event": "Wind",
"start": 1674097200,
"end": 1674129600,
"description": "",
"tags": ["Wind"],
},
{
"sender_name": "",
"event": "Ветер",
"start": 1674097200,
"end": 1674129600,
"description": "Местами порывы до 17 м/с.",
"tags": ["Wind"],
},
{
"sender_name": "",
"event": "Freezing rain, icing",
"start": 1674097200,
"end": 1674108000,
"description": "",
"tags": ["Extreme temperature value", "Rain", "Black ice"],
},
{
"sender_name": "",
"event": "Гололедно - изморозевое отложение",
"start": 1674097200,
"end": 1674108000,
"description": "Слабый гололед",
"tags": ["Black ice"],
},
]
This was a duplicate of #399, and was already fixed with https://github.com/csparpa/pyowm/commit/f27876f5d679254b709f8a7ac9998c23ff02a289 in the develop branch, which also fixed handling for empty event description strings.
Problem
I tried to use
one_call
method to fetch the forecast info for this loaction lat:55.761665
, lon:37.606667
( Moscow, RU )I got this error message
How to reproduce this bug
pyowm version: 3.3.0 ( latest ) python version: 3.10.6