The problem occurs when it tries to fetch the node. It appends /full at the end of the URL which then fails.
The exception is:
Exception: ('The requested data could not be downloaded. HTTP Error 404: Not Found', <HTTPError 404: 'Not Found'>)
Reproducible case:
from OSMPythonTools import cachingStrategy
from OSMPythonTools.overpass import Overpass
overpass = Overpass()
overpass_query = """
rel(52.85140,-1.35540,53.06546,-0.98999)["type"="route"]["route"="tram"]->.routes;
.routes out body;
way(r.routes)["railway"="tram"]->.route_ways;
.route_ways out body;
"""
overpass_data = overpass.query(overpass_query)
osm_relations = overpass_data.relations()
for rel_el in osm_relations:
rel_members = list(rel_el.members(shallow=False))