Overpass API developpement

Text archives Help


Re: [overpass] debugging a new overpass installation


Chronological Thread 
  • From: Roland Olbricht <wrmo@gmx.de>
  • To: overpass@listes.openstreetmap.fr
  • Subject: Re: [overpass] debugging a new overpass installation
  • Date: Tue, 17 Mar 2015 18:17:46 +0100

Hi Richard,

i'm working on getting an installation of overpass working
against OpenHistoricalMap, and i'm looking for pointers on
how to debug some issues i'm having.

Thank you for the feedback.

The query is answered by the script
cgi-bin/xapi

The error is deteced by that

REQUEST_FILE=`mktemp /tmp/translate_xapi/XXXXXX`
$BIN_DIR/translate_xapi "${BUF}" >$REQUEST_FILE

returns a nonzero value, i.e.

echo $?

immediately after these commands return a nonzero value.

Please try

- whether the script works locally, i.e.

export QUERY_STRING="way..."
./xapi

also produces the error.

- whether the individual commands

mktemp /tmp/translate_xapi/XXXXXX

(the XXX do not need to be replaced)

and

../bin/translate_xapi "way..."

work properly and $REQUEST_FILE is acessible for writing.

Best regards,

Roland




Archive powered by MHonArc 2.6.18.

Top of page