-
Notifications
You must be signed in to change notification settings - Fork 248
Open
Description
Description
We are encountering an unhandled ValueError("All objects passed were None") when using client.query_generation for certain date ranges where ENTSO-E returns no data.
The error seems to originate from the internal year_wrapper decorator, which collects frames and attempts pd.concat(frames) even when all frames are None.
N.B: This issue happened just before the recent outage of the transparencey platform
Not sure if it's related to that.
Environment
entsoe-py version: 0.7.8
Python: 3.11
Pandas: 2
Code Snippet
import pandas as pd
from entsoe import EntsoePandasClient
client = EntsoePandasClient(api_key="...")
start = pd.Timestamp("2025-11-06", tz="Europe/Berlin")
end = pd.Timestamp("2025-11-06", tz="Europe/Berlin")
country_code = "BE"
df = client.query_generation(country_code, start=start, end=end)
Error Message
File ".../entsoe/series_parsers.py", line 125, in _parse_timeseries_generic
return pd.concat(series.values())
...
ValueError: All objects passed were None
spar-eag, asai-ci, niccolobianciardi and BerriJ
Metadata
Metadata
Assignees
Labels
No labels