I run the following query once a day, and today I hit this error:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" lang="en"/>
<title>OSM3S Response</title>
</head>
<body>
<p>The data included in this document is from www.openstreetmap.org. The data is made available under ODbL.</p>
<p><strong style="color:#FF0000">Error</strong>: runtime error: open64: 0 Success /opt/osm3s/db/ways.bin.idx File_Blocks_Index: Data file size does not match block size </p>
</body>
</html>
Error: runtime error: open64: 0 Success /opt/osm3s/db/ways.bin.idx File_Blocks_Index: Data file size does not match block size
The Overpass query is this (query.txt):
[out:json];
rel(14161553);
(._;>;);
out;
And I use this command to download it from command line:
Thank you for reporting this. But I'm still unable to reproduce the problem. As some maintenance has happened at about the time I'm confident that this had been a temporary issue only.
I run the following query once a day, and today I hit this error:
Error: runtime error: open64: 0 Success /opt/osm3s/db/ways.bin.idx File_Blocks_Index: Data file size does not match block size
The Overpass query is this (query.txt):
And I use this command to download it from command line:
And it returned 0 as error code, with the following output:
My local time is UTC-5.
For another relation (14161556), I got this:
Which returned a non-zero code.
What is the cause of this issue? was it related to a server issue? Should I check the HTTP error code, the 500?