0s autopkgtest [12:15:29]: starting date and time: 2024-03-22 12:15:29+0000 0s autopkgtest [12:15:29]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [12:15:29]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.no0n6q31/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --setup-commands /home/ubuntu/autopkgtest/setup-commands/setup-testbed --apt-pocket=proposed=src:sphinx --apt-upgrade osmnx --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=sphinx/7.2.6-6 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos02-s390x-19.secgroup --name adt-noble-s390x-osmnx-20240322-121529-juju-7f2275-prod-proposed-migration-environment-3 --image adt/ubuntu-noble-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-3 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 107s autopkgtest [12:17:16]: testbed dpkg architecture: s390x 107s autopkgtest [12:17:16]: testbed apt version: 2.7.12 107s autopkgtest [12:17:16]: @@@@@@@@@@@@@@@@@@@@ test bed setup 108s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 109s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [54.0 kB] 109s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [496 kB] 109s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 109s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3807 kB] 110s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main s390x Packages [665 kB] 110s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main s390x c-n-f Metadata [3032 B] 110s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x Packages [1372 B] 110s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x c-n-f Metadata [116 B] 110s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x Packages [3992 kB] 111s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x c-n-f Metadata [7292 B] 111s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x Packages [45.1 kB] 111s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x c-n-f Metadata [116 B] 112s Fetched 9195 kB in 3s (2723 kB/s) 112s Reading package lists... 115s Reading package lists... 115s Building dependency tree... 115s Reading state information... 116s Calculating upgrade... 116s The following packages will be upgraded: 116s cloud-init debianutils fonts-ubuntu-console python3-markupsafe 116s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 116s Need to get 719 kB of archives. 116s After this operation, 11.3 kB disk space will be freed. 116s Get:1 http://ftpmaster.internal/ubuntu noble/main s390x debianutils s390x 5.17 [90.1 kB] 116s Get:2 http://ftpmaster.internal/ubuntu noble/main s390x fonts-ubuntu-console all 0.869+git20240321-0ubuntu1 [18.7 kB] 116s Get:3 http://ftpmaster.internal/ubuntu noble/main s390x python3-markupsafe s390x 2.1.5-1build1 [12.8 kB] 116s Get:4 http://ftpmaster.internal/ubuntu noble/main s390x cloud-init all 24.1.2-0ubuntu1 [597 kB] 116s Preconfiguring packages ... 116s Fetched 719 kB in 0s (1499 kB/s) 116s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52171 files and directories currently installed.) 116s Preparing to unpack .../debianutils_5.17_s390x.deb ... 116s Unpacking debianutils (5.17) over (5.16) ... 117s Setting up debianutils (5.17) ... 117s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52171 files and directories currently installed.) 117s Preparing to unpack .../fonts-ubuntu-console_0.869+git20240321-0ubuntu1_all.deb ... 117s Unpacking fonts-ubuntu-console (0.869+git20240321-0ubuntu1) over (0.869-0ubuntu1) ... 117s Preparing to unpack .../python3-markupsafe_2.1.5-1build1_s390x.deb ... 117s Unpacking python3-markupsafe (2.1.5-1build1) over (2.1.5-1) ... 117s Preparing to unpack .../cloud-init_24.1.2-0ubuntu1_all.deb ... 117s Unpacking cloud-init (24.1.2-0ubuntu1) over (24.1.1-0ubuntu1) ... 117s Setting up fonts-ubuntu-console (0.869+git20240321-0ubuntu1) ... 117s Setting up cloud-init (24.1.2-0ubuntu1) ... 118s Setting up python3-markupsafe (2.1.5-1build1) ... 118s Processing triggers for man-db (2.12.0-3) ... 119s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 119s Reading package lists... 120s Building dependency tree... 120s Reading state information... 120s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 120s Unknown architecture, assuming PC-style ttyS0 120s sh: Attempting to set up Debian/Ubuntu apt sources automatically 120s sh: Distribution appears to be Ubuntu 121s Reading package lists... 121s Building dependency tree... 121s Reading state information... 121s eatmydata is already the newest version (131-1). 121s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 121s Reading package lists... 121s Building dependency tree... 121s Reading state information... 122s dbus is already the newest version (1.14.10-4ubuntu1). 122s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 122s Reading package lists... 122s Building dependency tree... 122s Reading state information... 122s rng-tools-debian is already the newest version (2.4). 122s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 122s Reading package lists... 122s Building dependency tree... 122s Reading state information... 122s The following packages will be REMOVED: 122s cloud-init* python3-configobj* python3-debconf* 122s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 122s After this operation, 3256 kB disk space will be freed. 122s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52170 files and directories currently installed.) 122s Removing cloud-init (24.1.2-0ubuntu1) ... 123s Removing python3-configobj (5.0.8-3) ... 123s Removing python3-debconf (1.5.86) ... 123s Processing triggers for man-db (2.12.0-3) ... 123s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 51781 files and directories currently installed.) 123s Purging configuration files for cloud-init (24.1.2-0ubuntu1) ... 124s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 124s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 124s invoke-rc.d: policy-rc.d denied execution of try-restart. 124s Reading package lists... 124s Building dependency tree... 124s Reading state information... 124s linux-generic is already the newest version (6.8.0-11.11+1). 124s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 125s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 125s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 125s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 126s Reading package lists... 126s Reading package lists... 127s Building dependency tree... 127s Reading state information... 127s Calculating upgrade... 127s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 127s Reading package lists... 127s Building dependency tree... 127s Reading state information... 127s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 127s autopkgtest [12:17:36]: rebooting testbed after setup commands that affected boot 146s autopkgtest [12:17:55]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP Tue Feb 13 23:45:46 UTC 2024 149s autopkgtest [12:17:58]: @@@@@@@@@@@@@@@@@@@@ apt-source osmnx 151s Get:1 http://ftpmaster.internal/ubuntu noble/universe osmnx 1.9.1+ds-1 (dsc) [3430 B] 151s Get:2 http://ftpmaster.internal/ubuntu noble/universe osmnx 1.9.1+ds-1 (tar) [109 kB] 151s Get:3 http://ftpmaster.internal/ubuntu noble/universe osmnx 1.9.1+ds-1 (diff) [10.6 kB] 151s gpgv: Signature made Fri Feb 23 16:47:41 2024 UTC 151s gpgv: using RSA key AE28AE15710DFF1D87E5A7623F9219A67F36C68B 151s gpgv: issuer "calculus@rezozer.net" 151s gpgv: Can't check signature: No public key 151s dpkg-source: warning: cannot verify inline signature for ./osmnx_1.9.1+ds-1.dsc: no acceptable signature found 152s autopkgtest [12:18:01]: testing package osmnx version 1.9.1+ds-1 152s autopkgtest [12:18:01]: build not needed 152s autopkgtest [12:18:01]: test command1: preparing testbed 157s Reading package lists... 157s Building dependency tree... 157s Reading state information... 157s Starting pkgProblemResolver with broken count: 0 157s Starting 2 pkgProblemResolver with broken count: 0 157s Done 157s The following additional packages will be installed: 157s blt fontconfig-config fonts-dejavu-core fonts-dejavu-mono fonts-lyx 157s gdal-data gdal-plugins libaec0 libarmadillo12 libarpack2 libblas3 libblosc1 157s libcfitsio10 libdav1d7 libde265-0 libdeflate0 libfontconfig1 libfreetype6 157s libfreexl1 libfyba0 libgdal34 libgeos-c1v5 libgeos3.12.1 libgeotiff5 157s libgfortran5 libgif7 libgomp1 libgraphite2-3 libharfbuzz0b libhdf4-0-alt 157s libhdf5-103-1 libhdf5-hl-100 libheif-plugin-dav1d libheif-plugin-libde265 157s libheif1 libimagequant0 libjbig0 libjpeg-turbo8 libjpeg8 libjs-jquery 157s libjs-jquery-ui libjs-sphinxdoc libjs-underscore libkmlbase1 libkmldom1 157s libkmlengine1 liblapack3 liblbfgsb0 liblcms2-2 libltdl7 libminizip1 157s libmysqlclient21 libnetcdf19 libodbc2 libodbcinst2 libogdi4.1 libopenjp2-7 157s libpoppler134 libpq5 libproj25 libqhull-r8.0 libraqm0 librttopo1 157s libsharpyuv0 libsnappy1v5 libspatialite8 libsuperlu6 libsz2 libtcl8.6 157s libtiff6 libtk8.6 liburiparser1 libwebp7 libwebpdemux2 libwebpmux3 157s libxerces-c3.2 libxft2 libxrender1 libxslt1.1 libxss1 mysql-common proj-data 157s python-matplotlib-data python-osmnx-doc python3-appdirs python3-branca 157s python3-brotli python3-click python3-click-plugins python3-cligj 157s python3-colorama python3-contourpy python3-coverage python3-cycler 157s python3-dateutil python3-decorator python3-fiona python3-folium 157s python3-fonttools python3-fs python3-geopandas python3-iniconfig 157s python3-joblib python3-kiwisolver python3-lxml python3-lz4 157s python3-matplotlib python3-mpmath python3-networkx python3-numpy 157s python3-osmnx python3-packaging python3-pandas python3-pandas-lib 157s python3-pil python3-pil.imagetk python3-pluggy python3-pyproj python3-pytest 157s python3-scipy python3-shapely python3-sklearn python3-sklearn-lib 157s python3-sympy python3-threadpoolctl python3-tk python3-ufolib2 157s python3-unicodedata2 python3-xyzservices tk8.6-blt2.5 unicode-data 157s unixodbc-common x11-common 157s Suggested packages: 157s blt-demo geotiff-bin gdal-bin libgeotiff-epsg libhdf4-doc libhdf4-alt-dev 157s hdf4-tools libheif-plugin-ffmpegdec libheif-plugin-jpegdec 157s libheif-plugin-jpegenc libheif-plugin-j2kdec libheif-plugin-j2kenc 157s libheif-plugin-rav1e libheif-plugin-svtenc libjs-jquery-ui-docs 157s liblcms2-utils odbc-postgresql tdsodbc ogdi-bin proj-bin tcl8.6 tk8.6 157s www-browser pdf-viewer python-coverage-doc python-cycler-doc python-lxml-doc 157s cm-super-minimal dvipng ffmpeg fonts-staypuft ghostscript gir1.2-gtk-3.0 157s inkscape ipython3 librsvg2-common python3-cairocffi python3-gi-cairo 157s python3-gobject python3-pyqt5 python3-sip python3-tornado 157s texlive-extra-utils texlive-latex-extra python-mpmath-doc python3-gmpy2 157s python-networkx-doc python3-gdal python3-pydot python3-pygraphviz gcc 157s gfortran python3-dev python-pandas-doc python3-statsmodels python-pil-doc 157s python-scipy-doc python3-dap python-sklearn-doc texlive-fonts-extra 157s python-sympy-doc tix python3-tk-dbg 157s Recommended packages: 157s proj-bin libheif-plugin-aomenc libheif-plugin-x265 javascript-common 157s poppler-data python3-geopy python3-psycopg2 python3-rtree python3-simplejson 157s python3-psutil python3-bs4 python3-cssselect python3-html5lib python3-gdal 157s python3-rasterio python3-bottleneck python3-numexpr python3-odf 157s python3-openpyxl python3-tables python3-olefile g++ | c++-compiler 157s isympy-common 157s The following NEW packages will be installed: 157s autopkgtest-satdep blt fontconfig-config fonts-dejavu-core fonts-dejavu-mono 157s fonts-lyx gdal-data gdal-plugins libaec0 libarmadillo12 libarpack2 libblas3 157s libblosc1 libcfitsio10 libdav1d7 libde265-0 libdeflate0 libfontconfig1 157s libfreetype6 libfreexl1 libfyba0 libgdal34 libgeos-c1v5 libgeos3.12.1 157s libgeotiff5 libgfortran5 libgif7 libgomp1 libgraphite2-3 libharfbuzz0b 157s libhdf4-0-alt libhdf5-103-1 libhdf5-hl-100 libheif-plugin-dav1d 157s libheif-plugin-libde265 libheif1 libimagequant0 libjbig0 libjpeg-turbo8 157s libjpeg8 libjs-jquery libjs-jquery-ui libjs-sphinxdoc libjs-underscore 157s libkmlbase1 libkmldom1 libkmlengine1 liblapack3 liblbfgsb0 liblcms2-2 157s libltdl7 libminizip1 libmysqlclient21 libnetcdf19 libodbc2 libodbcinst2 157s libogdi4.1 libopenjp2-7 libpoppler134 libpq5 libproj25 libqhull-r8.0 157s libraqm0 librttopo1 libsharpyuv0 libsnappy1v5 libspatialite8 libsuperlu6 157s libsz2 libtcl8.6 libtiff6 libtk8.6 liburiparser1 libwebp7 libwebpdemux2 157s libwebpmux3 libxerces-c3.2 libxft2 libxrender1 libxslt1.1 libxss1 157s mysql-common proj-data python-matplotlib-data python-osmnx-doc 157s python3-appdirs python3-branca python3-brotli python3-click 157s python3-click-plugins python3-cligj python3-colorama python3-contourpy 157s python3-coverage python3-cycler python3-dateutil python3-decorator 157s python3-fiona python3-folium python3-fonttools python3-fs python3-geopandas 157s python3-iniconfig python3-joblib python3-kiwisolver python3-lxml python3-lz4 157s python3-matplotlib python3-mpmath python3-networkx python3-numpy 157s python3-osmnx python3-packaging python3-pandas python3-pandas-lib 157s python3-pil python3-pil.imagetk python3-pluggy python3-pyproj python3-pytest 157s python3-scipy python3-shapely python3-sklearn python3-sklearn-lib 157s python3-sympy python3-threadpoolctl python3-tk python3-ufolib2 157s python3-unicodedata2 python3-xyzservices tk8.6-blt2.5 unicode-data 157s unixodbc-common x11-common 157s 0 upgraded, 134 newly installed, 0 to remove and 0 not upgraded. 157s Need to get 126 MB/126 MB of archives. 157s After this operation, 556 MB of additional disk space will be used. 157s Get:1 /tmp/autopkgtest.Rf9KSW/1-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [760 B] 157s Get:2 http://ftpmaster.internal/ubuntu noble/main s390x libtcl8.6 s390x 8.6.13+dfsg-2 [948 kB] 158s Get:3 http://ftpmaster.internal/ubuntu noble/main s390x libfreetype6 s390x 2.13.2+dfsg-1 [431 kB] 158s Get:4 http://ftpmaster.internal/ubuntu noble/main s390x fonts-dejavu-mono all 2.37-8 [502 kB] 159s Get:5 http://ftpmaster.internal/ubuntu noble/main s390x fonts-dejavu-core all 2.37-8 [835 kB] 159s Get:6 http://ftpmaster.internal/ubuntu noble/main s390x fontconfig-config s390x 2.15.0-1ubuntu1 [37.0 kB] 159s Get:7 http://ftpmaster.internal/ubuntu noble/main s390x libfontconfig1 s390x 2.15.0-1ubuntu1 [150 kB] 159s Get:8 http://ftpmaster.internal/ubuntu noble/main s390x libxrender1 s390x 1:0.9.10-1.1 [19.4 kB] 159s Get:9 http://ftpmaster.internal/ubuntu noble/main s390x libxft2 s390x 2.3.6-1 [44.3 kB] 159s Get:10 http://ftpmaster.internal/ubuntu noble/main s390x x11-common all 1:7.7+23ubuntu2 [23.4 kB] 159s Get:11 http://ftpmaster.internal/ubuntu noble/main s390x libxss1 s390x 1:1.2.3-1build2 [8192 B] 159s Get:12 http://ftpmaster.internal/ubuntu noble/main s390x libtk8.6 s390x 8.6.13-2 [757 kB] 159s Get:13 http://ftpmaster.internal/ubuntu noble/main s390x tk8.6-blt2.5 s390x 2.5.3+dfsg-7 [661 kB] 159s Get:14 http://ftpmaster.internal/ubuntu noble/main s390x blt s390x 2.5.3+dfsg-7 [4826 B] 159s Get:15 http://ftpmaster.internal/ubuntu noble/universe s390x fonts-lyx all 2.4.0~RC3-1 [170 kB] 159s Get:16 http://ftpmaster.internal/ubuntu noble/universe s390x gdal-data all 3.8.4+dfsg-1 [261 kB] 159s Get:17 http://ftpmaster.internal/ubuntu noble/universe s390x gdal-plugins s390x 3.8.4+dfsg-1 [24.5 kB] 159s Get:18 http://ftpmaster.internal/ubuntu noble/universe s390x libaec0 s390x 1.1.2-1 [25.7 kB] 159s Get:19 http://ftpmaster.internal/ubuntu noble/main s390x libblas3 s390x 3.12.0-3 [245 kB] 159s Get:20 http://ftpmaster.internal/ubuntu noble/main s390x libgfortran5 s390x 14-20240303-1ubuntu1 [598 kB] 160s Get:21 http://ftpmaster.internal/ubuntu noble/main s390x liblapack3 s390x 3.12.0-3 [2979 kB] 160s Get:22 http://ftpmaster.internal/ubuntu noble/universe s390x libarpack2 s390x 3.9.1-1 [111 kB] 160s Get:23 http://ftpmaster.internal/ubuntu noble/universe s390x libsuperlu6 s390x 6.0.1+dfsg1-1 [232 kB] 160s Get:24 http://ftpmaster.internal/ubuntu noble/universe s390x libarmadillo12 s390x 1:12.6.7+dfsg-1 [140 kB] 160s Get:25 http://ftpmaster.internal/ubuntu noble/main s390x libsnappy1v5 s390x 1.1.10-1 [30.0 kB] 160s Get:26 http://ftpmaster.internal/ubuntu noble/universe s390x libblosc1 s390x 1.21.5+ds-1 [27.3 kB] 160s Get:27 http://ftpmaster.internal/ubuntu noble/universe s390x libcfitsio10 s390x 4.3.1-1 [608 kB] 160s Get:28 http://ftpmaster.internal/ubuntu noble/universe s390x libdav1d7 s390x 1.4.0-1 [316 kB] 161s Get:29 http://ftpmaster.internal/ubuntu noble/universe s390x libde265-0 s390x 1.0.15-1 [201 kB] 161s Get:30 http://ftpmaster.internal/ubuntu noble/main s390x libdeflate0 s390x 1.19-1 [46.0 kB] 161s Get:31 http://ftpmaster.internal/ubuntu noble/universe s390x libfyba0 s390x 4.1.1-8 [115 kB] 161s Get:32 http://ftpmaster.internal/ubuntu noble/universe s390x libminizip1 s390x 1:1.3.dfsg-3ubuntu1 [23.8 kB] 161s Get:33 http://ftpmaster.internal/ubuntu noble/universe s390x libfreexl1 s390x 2.0.0-1 [45.9 kB] 161s Get:34 http://ftpmaster.internal/ubuntu noble/universe s390x libgeos3.12.1 s390x 3.12.1-1 [882 kB] 161s Get:35 http://ftpmaster.internal/ubuntu noble/universe s390x libgeos-c1v5 s390x 3.12.1-1 [90.1 kB] 161s Get:36 http://ftpmaster.internal/ubuntu noble/universe s390x proj-data all 9.3.1-1 [7867 kB] 163s Get:37 http://ftpmaster.internal/ubuntu noble/main s390x libjbig0 s390x 2.1-6.1ubuntu1 [29.8 kB] 163s Get:38 http://ftpmaster.internal/ubuntu noble/main s390x libjpeg-turbo8 s390x 2.1.5-2ubuntu1 [128 kB] 163s Get:39 http://ftpmaster.internal/ubuntu noble/main s390x libjpeg8 s390x 8c-2ubuntu11 [2146 B] 163s Get:40 http://ftpmaster.internal/ubuntu noble/main s390x libsharpyuv0 s390x 1.3.2-0.4 [14.8 kB] 163s Get:41 http://ftpmaster.internal/ubuntu noble/main s390x libwebp7 s390x 1.3.2-0.4 [207 kB] 163s Get:42 http://ftpmaster.internal/ubuntu noble/main s390x libtiff6 s390x 4.5.1+git230720-3ubuntu1 [253 kB] 163s Get:43 http://ftpmaster.internal/ubuntu noble/universe s390x libproj25 s390x 9.3.1-1 [1368 kB] 163s Get:44 http://ftpmaster.internal/ubuntu noble/universe s390x libgeotiff5 s390x 1.7.1-5 [66.6 kB] 163s Get:45 http://ftpmaster.internal/ubuntu noble/main s390x libgif7 s390x 5.2.1-2.5 [34.2 kB] 163s Get:46 http://ftpmaster.internal/ubuntu noble/universe s390x libhdf4-0-alt s390x 4.2.16-3 [272 kB] 163s Get:47 http://ftpmaster.internal/ubuntu noble/universe s390x libsz2 s390x 1.1.2-1 [5346 B] 163s Get:48 http://ftpmaster.internal/ubuntu noble/universe s390x libhdf5-103-1 s390x 1.10.10+repack-3ubuntu1 [1425 kB] 163s Get:49 http://ftpmaster.internal/ubuntu noble/universe s390x libheif-plugin-dav1d s390x 1.17.6-1ubuntu1 [11.1 kB] 163s Get:50 http://ftpmaster.internal/ubuntu noble/universe s390x libheif-plugin-libde265 s390x 1.17.6-1ubuntu1 [9250 B] 163s Get:51 http://ftpmaster.internal/ubuntu noble/universe s390x libheif1 s390x 1.17.6-1ubuntu1 [354 kB] 163s Get:52 http://ftpmaster.internal/ubuntu noble/universe s390x liburiparser1 s390x 0.9.7+dfsg-2 [36.7 kB] 163s Get:53 http://ftpmaster.internal/ubuntu noble/universe s390x libkmlbase1 s390x 1.3.0-10 [45.4 kB] 163s Get:54 http://ftpmaster.internal/ubuntu noble/universe s390x libkmldom1 s390x 1.3.0-10 [136 kB] 163s Get:55 http://ftpmaster.internal/ubuntu noble/universe s390x libkmlengine1 s390x 1.3.0-10 [62.8 kB] 164s Get:56 http://ftpmaster.internal/ubuntu noble/main s390x mysql-common all 5.8+1.1.0 [6626 B] 164s Get:57 http://ftpmaster.internal/ubuntu noble/main s390x libmysqlclient21 s390x 8.0.36-1 [1325 kB] 164s Get:58 http://ftpmaster.internal/ubuntu noble/universe s390x libhdf5-hl-100 s390x 1.10.10+repack-3ubuntu1 [57.5 kB] 164s Get:59 http://ftpmaster.internal/ubuntu noble/universe s390x libnetcdf19 s390x 1:4.9.2-3ubuntu1 [506 kB] 164s Get:60 http://ftpmaster.internal/ubuntu noble/main s390x libltdl7 s390x 2.4.7-7 [41.6 kB] 164s Get:61 http://ftpmaster.internal/ubuntu noble/main s390x libodbc2 s390x 2.3.12-1 [164 kB] 164s Get:62 http://ftpmaster.internal/ubuntu noble/main s390x unixodbc-common all 2.3.12-1 [8524 B] 164s Get:63 http://ftpmaster.internal/ubuntu noble/main s390x libodbcinst2 s390x 2.3.12-1 [31.9 kB] 164s Get:64 http://ftpmaster.internal/ubuntu noble/universe s390x libogdi4.1 s390x 4.1.1+ds-1 [214 kB] 164s Get:65 http://ftpmaster.internal/ubuntu noble/main s390x libopenjp2-7 s390x 2.5.0-2 [169 kB] 164s Get:66 http://ftpmaster.internal/ubuntu noble/main s390x liblcms2-2 s390x 2.14-2 [155 kB] 164s Get:67 http://ftpmaster.internal/ubuntu noble/main s390x libpoppler134 s390x 24.02.0-1ubuntu2 [1171 kB] 164s Get:68 http://ftpmaster.internal/ubuntu noble/main s390x libpq5 s390x 16.2-1 [143 kB] 164s Get:69 http://ftpmaster.internal/ubuntu noble/universe s390x libqhull-r8.0 s390x 2020.2-6 [181 kB] 164s Get:70 http://ftpmaster.internal/ubuntu noble/universe s390x librttopo1 s390x 1.1.0-3 [182 kB] 164s Get:71 http://ftpmaster.internal/ubuntu noble/universe s390x libspatialite8 s390x 5.1.0-1 [1972 kB] 165s Get:72 http://ftpmaster.internal/ubuntu noble/universe s390x libxerces-c3.2 s390x 3.2.4+debian-1.1 [1177 kB] 165s Get:73 http://ftpmaster.internal/ubuntu noble/universe s390x libgdal34 s390x 3.8.4+dfsg-1 [8693 kB] 167s Get:74 http://ftpmaster.internal/ubuntu noble/main s390x libgomp1 s390x 14-20240303-1ubuntu1 [151 kB] 167s Get:75 http://ftpmaster.internal/ubuntu noble/main s390x libgraphite2-3 s390x 1.3.14-2 [90.4 kB] 167s Get:76 http://ftpmaster.internal/ubuntu noble/main s390x libharfbuzz0b s390x 8.3.0-2 [515 kB] 167s Get:77 http://ftpmaster.internal/ubuntu noble/main s390x libimagequant0 s390x 2.18.0-1 [42.9 kB] 167s Get:78 http://ftpmaster.internal/ubuntu noble/main s390x libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 167s Get:79 http://ftpmaster.internal/ubuntu noble/universe s390x libjs-jquery-ui all 1.13.2+dfsg-1 [252 kB] 167s Get:80 http://ftpmaster.internal/ubuntu noble/main s390x libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 167s Get:81 http://ftpmaster.internal/ubuntu noble/main s390x libjs-sphinxdoc all 7.2.6-4 [149 kB] 167s Get:82 http://ftpmaster.internal/ubuntu noble/universe s390x liblbfgsb0 s390x 3.0+dfsg.4-1 [28.4 kB] 167s Get:83 http://ftpmaster.internal/ubuntu noble/main s390x libraqm0 s390x 0.10.1-1 [14.4 kB] 167s Get:84 http://ftpmaster.internal/ubuntu noble/main s390x libwebpdemux2 s390x 1.3.2-0.4 [12.4 kB] 167s Get:85 http://ftpmaster.internal/ubuntu noble/main s390x libwebpmux3 s390x 1.3.2-0.4 [25.4 kB] 167s Get:86 http://ftpmaster.internal/ubuntu noble/main s390x libxslt1.1 s390x 1.1.35-1 [157 kB] 167s Get:87 http://ftpmaster.internal/ubuntu noble/universe s390x python-matplotlib-data all 3.6.3-1ubuntu3 [2936 kB] 169s Get:88 http://ftpmaster.internal/ubuntu noble/universe s390x python-osmnx-doc all 1.9.1+ds-1 [597 kB] 169s Get:89 http://ftpmaster.internal/ubuntu noble/main s390x python3-appdirs all 1.4.4-4 [10.9 kB] 169s Get:90 http://ftpmaster.internal/ubuntu noble/universe s390x python3-branca all 0.7.1-2 [23.8 kB] 169s Get:91 http://ftpmaster.internal/ubuntu noble/universe s390x python3-brotli s390x 1.1.0-2 [383 kB] 169s Get:92 http://ftpmaster.internal/ubuntu noble/main s390x python3-colorama all 0.4.6-4 [32.1 kB] 169s Get:93 http://ftpmaster.internal/ubuntu noble/main s390x python3-click all 8.1.6-1 [79.0 kB] 169s Get:94 http://ftpmaster.internal/ubuntu noble/universe s390x python3-click-plugins all 1.1.1-4 [9288 B] 169s Get:95 http://ftpmaster.internal/ubuntu noble/universe s390x python3-cligj all 0.7.2-2 [7788 B] 169s Get:96 http://ftpmaster.internal/ubuntu noble/main s390x python3-numpy s390x 1:1.24.2-2 [5137 kB] 169s Get:97 http://ftpmaster.internal/ubuntu noble/universe s390x python3-contourpy s390x 1.0.7-1build2 [271 kB] 169s Get:98 http://ftpmaster.internal/ubuntu noble/universe s390x python3-coverage s390x 7.3.2-0ubuntu1 [147 kB] 169s Get:99 http://ftpmaster.internal/ubuntu noble/universe s390x python3-cycler all 0.11.0-2 [8202 B] 169s Get:100 http://ftpmaster.internal/ubuntu noble/main s390x python3-dateutil all 2.8.2-3 [79.2 kB] 169s Get:101 http://ftpmaster.internal/ubuntu noble/main s390x python3-decorator all 5.1.1-5 [10.1 kB] 169s Get:102 http://ftpmaster.internal/ubuntu noble/universe s390x python3-fiona s390x 1.9.5-1build2 [927 kB] 170s Get:103 http://ftpmaster.internal/ubuntu noble/universe s390x python3-xyzservices all 2023.10.1-1 [30.8 kB] 170s Get:104 http://ftpmaster.internal/ubuntu noble/universe s390x python3-folium all 0.15.1+dfsg1-2 [1188 kB] 170s Get:105 http://ftpmaster.internal/ubuntu noble/universe s390x python3-scipy s390x 1.11.4-6 [20.1 MB] 172s Get:106 http://ftpmaster.internal/ubuntu noble/universe s390x python3-ufolib2 all 0.16.0+dfsg1-1 [33.5 kB] 172s Get:107 http://ftpmaster.internal/ubuntu noble/universe s390x python3-mpmath all 1.2.1-3 [421 kB] 172s Get:108 http://ftpmaster.internal/ubuntu noble/universe s390x python3-sympy all 1.12-7 [3966 kB] 172s Get:109 http://ftpmaster.internal/ubuntu noble/universe s390x python3-fs all 2.4.16-3 [91.1 kB] 172s Get:110 http://ftpmaster.internal/ubuntu noble/main s390x python3-lxml s390x 5.1.0-1 [2268 kB] 172s Get:111 http://ftpmaster.internal/ubuntu noble/universe s390x python3-lz4 s390x 4.0.2+dfsg-1build2 [26.8 kB] 172s Get:112 http://ftpmaster.internal/ubuntu noble/universe s390x python3-unicodedata2 s390x 15.1.0+ds-1 [370 kB] 172s Get:113 http://ftpmaster.internal/ubuntu noble/universe s390x unicode-data all 15.1.0-1 [8878 kB] 173s Get:114 http://ftpmaster.internal/ubuntu noble/universe s390x python3-fonttools s390x 4.46.0-1 [1668 kB] 173s Get:115 http://ftpmaster.internal/ubuntu noble/universe s390x python3-pandas-lib s390x 2.1.4+dfsg-4ubuntu2 [8852 kB] 173s Get:116 http://ftpmaster.internal/ubuntu noble/universe s390x python3-pandas all 2.1.4+dfsg-4ubuntu2 [3042 kB] 173s Get:117 http://ftpmaster.internal/ubuntu noble/universe s390x python3-pyproj s390x 3.6.1-2 [688 kB] 173s Get:118 http://ftpmaster.internal/ubuntu noble/universe s390x python3-shapely s390x 2.0.3-1 [404 kB] 173s Get:119 http://ftpmaster.internal/ubuntu noble/main s390x python3-packaging all 23.2-1 [40.6 kB] 173s Get:120 http://ftpmaster.internal/ubuntu noble/universe s390x python3-geopandas all 0.14.3-2 [1637 kB] 173s Get:121 http://ftpmaster.internal/ubuntu noble/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 173s Get:122 http://ftpmaster.internal/ubuntu noble/universe s390x python3-joblib all 1.3.2-1 [207 kB] 173s Get:123 http://ftpmaster.internal/ubuntu noble/universe s390x python3-kiwisolver s390x 1.4.4-1build2 [71.9 kB] 173s Get:124 http://ftpmaster.internal/ubuntu noble/main s390x python3-pil s390x 10.2.0-1 [519 kB] 173s Get:125 http://ftpmaster.internal/ubuntu noble/main s390x python3-tk s390x 3.11.5-1 [114 kB] 173s Get:126 http://ftpmaster.internal/ubuntu noble/universe s390x python3-pil.imagetk s390x 10.2.0-1 [9578 B] 173s Get:127 http://ftpmaster.internal/ubuntu noble/universe s390x python3-matplotlib s390x 3.6.3-1ubuntu3 [7346 kB] 173s Get:128 http://ftpmaster.internal/ubuntu noble/main s390x python3-networkx all 2.8.8-1ubuntu1 [1468 kB] 173s Get:129 http://ftpmaster.internal/ubuntu noble/universe s390x python3-osmnx all 1.9.1+ds-1 [75.6 kB] 173s Get:130 http://ftpmaster.internal/ubuntu noble/universe s390x python3-pluggy all 1.4.0-1 [20.4 kB] 173s Get:131 http://ftpmaster.internal/ubuntu noble/universe s390x python3-pytest all 7.4.4-1 [305 kB] 173s Get:132 http://ftpmaster.internal/ubuntu noble/universe s390x python3-threadpoolctl all 3.1.0-1 [21.3 kB] 173s Get:133 http://ftpmaster.internal/ubuntu noble/universe s390x python3-sklearn-lib s390x 1.4.1.post1+dfsg-1 [7370 kB] 174s Get:134 http://ftpmaster.internal/ubuntu noble/universe s390x python3-sklearn all 1.4.1.post1+dfsg-1 [2261 kB] 174s Fetched 126 MB in 17s (7603 kB/s) 174s Selecting previously unselected package libtcl8.6:s390x. 174s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 51726 files and directories currently installed.) 174s Preparing to unpack .../000-libtcl8.6_8.6.13+dfsg-2_s390x.deb ... 174s Unpacking libtcl8.6:s390x (8.6.13+dfsg-2) ... 174s Selecting previously unselected package libfreetype6:s390x. 174s Preparing to unpack .../001-libfreetype6_2.13.2+dfsg-1_s390x.deb ... 174s Unpacking libfreetype6:s390x (2.13.2+dfsg-1) ... 174s Selecting previously unselected package fonts-dejavu-mono. 174s Preparing to unpack .../002-fonts-dejavu-mono_2.37-8_all.deb ... 174s Unpacking fonts-dejavu-mono (2.37-8) ... 174s Selecting previously unselected package fonts-dejavu-core. 174s Preparing to unpack .../003-fonts-dejavu-core_2.37-8_all.deb ... 174s Unpacking fonts-dejavu-core (2.37-8) ... 175s Selecting previously unselected package fontconfig-config. 175s Preparing to unpack .../004-fontconfig-config_2.15.0-1ubuntu1_s390x.deb ... 175s Unpacking fontconfig-config (2.15.0-1ubuntu1) ... 175s Selecting previously unselected package libfontconfig1:s390x. 175s Preparing to unpack .../005-libfontconfig1_2.15.0-1ubuntu1_s390x.deb ... 175s Unpacking libfontconfig1:s390x (2.15.0-1ubuntu1) ... 175s Selecting previously unselected package libxrender1:s390x. 175s Preparing to unpack .../006-libxrender1_1%3a0.9.10-1.1_s390x.deb ... 175s Unpacking libxrender1:s390x (1:0.9.10-1.1) ... 175s Selecting previously unselected package libxft2:s390x. 175s Preparing to unpack .../007-libxft2_2.3.6-1_s390x.deb ... 175s Unpacking libxft2:s390x (2.3.6-1) ... 175s Selecting previously unselected package x11-common. 175s Preparing to unpack .../008-x11-common_1%3a7.7+23ubuntu2_all.deb ... 175s Unpacking x11-common (1:7.7+23ubuntu2) ... 175s Selecting previously unselected package libxss1:s390x. 175s Preparing to unpack .../009-libxss1_1%3a1.2.3-1build2_s390x.deb ... 175s Unpacking libxss1:s390x (1:1.2.3-1build2) ... 175s Selecting previously unselected package libtk8.6:s390x. 175s Preparing to unpack .../010-libtk8.6_8.6.13-2_s390x.deb ... 175s Unpacking libtk8.6:s390x (8.6.13-2) ... 175s Selecting previously unselected package tk8.6-blt2.5. 175s Preparing to unpack .../011-tk8.6-blt2.5_2.5.3+dfsg-7_s390x.deb ... 175s Unpacking tk8.6-blt2.5 (2.5.3+dfsg-7) ... 175s Selecting previously unselected package blt. 175s Preparing to unpack .../012-blt_2.5.3+dfsg-7_s390x.deb ... 175s Unpacking blt (2.5.3+dfsg-7) ... 175s Selecting previously unselected package fonts-lyx. 175s Preparing to unpack .../013-fonts-lyx_2.4.0~RC3-1_all.deb ... 175s Unpacking fonts-lyx (2.4.0~RC3-1) ... 175s Selecting previously unselected package gdal-data. 175s Preparing to unpack .../014-gdal-data_3.8.4+dfsg-1_all.deb ... 175s Unpacking gdal-data (3.8.4+dfsg-1) ... 175s Selecting previously unselected package gdal-plugins:s390x. 175s Preparing to unpack .../015-gdal-plugins_3.8.4+dfsg-1_s390x.deb ... 175s Unpacking gdal-plugins:s390x (3.8.4+dfsg-1) ... 175s Selecting previously unselected package libaec0:s390x. 175s Preparing to unpack .../016-libaec0_1.1.2-1_s390x.deb ... 175s Unpacking libaec0:s390x (1.1.2-1) ... 175s Selecting previously unselected package libblas3:s390x. 175s Preparing to unpack .../017-libblas3_3.12.0-3_s390x.deb ... 175s Unpacking libblas3:s390x (3.12.0-3) ... 175s Selecting previously unselected package libgfortran5:s390x. 175s Preparing to unpack .../018-libgfortran5_14-20240303-1ubuntu1_s390x.deb ... 175s Unpacking libgfortran5:s390x (14-20240303-1ubuntu1) ... 175s Selecting previously unselected package liblapack3:s390x. 175s Preparing to unpack .../019-liblapack3_3.12.0-3_s390x.deb ... 175s Unpacking liblapack3:s390x (3.12.0-3) ... 175s Selecting previously unselected package libarpack2:s390x. 175s Preparing to unpack .../020-libarpack2_3.9.1-1_s390x.deb ... 175s Unpacking libarpack2:s390x (3.9.1-1) ... 175s Selecting previously unselected package libsuperlu6:s390x. 175s Preparing to unpack .../021-libsuperlu6_6.0.1+dfsg1-1_s390x.deb ... 175s Unpacking libsuperlu6:s390x (6.0.1+dfsg1-1) ... 175s Selecting previously unselected package libarmadillo12. 175s Preparing to unpack .../022-libarmadillo12_1%3a12.6.7+dfsg-1_s390x.deb ... 175s Unpacking libarmadillo12 (1:12.6.7+dfsg-1) ... 175s Selecting previously unselected package libsnappy1v5:s390x. 175s Preparing to unpack .../023-libsnappy1v5_1.1.10-1_s390x.deb ... 175s Unpacking libsnappy1v5:s390x (1.1.10-1) ... 175s Selecting previously unselected package libblosc1:s390x. 175s Preparing to unpack .../024-libblosc1_1.21.5+ds-1_s390x.deb ... 175s Unpacking libblosc1:s390x (1.21.5+ds-1) ... 175s Selecting previously unselected package libcfitsio10:s390x. 175s Preparing to unpack .../025-libcfitsio10_4.3.1-1_s390x.deb ... 175s Unpacking libcfitsio10:s390x (4.3.1-1) ... 175s Selecting previously unselected package libdav1d7:s390x. 175s Preparing to unpack .../026-libdav1d7_1.4.0-1_s390x.deb ... 175s Unpacking libdav1d7:s390x (1.4.0-1) ... 175s Selecting previously unselected package libde265-0:s390x. 175s Preparing to unpack .../027-libde265-0_1.0.15-1_s390x.deb ... 175s Unpacking libde265-0:s390x (1.0.15-1) ... 175s Selecting previously unselected package libdeflate0:s390x. 175s Preparing to unpack .../028-libdeflate0_1.19-1_s390x.deb ... 175s Unpacking libdeflate0:s390x (1.19-1) ... 175s Selecting previously unselected package libfyba0:s390x. 175s Preparing to unpack .../029-libfyba0_4.1.1-8_s390x.deb ... 175s Unpacking libfyba0:s390x (4.1.1-8) ... 175s Selecting previously unselected package libminizip1:s390x. 175s Preparing to unpack .../030-libminizip1_1%3a1.3.dfsg-3ubuntu1_s390x.deb ... 175s Unpacking libminizip1:s390x (1:1.3.dfsg-3ubuntu1) ... 175s Selecting previously unselected package libfreexl1:s390x. 175s Preparing to unpack .../031-libfreexl1_2.0.0-1_s390x.deb ... 175s Unpacking libfreexl1:s390x (2.0.0-1) ... 175s Selecting previously unselected package libgeos3.12.1:s390x. 175s Preparing to unpack .../032-libgeos3.12.1_3.12.1-1_s390x.deb ... 175s Unpacking libgeos3.12.1:s390x (3.12.1-1) ... 175s Selecting previously unselected package libgeos-c1v5:s390x. 175s Preparing to unpack .../033-libgeos-c1v5_3.12.1-1_s390x.deb ... 175s Unpacking libgeos-c1v5:s390x (3.12.1-1) ... 175s Selecting previously unselected package proj-data. 175s Preparing to unpack .../034-proj-data_9.3.1-1_all.deb ... 175s Unpacking proj-data (9.3.1-1) ... 175s Selecting previously unselected package libjbig0:s390x. 175s Preparing to unpack .../035-libjbig0_2.1-6.1ubuntu1_s390x.deb ... 175s Unpacking libjbig0:s390x (2.1-6.1ubuntu1) ... 175s Selecting previously unselected package libjpeg-turbo8:s390x. 175s Preparing to unpack .../036-libjpeg-turbo8_2.1.5-2ubuntu1_s390x.deb ... 175s Unpacking libjpeg-turbo8:s390x (2.1.5-2ubuntu1) ... 175s Selecting previously unselected package libjpeg8:s390x. 175s Preparing to unpack .../037-libjpeg8_8c-2ubuntu11_s390x.deb ... 175s Unpacking libjpeg8:s390x (8c-2ubuntu11) ... 175s Selecting previously unselected package libsharpyuv0:s390x. 175s Preparing to unpack .../038-libsharpyuv0_1.3.2-0.4_s390x.deb ... 175s Unpacking libsharpyuv0:s390x (1.3.2-0.4) ... 176s Selecting previously unselected package libwebp7:s390x. 176s Preparing to unpack .../039-libwebp7_1.3.2-0.4_s390x.deb ... 176s Unpacking libwebp7:s390x (1.3.2-0.4) ... 176s Selecting previously unselected package libtiff6:s390x. 176s Preparing to unpack .../040-libtiff6_4.5.1+git230720-3ubuntu1_s390x.deb ... 176s Unpacking libtiff6:s390x (4.5.1+git230720-3ubuntu1) ... 176s Selecting previously unselected package libproj25:s390x. 176s Preparing to unpack .../041-libproj25_9.3.1-1_s390x.deb ... 176s Unpacking libproj25:s390x (9.3.1-1) ... 176s Selecting previously unselected package libgeotiff5:s390x. 176s Preparing to unpack .../042-libgeotiff5_1.7.1-5_s390x.deb ... 176s Unpacking libgeotiff5:s390x (1.7.1-5) ... 176s Selecting previously unselected package libgif7:s390x. 176s Preparing to unpack .../043-libgif7_5.2.1-2.5_s390x.deb ... 176s Unpacking libgif7:s390x (5.2.1-2.5) ... 176s Selecting previously unselected package libhdf4-0-alt. 176s Preparing to unpack .../044-libhdf4-0-alt_4.2.16-3_s390x.deb ... 176s Unpacking libhdf4-0-alt (4.2.16-3) ... 176s Selecting previously unselected package libsz2:s390x. 176s Preparing to unpack .../045-libsz2_1.1.2-1_s390x.deb ... 176s Unpacking libsz2:s390x (1.1.2-1) ... 176s Selecting previously unselected package libhdf5-103-1:s390x. 176s Preparing to unpack .../046-libhdf5-103-1_1.10.10+repack-3ubuntu1_s390x.deb ... 176s Unpacking libhdf5-103-1:s390x (1.10.10+repack-3ubuntu1) ... 176s Selecting previously unselected package libheif-plugin-dav1d:s390x. 176s Preparing to unpack .../047-libheif-plugin-dav1d_1.17.6-1ubuntu1_s390x.deb ... 176s Unpacking libheif-plugin-dav1d:s390x (1.17.6-1ubuntu1) ... 176s Selecting previously unselected package libheif-plugin-libde265:s390x. 176s Preparing to unpack .../048-libheif-plugin-libde265_1.17.6-1ubuntu1_s390x.deb ... 176s Unpacking libheif-plugin-libde265:s390x (1.17.6-1ubuntu1) ... 176s Selecting previously unselected package libheif1:s390x. 176s Preparing to unpack .../049-libheif1_1.17.6-1ubuntu1_s390x.deb ... 176s Unpacking libheif1:s390x (1.17.6-1ubuntu1) ... 176s Selecting previously unselected package liburiparser1:s390x. 176s Preparing to unpack .../050-liburiparser1_0.9.7+dfsg-2_s390x.deb ... 176s Unpacking liburiparser1:s390x (0.9.7+dfsg-2) ... 176s Selecting previously unselected package libkmlbase1:s390x. 176s Preparing to unpack .../051-libkmlbase1_1.3.0-10_s390x.deb ... 176s Unpacking libkmlbase1:s390x (1.3.0-10) ... 176s Selecting previously unselected package libkmldom1:s390x. 176s Preparing to unpack .../052-libkmldom1_1.3.0-10_s390x.deb ... 176s Unpacking libkmldom1:s390x (1.3.0-10) ... 176s Selecting previously unselected package libkmlengine1:s390x. 176s Preparing to unpack .../053-libkmlengine1_1.3.0-10_s390x.deb ... 176s Unpacking libkmlengine1:s390x (1.3.0-10) ... 176s Selecting previously unselected package mysql-common. 176s Preparing to unpack .../054-mysql-common_5.8+1.1.0_all.deb ... 176s Unpacking mysql-common (5.8+1.1.0) ... 176s Selecting previously unselected package libmysqlclient21:s390x. 176s Preparing to unpack .../055-libmysqlclient21_8.0.36-1_s390x.deb ... 176s Unpacking libmysqlclient21:s390x (8.0.36-1) ... 176s Selecting previously unselected package libhdf5-hl-100:s390x. 176s Preparing to unpack .../056-libhdf5-hl-100_1.10.10+repack-3ubuntu1_s390x.deb ... 176s Unpacking libhdf5-hl-100:s390x (1.10.10+repack-3ubuntu1) ... 176s Selecting previously unselected package libnetcdf19:s390x. 176s Preparing to unpack .../057-libnetcdf19_1%3a4.9.2-3ubuntu1_s390x.deb ... 176s Unpacking libnetcdf19:s390x (1:4.9.2-3ubuntu1) ... 176s Selecting previously unselected package libltdl7:s390x. 176s Preparing to unpack .../058-libltdl7_2.4.7-7_s390x.deb ... 176s Unpacking libltdl7:s390x (2.4.7-7) ... 176s Selecting previously unselected package libodbc2:s390x. 176s Preparing to unpack .../059-libodbc2_2.3.12-1_s390x.deb ... 176s Unpacking libodbc2:s390x (2.3.12-1) ... 176s Selecting previously unselected package unixodbc-common. 176s Preparing to unpack .../060-unixodbc-common_2.3.12-1_all.deb ... 176s Unpacking unixodbc-common (2.3.12-1) ... 176s Selecting previously unselected package libodbcinst2:s390x. 176s Preparing to unpack .../061-libodbcinst2_2.3.12-1_s390x.deb ... 176s Unpacking libodbcinst2:s390x (2.3.12-1) ... 176s Selecting previously unselected package libogdi4.1. 176s Preparing to unpack .../062-libogdi4.1_4.1.1+ds-1_s390x.deb ... 176s Unpacking libogdi4.1 (4.1.1+ds-1) ... 176s Selecting previously unselected package libopenjp2-7:s390x. 176s Preparing to unpack .../063-libopenjp2-7_2.5.0-2_s390x.deb ... 176s Unpacking libopenjp2-7:s390x (2.5.0-2) ... 176s Selecting previously unselected package liblcms2-2:s390x. 176s Preparing to unpack .../064-liblcms2-2_2.14-2_s390x.deb ... 176s Unpacking liblcms2-2:s390x (2.14-2) ... 176s Selecting previously unselected package libpoppler134:s390x. 176s Preparing to unpack .../065-libpoppler134_24.02.0-1ubuntu2_s390x.deb ... 176s Unpacking libpoppler134:s390x (24.02.0-1ubuntu2) ... 176s Selecting previously unselected package libpq5:s390x. 176s Preparing to unpack .../066-libpq5_16.2-1_s390x.deb ... 176s Unpacking libpq5:s390x (16.2-1) ... 176s Selecting previously unselected package libqhull-r8.0:s390x. 176s Preparing to unpack .../067-libqhull-r8.0_2020.2-6_s390x.deb ... 176s Unpacking libqhull-r8.0:s390x (2020.2-6) ... 176s Selecting previously unselected package librttopo1:s390x. 176s Preparing to unpack .../068-librttopo1_1.1.0-3_s390x.deb ... 176s Unpacking librttopo1:s390x (1.1.0-3) ... 176s Selecting previously unselected package libspatialite8:s390x. 176s Preparing to unpack .../069-libspatialite8_5.1.0-1_s390x.deb ... 176s Unpacking libspatialite8:s390x (5.1.0-1) ... 176s Selecting previously unselected package libxerces-c3.2:s390x. 176s Preparing to unpack .../070-libxerces-c3.2_3.2.4+debian-1.1_s390x.deb ... 176s Unpacking libxerces-c3.2:s390x (3.2.4+debian-1.1) ... 176s Selecting previously unselected package libgdal34:s390x. 176s Preparing to unpack .../071-libgdal34_3.8.4+dfsg-1_s390x.deb ... 176s Unpacking libgdal34:s390x (3.8.4+dfsg-1) ... 176s Selecting previously unselected package libgomp1:s390x. 176s Preparing to unpack .../072-libgomp1_14-20240303-1ubuntu1_s390x.deb ... 176s Unpacking libgomp1:s390x (14-20240303-1ubuntu1) ... 176s Selecting previously unselected package libgraphite2-3:s390x. 176s Preparing to unpack .../073-libgraphite2-3_1.3.14-2_s390x.deb ... 176s Unpacking libgraphite2-3:s390x (1.3.14-2) ... 176s Selecting previously unselected package libharfbuzz0b:s390x. 176s Preparing to unpack .../074-libharfbuzz0b_8.3.0-2_s390x.deb ... 176s Unpacking libharfbuzz0b:s390x (8.3.0-2) ... 177s Selecting previously unselected package libimagequant0:s390x. 177s Preparing to unpack .../075-libimagequant0_2.18.0-1_s390x.deb ... 177s Unpacking libimagequant0:s390x (2.18.0-1) ... 177s Selecting previously unselected package libjs-jquery. 177s Preparing to unpack .../076-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 177s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 177s Selecting previously unselected package libjs-jquery-ui. 177s Preparing to unpack .../077-libjs-jquery-ui_1.13.2+dfsg-1_all.deb ... 177s Unpacking libjs-jquery-ui (1.13.2+dfsg-1) ... 177s Selecting previously unselected package libjs-underscore. 177s Preparing to unpack .../078-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 177s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 177s Selecting previously unselected package libjs-sphinxdoc. 177s Preparing to unpack .../079-libjs-sphinxdoc_7.2.6-4_all.deb ... 177s Unpacking libjs-sphinxdoc (7.2.6-4) ... 177s Selecting previously unselected package liblbfgsb0:s390x. 177s Preparing to unpack .../080-liblbfgsb0_3.0+dfsg.4-1_s390x.deb ... 177s Unpacking liblbfgsb0:s390x (3.0+dfsg.4-1) ... 177s Selecting previously unselected package libraqm0:s390x. 177s Preparing to unpack .../081-libraqm0_0.10.1-1_s390x.deb ... 177s Unpacking libraqm0:s390x (0.10.1-1) ... 177s Selecting previously unselected package libwebpdemux2:s390x. 177s Preparing to unpack .../082-libwebpdemux2_1.3.2-0.4_s390x.deb ... 177s Unpacking libwebpdemux2:s390x (1.3.2-0.4) ... 177s Selecting previously unselected package libwebpmux3:s390x. 177s Preparing to unpack .../083-libwebpmux3_1.3.2-0.4_s390x.deb ... 177s Unpacking libwebpmux3:s390x (1.3.2-0.4) ... 177s Selecting previously unselected package libxslt1.1:s390x. 177s Preparing to unpack .../084-libxslt1.1_1.1.35-1_s390x.deb ... 177s Unpacking libxslt1.1:s390x (1.1.35-1) ... 177s Selecting previously unselected package python-matplotlib-data. 177s Preparing to unpack .../085-python-matplotlib-data_3.6.3-1ubuntu3_all.deb ... 177s Unpacking python-matplotlib-data (3.6.3-1ubuntu3) ... 177s Selecting previously unselected package python-osmnx-doc. 177s Preparing to unpack .../086-python-osmnx-doc_1.9.1+ds-1_all.deb ... 177s Unpacking python-osmnx-doc (1.9.1+ds-1) ... 177s Selecting previously unselected package python3-appdirs. 177s Preparing to unpack .../087-python3-appdirs_1.4.4-4_all.deb ... 177s Unpacking python3-appdirs (1.4.4-4) ... 177s Selecting previously unselected package python3-branca. 177s Preparing to unpack .../088-python3-branca_0.7.1-2_all.deb ... 177s Unpacking python3-branca (0.7.1-2) ... 177s Selecting previously unselected package python3-brotli. 177s Preparing to unpack .../089-python3-brotli_1.1.0-2_s390x.deb ... 177s Unpacking python3-brotli (1.1.0-2) ... 177s Selecting previously unselected package python3-colorama. 177s Preparing to unpack .../090-python3-colorama_0.4.6-4_all.deb ... 177s Unpacking python3-colorama (0.4.6-4) ... 177s Selecting previously unselected package python3-click. 177s Preparing to unpack .../091-python3-click_8.1.6-1_all.deb ... 177s Unpacking python3-click (8.1.6-1) ... 177s Selecting previously unselected package python3-click-plugins. 177s Preparing to unpack .../092-python3-click-plugins_1.1.1-4_all.deb ... 177s Unpacking python3-click-plugins (1.1.1-4) ... 177s Selecting previously unselected package python3-cligj. 177s Preparing to unpack .../093-python3-cligj_0.7.2-2_all.deb ... 177s Unpacking python3-cligj (0.7.2-2) ... 177s Selecting previously unselected package python3-numpy. 177s Preparing to unpack .../094-python3-numpy_1%3a1.24.2-2_s390x.deb ... 177s Unpacking python3-numpy (1:1.24.2-2) ... 177s Selecting previously unselected package python3-contourpy. 177s Preparing to unpack .../095-python3-contourpy_1.0.7-1build2_s390x.deb ... 177s Unpacking python3-contourpy (1.0.7-1build2) ... 177s Selecting previously unselected package python3-coverage. 177s Preparing to unpack .../096-python3-coverage_7.3.2-0ubuntu1_s390x.deb ... 177s Unpacking python3-coverage (7.3.2-0ubuntu1) ... 177s Selecting previously unselected package python3-cycler. 177s Preparing to unpack .../097-python3-cycler_0.11.0-2_all.deb ... 177s Unpacking python3-cycler (0.11.0-2) ... 177s Selecting previously unselected package python3-dateutil. 177s Preparing to unpack .../098-python3-dateutil_2.8.2-3_all.deb ... 177s Unpacking python3-dateutil (2.8.2-3) ... 177s Selecting previously unselected package python3-decorator. 177s Preparing to unpack .../099-python3-decorator_5.1.1-5_all.deb ... 177s Unpacking python3-decorator (5.1.1-5) ... 177s Selecting previously unselected package python3-fiona. 177s Preparing to unpack .../100-python3-fiona_1.9.5-1build2_s390x.deb ... 177s Unpacking python3-fiona (1.9.5-1build2) ... 177s Selecting previously unselected package python3-xyzservices. 177s Preparing to unpack .../101-python3-xyzservices_2023.10.1-1_all.deb ... 177s Unpacking python3-xyzservices (2023.10.1-1) ... 177s Selecting previously unselected package python3-folium. 177s Preparing to unpack .../102-python3-folium_0.15.1+dfsg1-2_all.deb ... 177s Unpacking python3-folium (0.15.1+dfsg1-2) ... 177s Selecting previously unselected package python3-scipy. 177s Preparing to unpack .../103-python3-scipy_1.11.4-6_s390x.deb ... 177s Unpacking python3-scipy (1.11.4-6) ... 178s Selecting previously unselected package python3-ufolib2. 178s Preparing to unpack .../104-python3-ufolib2_0.16.0+dfsg1-1_all.deb ... 178s Unpacking python3-ufolib2 (0.16.0+dfsg1-1) ... 178s Selecting previously unselected package python3-mpmath. 178s Preparing to unpack .../105-python3-mpmath_1.2.1-3_all.deb ... 178s Unpacking python3-mpmath (1.2.1-3) ... 178s Selecting previously unselected package python3-sympy. 178s Preparing to unpack .../106-python3-sympy_1.12-7_all.deb ... 178s Unpacking python3-sympy (1.12-7) ... 178s Selecting previously unselected package python3-fs. 178s Preparing to unpack .../107-python3-fs_2.4.16-3_all.deb ... 178s Unpacking python3-fs (2.4.16-3) ... 178s Selecting previously unselected package python3-lxml:s390x. 178s Preparing to unpack .../108-python3-lxml_5.1.0-1_s390x.deb ... 178s Unpacking python3-lxml:s390x (5.1.0-1) ... 179s Selecting previously unselected package python3-lz4. 179s Preparing to unpack .../109-python3-lz4_4.0.2+dfsg-1build2_s390x.deb ... 179s Unpacking python3-lz4 (4.0.2+dfsg-1build2) ... 179s Selecting previously unselected package python3-unicodedata2. 179s Preparing to unpack .../110-python3-unicodedata2_15.1.0+ds-1_s390x.deb ... 179s Unpacking python3-unicodedata2 (15.1.0+ds-1) ... 179s Selecting previously unselected package unicode-data. 179s Preparing to unpack .../111-unicode-data_15.1.0-1_all.deb ... 179s Unpacking unicode-data (15.1.0-1) ... 179s Selecting previously unselected package python3-fonttools. 179s Preparing to unpack .../112-python3-fonttools_4.46.0-1_s390x.deb ... 179s Unpacking python3-fonttools (4.46.0-1) ... 179s Selecting previously unselected package python3-pandas-lib:s390x. 179s Preparing to unpack .../113-python3-pandas-lib_2.1.4+dfsg-4ubuntu2_s390x.deb ... 179s Unpacking python3-pandas-lib:s390x (2.1.4+dfsg-4ubuntu2) ... 179s Selecting previously unselected package python3-pandas. 179s Preparing to unpack .../114-python3-pandas_2.1.4+dfsg-4ubuntu2_all.deb ... 179s Unpacking python3-pandas (2.1.4+dfsg-4ubuntu2) ... 180s Selecting previously unselected package python3-pyproj. 180s Preparing to unpack .../115-python3-pyproj_3.6.1-2_s390x.deb ... 180s Unpacking python3-pyproj (3.6.1-2) ... 180s Selecting previously unselected package python3-shapely. 180s Preparing to unpack .../116-python3-shapely_2.0.3-1_s390x.deb ... 180s Unpacking python3-shapely (2.0.3-1) ... 180s Selecting previously unselected package python3-packaging. 180s Preparing to unpack .../117-python3-packaging_23.2-1_all.deb ... 180s Unpacking python3-packaging (23.2-1) ... 180s Selecting previously unselected package python3-geopandas. 180s Preparing to unpack .../118-python3-geopandas_0.14.3-2_all.deb ... 180s Unpacking python3-geopandas (0.14.3-2) ... 180s Selecting previously unselected package python3-iniconfig. 180s Preparing to unpack .../119-python3-iniconfig_1.1.1-2_all.deb ... 180s Unpacking python3-iniconfig (1.1.1-2) ... 180s Selecting previously unselected package python3-joblib. 180s Preparing to unpack .../120-python3-joblib_1.3.2-1_all.deb ... 180s Unpacking python3-joblib (1.3.2-1) ... 180s Selecting previously unselected package python3-kiwisolver. 180s Preparing to unpack .../121-python3-kiwisolver_1.4.4-1build2_s390x.deb ... 180s Unpacking python3-kiwisolver (1.4.4-1build2) ... 180s Selecting previously unselected package python3-pil:s390x. 180s Preparing to unpack .../122-python3-pil_10.2.0-1_s390x.deb ... 180s Unpacking python3-pil:s390x (10.2.0-1) ... 180s Selecting previously unselected package python3-tk:s390x. 180s Preparing to unpack .../123-python3-tk_3.11.5-1_s390x.deb ... 180s Unpacking python3-tk:s390x (3.11.5-1) ... 180s Selecting previously unselected package python3-pil.imagetk:s390x. 180s Preparing to unpack .../124-python3-pil.imagetk_10.2.0-1_s390x.deb ... 180s Unpacking python3-pil.imagetk:s390x (10.2.0-1) ... 180s Selecting previously unselected package python3-matplotlib. 180s Preparing to unpack .../125-python3-matplotlib_3.6.3-1ubuntu3_s390x.deb ... 180s Unpacking python3-matplotlib (3.6.3-1ubuntu3) ... 180s Selecting previously unselected package python3-networkx. 180s Preparing to unpack .../126-python3-networkx_2.8.8-1ubuntu1_all.deb ... 180s Unpacking python3-networkx (2.8.8-1ubuntu1) ... 180s Selecting previously unselected package python3-osmnx. 180s Preparing to unpack .../127-python3-osmnx_1.9.1+ds-1_all.deb ... 180s Unpacking python3-osmnx (1.9.1+ds-1) ... 180s Selecting previously unselected package python3-pluggy. 180s Preparing to unpack .../128-python3-pluggy_1.4.0-1_all.deb ... 180s Unpacking python3-pluggy (1.4.0-1) ... 180s Selecting previously unselected package python3-pytest. 180s Preparing to unpack .../129-python3-pytest_7.4.4-1_all.deb ... 180s Unpacking python3-pytest (7.4.4-1) ... 180s Selecting previously unselected package python3-threadpoolctl. 180s Preparing to unpack .../130-python3-threadpoolctl_3.1.0-1_all.deb ... 180s Unpacking python3-threadpoolctl (3.1.0-1) ... 180s Selecting previously unselected package python3-sklearn-lib:s390x. 180s Preparing to unpack .../131-python3-sklearn-lib_1.4.1.post1+dfsg-1_s390x.deb ... 180s Unpacking python3-sklearn-lib:s390x (1.4.1.post1+dfsg-1) ... 181s Selecting previously unselected package python3-sklearn. 181s Preparing to unpack .../132-python3-sklearn_1.4.1.post1+dfsg-1_all.deb ... 181s Unpacking python3-sklearn (1.4.1.post1+dfsg-1) ... 181s Selecting previously unselected package autopkgtest-satdep. 181s Preparing to unpack .../133-1-autopkgtest-satdep.deb ... 181s Unpacking autopkgtest-satdep (0) ... 181s Setting up libgraphite2-3:s390x (1.3.14-2) ... 181s Setting up liblcms2-2:s390x (2.14-2) ... 181s Setting up python3-iniconfig (1.1.1-2) ... 181s Setting up libsharpyuv0:s390x (1.3.2-0.4) ... 181s Setting up mysql-common (5.8+1.1.0) ... 181s update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode 181s Setting up libmysqlclient21:s390x (8.0.36-1) ... 181s Setting up libxerces-c3.2:s390x (3.2.4+debian-1.1) ... 181s Setting up proj-data (9.3.1-1) ... 181s Setting up libxrender1:s390x (1:0.9.10-1.1) ... 181s Setting up python3-joblib (1.3.2-1) ... 181s Setting up libogdi4.1 (4.1.1+ds-1) ... 181s Setting up python3-colorama (0.4.6-4) ... 181s Setting up libminizip1:s390x (1:1.3.dfsg-3ubuntu1) ... 181s Setting up python3-lz4 (4.0.2+dfsg-1build2) ... 181s Setting up python3-xyzservices (2023.10.1-1) ... 181s Setting up python3-unicodedata2 (15.1.0+ds-1) ... 181s Setting up fonts-lyx (2.4.0~RC3-1) ... 181s Setting up python3-threadpoolctl (3.1.0-1) ... 182s Setting up x11-common (1:7.7+23ubuntu2) ... 182s Setting up libpq5:s390x (16.2-1) ... 182s Setting up libdeflate0:s390x (1.19-1) ... 182s Setting up libqhull-r8.0:s390x (2020.2-6) ... 182s Setting up python3-coverage (7.3.2-0ubuntu1) ... 182s Setting up libcfitsio10:s390x (4.3.1-1) ... 182s Setting up libgomp1:s390x (14-20240303-1ubuntu1) ... 182s Setting up python3-click (8.1.6-1) ... 182s Setting up python3-networkx (2.8.8-1ubuntu1) ... 183s /usr/lib/python3/dist-packages/networkx/readwrite/tests/test_gml.py:556: SyntaxWarning: invalid octal escape sequence '\420' 183s "graph [edge [ source u'u\4200' target u'u\4200' ] " 183s /usr/lib/python3/dist-packages/networkx/readwrite/tests/test_gml.py:557: SyntaxWarning: invalid octal escape sequence '\420' 183s + "node [ id u'u\4200' label b ] ]" 183s Setting up libjbig0:s390x (2.1-6.1ubuntu1) ... 183s Setting up python3-branca (0.7.1-2) ... 183s Setting up libaec0:s390x (1.1.2-1) ... 183s Setting up gdal-data (3.8.4+dfsg-1) ... 183s Setting up libsnappy1v5:s390x (1.1.10-1) ... 183s Setting up unicode-data (15.1.0-1) ... 183s Setting up libgeos3.12.1:s390x (3.12.1-1) ... 183s Setting up python3-decorator (5.1.1-5) ... 184s Setting up libblas3:s390x (3.12.0-3) ... 184s update-alternatives: using /usr/lib/s390x-linux-gnu/blas/libblas.so.3 to provide /usr/lib/s390x-linux-gnu/libblas.so.3 (libblas.so.3-s390x-linux-gnu) in auto mode 184s Setting up python3-packaging (23.2-1) ... 184s Setting up libfreetype6:s390x (2.13.2+dfsg-1) ... 184s Setting up python3-brotli (1.1.0-2) ... 184s Setting up python3-cycler (0.11.0-2) ... 184s Setting up libimagequant0:s390x (2.18.0-1) ... 184s Setting up fonts-dejavu-mono (2.37-8) ... 184s Setting up python3-kiwisolver (1.4.4-1build2) ... 184s Setting up libtcl8.6:s390x (8.6.13+dfsg-2) ... 184s Setting up libgeos-c1v5:s390x (3.12.1-1) ... 184s Setting up python3-click-plugins (1.1.1-4) ... 184s Setting up fonts-dejavu-core (2.37-8) ... 184s Setting up unixodbc-common (2.3.12-1) ... 184s Setting up libjpeg-turbo8:s390x (2.1.5-2ubuntu1) ... 184s Setting up libltdl7:s390x (2.4.7-7) ... 184s Setting up libgfortran5:s390x (14-20240303-1ubuntu1) ... 184s Setting up python3-pluggy (1.4.0-1) ... 184s Setting up libwebp7:s390x (1.3.2-0.4) ... 184s Setting up libgif7:s390x (5.2.1-2.5) ... 184s Setting up libodbc2:s390x (2.3.12-1) ... 184s Setting up liburiparser1:s390x (0.9.7+dfsg-2) ... 184s Setting up librttopo1:s390x (1.1.0-3) ... 184s Setting up libdav1d7:s390x (1.4.0-1) ... 184s Setting up libfreexl1:s390x (2.0.0-1) ... 184s Setting up libfyba0:s390x (4.1.1-8) ... 184s Setting up libkmlbase1:s390x (1.3.0-10) ... 184s Setting up libxslt1.1:s390x (1.1.35-1) ... 184s Setting up libblosc1:s390x (1.21.5+ds-1) ... 184s Setting up libopenjp2-7:s390x (2.5.0-2) ... 184s Setting up libharfbuzz0b:s390x (8.3.0-2) ... 184s Setting up python3-dateutil (2.8.2-3) ... 184s Setting up libxss1:s390x (1:1.2.3-1build2) ... 184s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 184s Setting up python3-mpmath (1.2.1-3) ... 185s Setting up libde265-0:s390x (1.0.15-1) ... 185s Setting up python-matplotlib-data (3.6.3-1ubuntu3) ... 185s Setting up libwebpmux3:s390x (1.3.2-0.4) ... 185s Setting up python3-appdirs (1.4.4-4) ... 185s Setting up libsz2:s390x (1.1.2-1) ... 185s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 185s Setting up gdal-plugins:s390x (3.8.4+dfsg-1) ... 185s Setting up libkmldom1:s390x (1.3.0-10) ... 185s Setting up libjpeg8:s390x (8c-2ubuntu11) ... 185s Setting up python3-sympy (1.12-7) ... 190s Setting up libodbcinst2:s390x (2.3.12-1) ... 190s Setting up liblapack3:s390x (3.12.0-3) ... 190s update-alternatives: using /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/s390x-linux-gnu/liblapack.so.3 (liblapack.so.3-s390x-linux-gnu) in auto mode 190s Setting up libkmlengine1:s390x (1.3.0-10) ... 190s Setting up fontconfig-config (2.15.0-1ubuntu1) ... 190s Setting up python3-pytest (7.4.4-1) ... 190s Setting up python3-cligj (0.7.2-2) ... 190s Setting up libwebpdemux2:s390x (1.3.2-0.4) ... 190s Setting up libarpack2:s390x (3.9.1-1) ... 190s Setting up libsuperlu6:s390x (6.0.1+dfsg1-1) ... 190s Setting up python3-fs (2.4.16-3) ... 191s Setting up libjs-jquery-ui (1.13.2+dfsg-1) ... 191s Setting up libraqm0:s390x (0.10.1-1) ... 191s Setting up python3-numpy (1:1.24.2-2) ... 192s Setting up libjs-sphinxdoc (7.2.6-4) ... 192s Setting up libhdf4-0-alt (4.2.16-3) ... 192s Setting up libhdf5-103-1:s390x (1.10.10+repack-3ubuntu1) ... 192s Setting up python3-lxml:s390x (5.1.0-1) ... 193s Setting up libtiff6:s390x (4.5.1+git230720-3ubuntu1) ... 193s Setting up python3-contourpy (1.0.7-1build2) ... 193s Setting up libfontconfig1:s390x (2.15.0-1ubuntu1) ... 193s Setting up python-osmnx-doc (1.9.1+ds-1) ... 193s Setting up libarmadillo12 (1:12.6.7+dfsg-1) ... 193s Setting up liblbfgsb0:s390x (3.0+dfsg.4-1) ... 193s Setting up libhdf5-hl-100:s390x (1.10.10+repack-3ubuntu1) ... 193s Setting up python3-shapely (2.0.3-1) ... 193s Setting up libxft2:s390x (2.3.6-1) ... 193s Setting up python3-scipy (1.11.4-6) ... 196s Setting up libproj25:s390x (9.3.1-1) ... 196s Setting up libpoppler134:s390x (24.02.0-1ubuntu2) ... 196s Setting up python3-folium (0.15.1+dfsg1-2) ... 196s Setting up libtk8.6:s390x (8.6.13-2) ... 196s Setting up python3-pandas-lib:s390x (2.1.4+dfsg-4ubuntu2) ... 196s Setting up python3-sklearn-lib:s390x (1.4.1.post1+dfsg-1) ... 196s Setting up python3-pyproj (3.6.1-2) ... 196s Setting up libgeotiff5:s390x (1.7.1-5) ... 196s Setting up python3-pil:s390x (10.2.0-1) ... 196s Setting up python3-pandas (2.1.4+dfsg-4ubuntu2) ... 200s Setting up libspatialite8:s390x (5.1.0-1) ... 200s Setting up python3-sklearn (1.4.1.post1+dfsg-1) ... 202s Setting up libnetcdf19:s390x (1:4.9.2-3ubuntu1) ... 202s Setting up tk8.6-blt2.5 (2.5.3+dfsg-7) ... 202s Setting up blt (2.5.3+dfsg-7) ... 202s Setting up python3-tk:s390x (3.11.5-1) ... 202s Setting up python3-pil.imagetk:s390x (10.2.0-1) ... 202s Setting up python3-ufolib2 (0.16.0+dfsg1-1) ... 202s Setting up libheif-plugin-dav1d:s390x (1.17.6-1ubuntu1) ... 202s Setting up libheif-plugin-libde265:s390x (1.17.6-1ubuntu1) ... 202s Setting up libheif1:s390x (1.17.6-1ubuntu1) ... 202s Setting up python3-fonttools (4.46.0-1) ... 203s Setting up libgdal34:s390x (3.8.4+dfsg-1) ... 203s Setting up python3-matplotlib (3.6.3-1ubuntu3) ... 204s Setting up python3-fiona (1.9.5-1build2) ... 204s Setting up python3-geopandas (0.14.3-2) ... 205s Setting up python3-osmnx (1.9.1+ds-1) ... 205s Setting up autopkgtest-satdep (0) ... 205s Processing triggers for libc-bin (2.39-0ubuntu2) ... 205s Processing triggers for man-db (2.12.0-3) ... 209s (Reading database ... 63981 files and directories currently installed.) 209s Removing autopkgtest-satdep (0) ... 210s autopkgtest [12:18:59]: test command1: debian/tests/check offline 210s autopkgtest [12:18:59]: test command1: [----------------------- 210s ============================= test session starts ============================== 210s platform linux -- Python 3.12.2, pytest-7.4.4, pluggy-1.4.0 -- /usr/bin/python3 210s cachedir: .pytest_cache 210s rootdir: /tmp/autopkgtest.Rf9KSW/autopkgtest_tmp/offline 218s collecting ... collected 3 items 218s 218s tests/test_osmnx_offline.py::test_logging PASSED [ 33%] 218s tests/test_osmnx_offline.py::test_geometry_coords_rounding PASSED [ 66%] 218s tests/test_osmnx_offline.py::test_graph_from_xml PASSED [100%] 218s 218s =============================== warnings summary =============================== 218s ../../../../usr/lib/python3/dist-packages/dateutil/tz/tz.py:37 218s /usr/lib/python3/dist-packages/dateutil/tz/tz.py:37: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). 218s EPOCH = datetime.datetime.utcfromtimestamp(0) 218s 218s tests/test_osmnx_offline.py:45 218s /tmp/autopkgtest.Rf9KSW/autopkgtest_tmp/offline/tests/test_osmnx_offline.py:45: FutureWarning: The `utils.config` function is deprecated and will be removed in the v2.0.0 release. Instead, use the `settings` module directly to configure a global setting's value. For example, `ox.settings.log_console=True`. 218s ox.config( 218s 218s tests/test_osmnx_offline.py::test_geometry_coords_rounding 218s /tmp/autopkgtest.Rf9KSW/autopkgtest_tmp/offline/tests/test_osmnx_offline.py:85: FutureWarning: The `round_geometry_coords` function is deprecated and will be removed in the v2.0.0 release. 218s shape2 = ox.utils_geo.round_geometry_coords(shape1, precision) 218s 218s tests/test_osmnx_offline.py::test_geometry_coords_rounding 218s /tmp/autopkgtest.Rf9KSW/autopkgtest_tmp/offline/tests/test_osmnx_offline.py:88: FutureWarning: The `round_geometry_coords` function is deprecated and will be removed in the v2.0.0 release. 218s shape2 = ox.utils_geo.round_geometry_coords(shape1, precision) 218s 218s tests/test_osmnx_offline.py::test_geometry_coords_rounding 218s /tmp/autopkgtest.Rf9KSW/autopkgtest_tmp/offline/tests/test_osmnx_offline.py:91: FutureWarning: The `round_geometry_coords` function is deprecated and will be removed in the v2.0.0 release. 218s shape2 = ox.utils_geo.round_geometry_coords(shape1, precision) 218s 218s tests/test_osmnx_offline.py::test_geometry_coords_rounding 218s /tmp/autopkgtest.Rf9KSW/autopkgtest_tmp/offline/tests/test_osmnx_offline.py:99: FutureWarning: The `round_geometry_coords` function is deprecated and will be removed in the v2.0.0 release. 218s shape2 = ox.utils_geo.round_geometry_coords(shape1, precision) 218s 218s tests/test_osmnx_offline.py::test_geometry_coords_rounding 218s /tmp/autopkgtest.Rf9KSW/autopkgtest_tmp/offline/tests/test_osmnx_offline.py:102: FutureWarning: The `round_geometry_coords` function is deprecated and will be removed in the v2.0.0 release. 218s shape2 = ox.utils_geo.round_geometry_coords(shape1, precision) 218s 218s tests/test_osmnx_offline.py::test_geometry_coords_rounding 218s /tmp/autopkgtest.Rf9KSW/autopkgtest_tmp/offline/tests/test_osmnx_offline.py:110: FutureWarning: The `round_geometry_coords` function is deprecated and will be removed in the v2.0.0 release. 218s shape2 = ox.utils_geo.round_geometry_coords(shape1, precision) 218s 218s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 218s ======================== 3 passed, 8 warnings in 7.90s ========================= 219s autopkgtest [12:19:08]: test command1: -----------------------] 219s autopkgtest [12:19:08]: test command1: - - - - - - - - - - results - - - - - - - - - - 219s command1 PASS 220s autopkgtest [12:19:09]: test command2: preparing testbed 221s Reading package lists... 221s Building dependency tree... 221s Reading state information... 221s Starting pkgProblemResolver with broken count: 0 221s Starting 2 pkgProblemResolver with broken count: 0 221s Done 221s The following additional packages will be installed: 221s python3-affine python3-gdal python3-rasterio python3-snuggs 221s Suggested packages: 221s gdal-bin 221s The following NEW packages will be installed: 221s autopkgtest-satdep python3-affine python3-gdal python3-rasterio 221s python3-snuggs 221s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 221s Need to get 2600 kB/2600 kB of archives. 221s After this operation, 13.8 MB of additional disk space will be used. 221s Get:1 /tmp/autopkgtest.Rf9KSW/2-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 222s Get:2 http://ftpmaster.internal/ubuntu noble/universe s390x python3-affine all 2.4.0-1 [14.3 kB] 222s Get:3 http://ftpmaster.internal/ubuntu noble/universe s390x python3-gdal s390x 3.8.4+dfsg-1 [1069 kB] 223s Get:4 http://ftpmaster.internal/ubuntu noble/universe s390x python3-snuggs all 1.4.7-4 [6456 B] 223s Get:5 http://ftpmaster.internal/ubuntu noble/universe s390x python3-rasterio s390x 1.3.9-3build1 [1510 kB] 224s Fetched 2600 kB in 2s (1429 kB/s) 224s Selecting previously unselected package python3-affine. 224s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 63981 files and directories currently installed.) 224s Preparing to unpack .../python3-affine_2.4.0-1_all.deb ... 224s Unpacking python3-affine (2.4.0-1) ... 224s Selecting previously unselected package python3-gdal. 224s Preparing to unpack .../python3-gdal_3.8.4+dfsg-1_s390x.deb ... 224s Unpacking python3-gdal (3.8.4+dfsg-1) ... 224s Selecting previously unselected package python3-snuggs. 224s Preparing to unpack .../python3-snuggs_1.4.7-4_all.deb ... 224s Unpacking python3-snuggs (1.4.7-4) ... 224s Selecting previously unselected package python3-rasterio. 224s Preparing to unpack .../python3-rasterio_1.3.9-3build1_s390x.deb ... 224s Unpacking python3-rasterio (1.3.9-3build1) ... 224s Selecting previously unselected package autopkgtest-satdep. 224s Preparing to unpack .../2-autopkgtest-satdep.deb ... 224s Unpacking autopkgtest-satdep (0) ... 224s Setting up python3-snuggs (1.4.7-4) ... 224s Setting up python3-affine (2.4.0-1) ... 224s Setting up python3-gdal (3.8.4+dfsg-1) ... 224s Setting up python3-rasterio (1.3.9-3build1) ... 224s Setting up autopkgtest-satdep (0) ... 226s (Reading database ... 64282 files and directories currently installed.) 226s Removing autopkgtest-satdep (0) ... 227s autopkgtest [12:19:16]: test command2: debian/tests/check online 227s autopkgtest [12:19:16]: test command2: [----------------------- 227s ============================= test session starts ============================== 227s platform linux -- Python 3.12.2, pytest-7.4.4, pluggy-1.4.0 -- /usr/bin/python3 227s cachedir: .pytest_cache 227s rootdir: /tmp/autopkgtest.Rf9KSW/autopkgtest_tmp/online 235s collecting ... collected 18 items 235s 235s tests/test_osmnx.py::test_logging PASSED [ 5%] 235s tests/test_osmnx.py::test_exceptions PASSED [ 11%] 235s tests/test_osmnx.py::test_coords_rounding PASSED [ 16%] 241s tests/test_osmnx.py::test_geocoder PASSED [ 22%] 255s tests/test_osmnx.py::test_stats PASSED [ 27%] 260s tests/test_osmnx.py::test_osm_xml FAILED [ 33%] 263s tests/test_osmnx.py::test_elevation FAILED [ 38%] 265s tests/test_osmnx.py::test_elevation_extra_one FAILED [ 44%] 266s tests/test_osmnx.py::test_elevation_extra_four FAILED [ 50%] 268s tests/test_osmnx.py::test_elevation_extra_thirtytwo FAILED [ 55%] 270s tests/test_osmnx.py::test_elevation_extra_huge FAILED [ 61%] 271s tests/test_osmnx.py::test_routing FAILED [ 66%] 273s tests/test_osmnx.py::test_plots FAILED [ 72%] 274s tests/test_osmnx.py::test_find_nearest FAILED [ 77%] 277s tests/test_osmnx.py::test_api_endpoints FAILED [ 83%] 277s tests/test_osmnx.py::test_graph_save_load FAILED [ 88%] 278s tests/test_osmnx.py::test_graph_from_functions FAILED [ 94%] 279s tests/test_osmnx.py::test_features FAILED [100%] 279s 279s =================================== FAILURES =================================== 279s _________________________________ test_osm_xml _________________________________ 279s 279s def test_osm_xml(): 279s """Test working with .osm XML data.""" 279s # test loading a graph from a local .osm xml file 279s node_id = 53098262 279s neighbor_ids = 53092170, 53060438, 53027353, 667744075 279s 279s with bz2.BZ2File("tests/input_data/West-Oakland.osm.bz2") as f: 279s handle, temp_filename = tempfile.mkstemp(suffix=".osm") 279s os.write(handle, f.read()) 279s os.close(handle) 279s 279s for filename in ("tests/input_data/West-Oakland.osm.bz2", temp_filename): 279s G = ox.graph_from_xml(filename) 279s assert node_id in G.nodes 279s 279s for neighbor_id in neighbor_ids: 279s edge_key = (node_id, neighbor_id, 0) 279s assert neighbor_id in G.nodes 279s assert edge_key in G.edges 279s assert G.edges[edge_key]["name"] in {"8th Street", "Willow Street"} 279s 279s Path.unlink(Path(temp_filename)) 279s 279s # test .osm xml saving 279s default_all_oneway = ox.settings.all_oneway 279s ox.settings.all_oneway = True 279s G = ox.graph_from_point(location_point, dist=500, network_type="drive") 279s ox.save_graph_xml(G, merge_edges=False, filepath=Path(ox.settings.data_folder) / "graph.osm") 279s 279s # test osm xml output merge edges 279s ox.io.save_graph_xml(G, merge_edges=True, edge_tag_aggs=[("length", "sum")], precision=5) 279s 279s # test osm xml output from gdfs 279s nodes, edges = ox.graph_to_gdfs(G) 279s ox.osm_xml.save_graph_xml([nodes, edges]) 279s 279s # test ordered nodes from way 279s df_uv = pd.DataFrame({"u": [54, 2, 5, 3, 10, 19, 20], "v": [76, 3, 8, 10, 5, 20, 15]}) 279s ordered_nodes = ox.osm_xml._get_unique_nodes_ordered_from_way(df_uv) 279s assert ordered_nodes == [2, 3, 10, 5, 8] 279s 279s # test roundabout handling 279s default_overpass_settings = ox.settings.overpass_settings 279s ox.settings.overpass_settings += '[date:"2023-04-01T00:00:00Z"]' 279s point = (39.0290346, -84.4696884) 279s > G = ox.graph_from_point(point, dist=500, dist_type="bbox", network_type="drive", simplify=False) 279s 279s tests/test_osmnx.py:221: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s /usr/lib/python3/dist-packages/osmnx/graph.py:185: in graph_from_point 279s G = graph_from_bbox( 279s /usr/lib/python3/dist-packages/osmnx/graph.py:106: in graph_from_bbox 279s G = graph_from_polygon( 279s /usr/lib/python3/dist-packages/osmnx/graph.py:495: in graph_from_polygon 279s G_buff = _create_graph(response_jsons, retain_all=True, bidirectional=bidirectional) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s response_jsons = 279s retain_all = True, bidirectional = False 279s 279s def _create_graph(response_jsons, retain_all=False, bidirectional=False): 279s """ 279s Create a networkx MultiDiGraph from Overpass API responses. 279s 279s Adds length attributes in meters (great-circle distance between endpoints) 279s to all of the graph's (pre-simplified, straight-line) edges via the 279s `distance.add_edge_lengths` function. 279s 279s Parameters 279s ---------- 279s response_jsons : iterable 279s iterable of dicts of JSON responses from from the Overpass API 279s retain_all : bool 279s if True, return the entire graph even if it is not connected. 279s otherwise, retain only the largest weakly connected component. 279s bidirectional : bool 279s if True, create bi-directional edges for one-way streets 279s 279s Returns 279s ------- 279s G : networkx.MultiDiGraph 279s """ 279s response_count = 0 279s nodes = {} 279s paths = {} 279s 279s # consume response_jsons generator to download data from server 279s for response_json in response_jsons: 279s response_count += 1 279s 279s # if cache_only_mode, consume response_jsons then continue next loop 279s if settings.cache_only_mode: # pragma: no cover 279s continue 279s 279s # otherwise, extract nodes and paths from the downloaded OSM data 279s nodes_temp, paths_temp = _parse_nodes_paths(response_json) 279s nodes.update(nodes_temp) 279s paths.update(paths_temp) 279s 279s utils.log(f"Retrieved all data from API in {response_count} request(s)") 279s if settings.cache_only_mode: # pragma: no cover 279s # after consuming all response_jsons in loop, raise exception to catch 279s msg = "Interrupted because `settings.cache_only_mode=True`" 279s raise CacheOnlyInterruptError(msg) 279s 279s # ensure we got some node/way data back from the server request(s) 279s if (len(nodes) == 0) and (len(paths) == 0): # pragma: no cover 279s msg = "No data elements in server response. Check query location/filters and log." 279s > raise InsufficientResponseError(msg) 279s E osmnx._errors.InsufficientResponseError: No data elements in server response. Check query location/filters and log. 279s 279s /usr/lib/python3/dist-packages/osmnx/graph.py:644: InsufficientResponseError 279s ----------------------------- Captured stdout call ----------------------------- 279s 2024-03-22 12:19:44 Retrieved all data from API in 1 request(s) 279s 2024-03-22 12:19:44 Creating graph from 446 OSM nodes and 66 OSM ways... 279s 2024-03-22 12:19:44 Got largest weakly connected component (205 of 446 total nodes) 279s 2024-03-22 12:19:44 Created graph with 205 nodes and 384 edges 279s 2024-03-22 12:19:44 Added length attributes to graph edges 279s 2024-03-22 12:19:44 Begin topologically simplifying the graph... 279s 2024-03-22 12:19:44 Identified 47 edge endpoints 279s 2024-03-22 12:19:44 Simplified graph: 205 to 47 nodes, 384 to 106 edges 279s 2024-03-22 12:19:44 graph_from_xml returned graph with 47 nodes and 106 edges 279s 2024-03-22 12:19:44 Retrieved all data from API in 1 request(s) 279s 2024-03-22 12:19:44 Creating graph from 446 OSM nodes and 66 OSM ways... 279s 2024-03-22 12:19:44 Got largest weakly connected component (205 of 446 total nodes) 279s 2024-03-22 12:19:44 Created graph with 205 nodes and 384 edges 279s 2024-03-22 12:19:44 Added length attributes to graph edges 279s 2024-03-22 12:19:44 Begin topologically simplifying the graph... 279s 2024-03-22 12:19:44 Identified 47 edge endpoints 279s 2024-03-22 12:19:44 Simplified graph: 205 to 47 nodes, 384 to 106 edges 279s 2024-03-22 12:19:44 graph_from_xml returned graph with 47 nodes and 106 edges 279s 2024-03-22 12:19:44 Created bbox 500 m from (37.791427, -122.410018): 37.795923601677465,37.78693039832253,-122.40432787612507,-122.41570812387492 279s 2024-03-22 12:19:44 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s 2024-03-22 12:19:44 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s 2024-03-22 12:19:45 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s 2024-03-22 12:19:45 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s 2024-03-22 12:19:45 Requesting data from API in 1 request(s) 279s 2024-03-22 12:19:45 Pausing 0 second(s) before making HTTP POST request to 'overpass-api.de' 279s 2024-03-22 12:19:45 Post https://overpass-api.de/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A180%5D%3B%28way%5B%22highway%22%5D%5B%22area%22%21~%22yes%22%5D%5B%22access%22%21~%22private%22%5D%5B%22highway%22%21~%22abandoned%7Cbridleway%7Cbus_guideway%7Cconstruction%7Ccorridor%7Ccycleway%7Celevator%7Cescalator%7Cfootway%7Cno%7Cpath%7Cpedestrian%7Cplanned%7Cplatform%7Cproposed%7Craceway%7Crazed%7Cservice%7Csteps%7Ctrack%22%5D%5B%22motor_vehicle%22%21~%22no%22%5D%5B%22motorcar%22%21~%22no%22%5D%5B%22service%22%21~%22alley%7Cdriveway%7Cemergency_access%7Cparking%7Cparking_aisle%7Cprivate%22%5D%28poly%3A%2737.786930+-122.421386+37.795923+-122.421387+37.796365+-122.421360+37.796803+-122.421278+37.797232+-122.421143+37.797648+-122.420955+37.798048+-122.420717+37.798427+-122.420430+37.798782+-122.420098+37.799110+-122.419724+37.799407+-122.419311+37.799670+-122.418864+37.799898+-122.418386+37.800087+-122.417882+37.800236+-122.417357+37.800343+-122.416816+37.800408+-122.416265+37.800430+-122.415708+37.800430+-122.404328+37.800408+-122.403771+37.800343+-122.403220+37.800236+-122.402679+37.800087+-122.402154+37.799898+-122.401650+37.799670+-122.401172+37.799407+-122.400725+37.799110+-122.400312+37.798782+-122.399938+37.798427+-122.399606+37.798048+-122.399319+37.797648+-122.399081+37.797232+-122.398893+37.796803+-122.398758+37.796365+-122.398676+37.795923+-122.398649+37.786930+-122.398650+37.786489+-122.398677+37.786051+-122.398759+37.785622+-122.398894+37.785206+-122.399082+37.784806+-122.399320+37.784427+-122.399607+37.784071+-122.399939+37.783744+-122.400313+37.783447+-122.400726+37.783183+-122.401173+37.782956+-122.401651+37.782767+-122.402155+37.782618+-122.402680+37.782510+-122.403220+37.782446+-122.403772+37.782424+-122.404328+37.782424+-122.415708+37.782446+-122.416264+37.782510+-122.416816+37.782618+-122.417356+37.782767+-122.417881+37.782956+-122.418385+37.783183+-122.418863+37.783447+-122.419310+37.783744+-122.419723+37.784071+-122.420097+37.784427+-122.420429+37.784806+-122.420716+37.785206+-122.420954+37.785622+-122.421142+37.786051+-122.421277+37.786489+-122.421359+37.786930+-122.421386%27%29%3B%3E%3B%29%3Bout%3B with timeout=180 279s 2024-03-22 12:19:46 Downloaded 751.4kB from 'overpass-api.de' with status 200 279s 2024-03-22 12:19:46 Saved response to cache file '.temp/cache/8d437efccf5142a060b3d1897ae5993ce8bd7536.json' 279s 2024-03-22 12:19:46 Retrieved all data from API in 1 request(s) 279s 2024-03-22 12:19:46 Creating graph from 2,598 OSM nodes and 719 OSM ways... 279s 2024-03-22 12:19:46 Created graph with 2,598 nodes and 2,855 edges 279s 2024-03-22 12:19:46 Added length attributes to graph edges 279s 2024-03-22 12:19:46 Identifying all nodes that lie outside the polygon... 279s 2024-03-22 12:19:46 Created nodes GeoDataFrame from graph 279s 2024-03-22 12:19:46 Built r-tree spatial index for 2,598 geometries 279s 2024-03-22 12:19:46 Accelerating r-tree with 4 quadrats 279s 2024-03-22 12:19:46 Identified 2,365 geometries inside polygon 279s 2024-03-22 12:19:46 Removed 233 nodes outside polygon 279s 2024-03-22 12:19:46 Truncated graph by polygon 279s 2024-03-22 12:19:46 Begin topologically simplifying the graph... 279s 2024-03-22 12:19:46 Identified 425 edge endpoints 279s 2024-03-22 12:19:47 Simplified graph: 2,365 to 425 nodes, 2,609 to 669 edges 279s 2024-03-22 12:19:47 Identifying all nodes that lie outside the polygon... 279s 2024-03-22 12:19:47 Created nodes GeoDataFrame from graph 279s 2024-03-22 12:19:47 Built r-tree spatial index for 425 geometries 279s 2024-03-22 12:19:47 Accelerating r-tree with 4 quadrats 279s 2024-03-22 12:19:47 Identified 96 geometries inside polygon 279s 2024-03-22 12:19:47 Removed 329 nodes outside polygon 279s 2024-03-22 12:19:47 Removed 0 isolated nodes 279s 2024-03-22 12:19:47 Truncated graph by polygon 279s 2024-03-22 12:19:47 Counted undirected street segments incident on each node 279s 2024-03-22 12:19:47 graph_from_polygon returned graph with 96 nodes and 163 edges 279s 2024-03-22 12:19:47 graph_from_bbox returned graph with 96 nodes and 163 edges 279s 2024-03-22 12:19:47 graph_from_point returned graph with 96 nodes and 163 edges 279s 2024-03-22 12:19:47 Created nodes GeoDataFrame from graph 279s 2024-03-22 12:19:47 Created edges GeoDataFrame from graph 279s 2024-03-22 12:19:47 Saved graph as .osm file at PosixPath('.temp/data/graph.osm') 279s 2024-03-22 12:19:47 Created nodes GeoDataFrame from graph 279s 2024-03-22 12:19:47 Created edges GeoDataFrame from graph 279s 2024-03-22 12:19:47 Saved graph as .osm file at PosixPath('.temp/data/graph.osm') 279s 2024-03-22 12:19:47 Created nodes GeoDataFrame from graph 279s 2024-03-22 12:19:47 Created edges GeoDataFrame from graph 279s 2024-03-22 12:19:47 Saved graph as .osm file at PosixPath('.temp/data/graph.osm') 279s 2024-03-22 12:19:47 Got largest weakly connected component (5 of 10 total nodes) 279s 2024-03-22 12:19:47 Recovered order for 5 of 10 nodes 279s 2024-03-22 12:19:47 Created bbox 500 m from (39.0290346, -84.4696884): 39.03353120167747,39.024537998322536,-84.46389997871204,-84.47547682128796 279s 2024-03-22 12:19:47 Projected GeoDataFrame to 'EPSG:32616 / WGS 84 / UTM zone 16N' 279s 2024-03-22 12:19:47 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s 2024-03-22 12:19:47 Projected GeoDataFrame to 'EPSG:32616 / WGS 84 / UTM zone 16N' 279s 2024-03-22 12:19:47 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s 2024-03-22 12:19:47 Requesting data from API in 1 request(s) 279s 2024-03-22 12:19:48 Pausing 0 second(s) before making HTTP POST request to 'overpass-api.de' 279s 2024-03-22 12:19:48 Post https://overpass-api.de/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A180%5D%5Bdate%3A%222023-04-01T00%3A00%3A00Z%22%5D%3B%28way%5B%22highway%22%5D%5B%22area%22%21~%22yes%22%5D%5B%22access%22%21~%22private%22%5D%5B%22highway%22%21~%22abandoned%7Cbridleway%7Cbus_guideway%7Cconstruction%7Ccorridor%7Ccycleway%7Celevator%7Cescalator%7Cfootway%7Cno%7Cpath%7Cpedestrian%7Cplanned%7Cplatform%7Cproposed%7Craceway%7Crazed%7Cservice%7Csteps%7Ctrack%22%5D%5B%22motor_vehicle%22%21~%22no%22%5D%5B%22motorcar%22%21~%22no%22%5D%5B%22service%22%21~%22alley%7Cdriveway%7Cemergency_access%7Cparking%7Cparking_aisle%7Cprivate%22%5D%28poly%3A%2739.024538+-84.481250+39.033531+-84.481250+39.033972+-84.481223+39.034410+-84.481140+39.034838+-84.481002+39.035254+-84.480811+39.035654+-84.480569+39.036033+-84.480278+39.036388+-84.479940+39.036715+-84.479560+39.037012+-84.479140+39.037275+-84.478685+39.037502+-84.478199+39.037691+-84.477687+39.037840+-84.477153+39.037948+-84.476604+39.038012+-84.476043+39.038034+-84.475477+39.038034+-84.463900+39.038012+-84.463334+39.037948+-84.462773+39.037840+-84.462224+39.037691+-84.461690+39.037502+-84.461178+39.037275+-84.460692+39.037012+-84.460237+39.036715+-84.459817+39.036388+-84.459437+39.036033+-84.459099+39.035654+-84.458808+39.035254+-84.458566+39.034838+-84.458375+39.034410+-84.458237+39.033972+-84.458154+39.033531+-84.458126+39.024538+-84.458127+39.024096+-84.458155+39.023659+-84.458238+39.023231+-84.458376+39.022815+-84.458567+39.022415+-84.458809+39.022036+-84.459100+39.021681+-84.459438+39.021354+-84.459818+39.021057+-84.460238+39.020794+-84.460693+39.020567+-84.461179+39.020378+-84.461691+39.020229+-84.462225+39.020121+-84.462774+39.020057+-84.463335+39.020035+-84.463900+39.020035+-84.475476+39.020057+-84.476042+39.020121+-84.476603+39.020229+-84.477152+39.020378+-84.477686+39.020567+-84.478198+39.020794+-84.478684+39.021057+-84.479139+39.021354+-84.479559+39.021681+-84.479939+39.022036+-84.480276+39.022415+-84.480568+39.022815+-84.480810+39.023231+-84.481001+39.023659+-84.481139+39.024096+-84.481222+39.024538+-84.481250%27%29%3B%3E%3B%29%3Bout%3B with timeout=180 279s 2024-03-22 12:19:49 Downloaded 0.4kB from 'overpass-api.de' with status 200 279s 2024-03-22 12:19:49 'overpass-api.de' remarked: 'runtime error: Query timed out in "query" at line 1 after 108361 seconds.' 279s 2024-03-22 12:19:49 Saved response to cache file '.temp/cache/888b9c7ad35c121feaf178045d4dc560b48e6f5b.json' 279s 2024-03-22 12:19:49 Retrieved all data from API in 1 request(s) 279s ------------------------------ Captured log call ------------------------------- 279s INFO OSMnx:utils.py:293 Retrieved all data from API in 1 request(s) 279s INFO OSMnx:utils.py:293 Creating graph from 446 OSM nodes and 66 OSM ways... 279s INFO OSMnx:utils.py:293 Got largest weakly connected component (205 of 446 total nodes) 279s INFO OSMnx:utils.py:293 Created graph with 205 nodes and 384 edges 279s INFO OSMnx:utils.py:293 Added length attributes to graph edges 279s INFO OSMnx:utils.py:293 Begin topologically simplifying the graph... 279s INFO OSMnx:utils.py:293 Identified 47 edge endpoints 279s INFO OSMnx:utils.py:293 Simplified graph: 205 to 47 nodes, 384 to 106 edges 279s INFO OSMnx:utils.py:293 graph_from_xml returned graph with 47 nodes and 106 edges 279s INFO OSMnx:utils.py:293 Retrieved all data from API in 1 request(s) 279s INFO OSMnx:utils.py:293 Creating graph from 446 OSM nodes and 66 OSM ways... 279s INFO OSMnx:utils.py:293 Got largest weakly connected component (205 of 446 total nodes) 279s INFO OSMnx:utils.py:293 Created graph with 205 nodes and 384 edges 279s INFO OSMnx:utils.py:293 Added length attributes to graph edges 279s INFO OSMnx:utils.py:293 Begin topologically simplifying the graph... 279s INFO OSMnx:utils.py:293 Identified 47 edge endpoints 279s INFO OSMnx:utils.py:293 Simplified graph: 205 to 47 nodes, 384 to 106 edges 279s INFO OSMnx:utils.py:293 graph_from_xml returned graph with 47 nodes and 106 edges 279s INFO OSMnx:utils.py:293 Created bbox 500 m from (37.791427, -122.410018): 37.795923601677465,37.78693039832253,-122.40432787612507,-122.41570812387492 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s INFO OSMnx:utils.py:293 Requesting data from API in 1 request(s) 279s INFO OSMnx:utils.py:293 Pausing 0 second(s) before making HTTP POST request to 'overpass-api.de' 279s INFO OSMnx:utils.py:293 Post https://overpass-api.de/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A180%5D%3B%28way%5B%22highway%22%5D%5B%22area%22%21~%22yes%22%5D%5B%22access%22%21~%22private%22%5D%5B%22highway%22%21~%22abandoned%7Cbridleway%7Cbus_guideway%7Cconstruction%7Ccorridor%7Ccycleway%7Celevator%7Cescalator%7Cfootway%7Cno%7Cpath%7Cpedestrian%7Cplanned%7Cplatform%7Cproposed%7Craceway%7Crazed%7Cservice%7Csteps%7Ctrack%22%5D%5B%22motor_vehicle%22%21~%22no%22%5D%5B%22motorcar%22%21~%22no%22%5D%5B%22service%22%21~%22alley%7Cdriveway%7Cemergency_access%7Cparking%7Cparking_aisle%7Cprivate%22%5D%28poly%3A%2737.786930+-122.421386+37.795923+-122.421387+37.796365+-122.421360+37.796803+-122.421278+37.797232+-122.421143+37.797648+-122.420955+37.798048+-122.420717+37.798427+-122.420430+37.798782+-122.420098+37.799110+-122.419724+37.799407+-122.419311+37.799670+-122.418864+37.799898+-122.418386+37.800087+-122.417882+37.800236+-122.417357+37.800343+-122.416816+37.800408+-122.416265+37.800430+-122.415708+37.800430+-122.404328+37.800408+-122.403771+37.800343+-122.403220+37.800236+-122.402679+37.800087+-122.402154+37.799898+-122.401650+37.799670+-122.401172+37.799407+-122.400725+37.799110+-122.400312+37.798782+-122.399938+37.798427+-122.399606+37.798048+-122.399319+37.797648+-122.399081+37.797232+-122.398893+37.796803+-122.398758+37.796365+-122.398676+37.795923+-122.398649+37.786930+-122.398650+37.786489+-122.398677+37.786051+-122.398759+37.785622+-122.398894+37.785206+-122.399082+37.784806+-122.399320+37.784427+-122.399607+37.784071+-122.399939+37.783744+-122.400313+37.783447+-122.400726+37.783183+-122.401173+37.782956+-122.401651+37.782767+-122.402155+37.782618+-122.402680+37.782510+-122.403220+37.782446+-122.403772+37.782424+-122.404328+37.782424+-122.415708+37.782446+-122.416264+37.782510+-122.416816+37.782618+-122.417356+37.782767+-122.417881+37.782956+-122.418385+37.783183+-122.418863+37.783447+-122.419310+37.783744+-122.419723+37.784071+-122.420097+37.784427+-122.420429+37.784806+-122.420716+37.785206+-122.420954+37.785622+-122.421142+37.786051+-122.421277+37.786489+-122.421359+37.786930+-122.421386%27%29%3B%3E%3B%29%3Bout%3B with timeout=180 279s INFO OSMnx:utils.py:293 Downloaded 751.4kB from 'overpass-api.de' with status 200 279s INFO OSMnx:utils.py:293 Saved response to cache file '.temp/cache/8d437efccf5142a060b3d1897ae5993ce8bd7536.json' 279s INFO OSMnx:utils.py:293 Retrieved all data from API in 1 request(s) 279s INFO OSMnx:utils.py:293 Creating graph from 2,598 OSM nodes and 719 OSM ways... 279s INFO OSMnx:utils.py:293 Created graph with 2,598 nodes and 2,855 edges 279s INFO OSMnx:utils.py:293 Added length attributes to graph edges 279s INFO OSMnx:utils.py:293 Identifying all nodes that lie outside the polygon... 279s INFO OSMnx:utils.py:293 Created nodes GeoDataFrame from graph 279s INFO OSMnx:utils.py:293 Built r-tree spatial index for 2,598 geometries 279s INFO OSMnx:utils.py:293 Accelerating r-tree with 4 quadrats 279s INFO OSMnx:utils.py:293 Identified 2,365 geometries inside polygon 279s INFO OSMnx:utils.py:293 Removed 233 nodes outside polygon 279s INFO OSMnx:utils.py:293 Truncated graph by polygon 279s INFO OSMnx:utils.py:293 Begin topologically simplifying the graph... 279s INFO OSMnx:utils.py:293 Identified 425 edge endpoints 279s INFO OSMnx:utils.py:293 Simplified graph: 2,365 to 425 nodes, 2,609 to 669 edges 279s INFO OSMnx:utils.py:293 Identifying all nodes that lie outside the polygon... 279s INFO OSMnx:utils.py:293 Created nodes GeoDataFrame from graph 279s INFO OSMnx:utils.py:293 Built r-tree spatial index for 425 geometries 279s INFO OSMnx:utils.py:293 Accelerating r-tree with 4 quadrats 279s INFO OSMnx:utils.py:293 Identified 96 geometries inside polygon 279s INFO OSMnx:utils.py:293 Removed 329 nodes outside polygon 279s INFO OSMnx:utils.py:293 Removed 0 isolated nodes 279s INFO OSMnx:utils.py:293 Truncated graph by polygon 279s INFO OSMnx:utils.py:293 Counted undirected street segments incident on each node 279s INFO OSMnx:utils.py:293 graph_from_polygon returned graph with 96 nodes and 163 edges 279s INFO OSMnx:utils.py:293 graph_from_bbox returned graph with 96 nodes and 163 edges 279s INFO OSMnx:utils.py:293 graph_from_point returned graph with 96 nodes and 163 edges 279s INFO OSMnx:utils.py:293 Created nodes GeoDataFrame from graph 279s INFO OSMnx:utils.py:293 Created edges GeoDataFrame from graph 279s INFO OSMnx:utils.py:293 Saved graph as .osm file at PosixPath('.temp/data/graph.osm') 279s INFO OSMnx:utils.py:293 Created nodes GeoDataFrame from graph 279s INFO OSMnx:utils.py:293 Created edges GeoDataFrame from graph 279s INFO OSMnx:utils.py:293 Saved graph as .osm file at PosixPath('.temp/data/graph.osm') 279s INFO OSMnx:utils.py:293 Created nodes GeoDataFrame from graph 279s INFO OSMnx:utils.py:293 Created edges GeoDataFrame from graph 279s INFO OSMnx:utils.py:293 Saved graph as .osm file at PosixPath('.temp/data/graph.osm') 279s INFO OSMnx:utils.py:293 Got largest weakly connected component (5 of 10 total nodes) 279s INFO OSMnx:utils.py:293 Recovered order for 5 of 10 nodes 279s INFO OSMnx:utils.py:293 Created bbox 500 m from (39.0290346, -84.4696884): 39.03353120167747,39.024537998322536,-84.46389997871204,-84.47547682128796 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32616 / WGS 84 / UTM zone 16N' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32616 / WGS 84 / UTM zone 16N' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s INFO OSMnx:utils.py:293 Requesting data from API in 1 request(s) 279s INFO OSMnx:utils.py:293 Pausing 0 second(s) before making HTTP POST request to 'overpass-api.de' 279s INFO OSMnx:utils.py:293 Post https://overpass-api.de/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A180%5D%5Bdate%3A%222023-04-01T00%3A00%3A00Z%22%5D%3B%28way%5B%22highway%22%5D%5B%22area%22%21~%22yes%22%5D%5B%22access%22%21~%22private%22%5D%5B%22highway%22%21~%22abandoned%7Cbridleway%7Cbus_guideway%7Cconstruction%7Ccorridor%7Ccycleway%7Celevator%7Cescalator%7Cfootway%7Cno%7Cpath%7Cpedestrian%7Cplanned%7Cplatform%7Cproposed%7Craceway%7Crazed%7Cservice%7Csteps%7Ctrack%22%5D%5B%22motor_vehicle%22%21~%22no%22%5D%5B%22motorcar%22%21~%22no%22%5D%5B%22service%22%21~%22alley%7Cdriveway%7Cemergency_access%7Cparking%7Cparking_aisle%7Cprivate%22%5D%28poly%3A%2739.024538+-84.481250+39.033531+-84.481250+39.033972+-84.481223+39.034410+-84.481140+39.034838+-84.481002+39.035254+-84.480811+39.035654+-84.480569+39.036033+-84.480278+39.036388+-84.479940+39.036715+-84.479560+39.037012+-84.479140+39.037275+-84.478685+39.037502+-84.478199+39.037691+-84.477687+39.037840+-84.477153+39.037948+-84.476604+39.038012+-84.476043+39.038034+-84.475477+39.038034+-84.463900+39.038012+-84.463334+39.037948+-84.462773+39.037840+-84.462224+39.037691+-84.461690+39.037502+-84.461178+39.037275+-84.460692+39.037012+-84.460237+39.036715+-84.459817+39.036388+-84.459437+39.036033+-84.459099+39.035654+-84.458808+39.035254+-84.458566+39.034838+-84.458375+39.034410+-84.458237+39.033972+-84.458154+39.033531+-84.458126+39.024538+-84.458127+39.024096+-84.458155+39.023659+-84.458238+39.023231+-84.458376+39.022815+-84.458567+39.022415+-84.458809+39.022036+-84.459100+39.021681+-84.459438+39.021354+-84.459818+39.021057+-84.460238+39.020794+-84.460693+39.020567+-84.461179+39.020378+-84.461691+39.020229+-84.462225+39.020121+-84.462774+39.020057+-84.463335+39.020035+-84.463900+39.020035+-84.475476+39.020057+-84.476042+39.020121+-84.476603+39.020229+-84.477152+39.020378+-84.477686+39.020567+-84.478198+39.020794+-84.478684+39.021057+-84.479139+39.021354+-84.479559+39.021681+-84.479939+39.022036+-84.480276+39.022415+-84.480568+39.022815+-84.480810+39.023231+-84.481001+39.023659+-84.481139+39.024096+-84.481222+39.024538+-84.481250%27%29%3B%3E%3B%29%3Bout%3B with timeout=180 279s INFO OSMnx:utils.py:293 Downloaded 0.4kB from 'overpass-api.de' with status 200 279s WARNING OSMnx:utils.py:295 'overpass-api.de' remarked: 'runtime error: Query timed out in "query" at line 1 after 108361 seconds.' 279s INFO OSMnx:utils.py:293 Saved response to cache file '.temp/cache/888b9c7ad35c121feaf178045d4dc560b48e6f5b.json' 279s INFO OSMnx:utils.py:293 Retrieved all data from API in 1 request(s) 279s ________________________________ test_elevation ________________________________ 279s 279s def test_elevation(): 279s """Test working with elevation data.""" 279s > G = ox.graph_from_address(address=address, dist=500, dist_type="bbox", network_type="bike") 279s 279s tests/test_osmnx.py:236: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s /usr/lib/python3/dist-packages/osmnx/graph.py:280: in graph_from_address 279s G = graph_from_point( 279s /usr/lib/python3/dist-packages/osmnx/graph.py:185: in graph_from_point 279s G = graph_from_bbox( 279s /usr/lib/python3/dist-packages/osmnx/graph.py:106: in graph_from_bbox 279s G = graph_from_polygon( 279s /usr/lib/python3/dist-packages/osmnx/graph.py:495: in graph_from_polygon 279s G_buff = _create_graph(response_jsons, retain_all=True, bidirectional=bidirectional) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s response_jsons = 279s retain_all = True, bidirectional = False 279s 279s def _create_graph(response_jsons, retain_all=False, bidirectional=False): 279s """ 279s Create a networkx MultiDiGraph from Overpass API responses. 279s 279s Adds length attributes in meters (great-circle distance between endpoints) 279s to all of the graph's (pre-simplified, straight-line) edges via the 279s `distance.add_edge_lengths` function. 279s 279s Parameters 279s ---------- 279s response_jsons : iterable 279s iterable of dicts of JSON responses from from the Overpass API 279s retain_all : bool 279s if True, return the entire graph even if it is not connected. 279s otherwise, retain only the largest weakly connected component. 279s bidirectional : bool 279s if True, create bi-directional edges for one-way streets 279s 279s Returns 279s ------- 279s G : networkx.MultiDiGraph 279s """ 279s response_count = 0 279s nodes = {} 279s paths = {} 279s 279s # consume response_jsons generator to download data from server 279s for response_json in response_jsons: 279s response_count += 1 279s 279s # if cache_only_mode, consume response_jsons then continue next loop 279s if settings.cache_only_mode: # pragma: no cover 279s continue 279s 279s # otherwise, extract nodes and paths from the downloaded OSM data 279s nodes_temp, paths_temp = _parse_nodes_paths(response_json) 279s nodes.update(nodes_temp) 279s paths.update(paths_temp) 279s 279s utils.log(f"Retrieved all data from API in {response_count} request(s)") 279s if settings.cache_only_mode: # pragma: no cover 279s # after consuming all response_jsons in loop, raise exception to catch 279s msg = "Interrupted because `settings.cache_only_mode=True`" 279s raise CacheOnlyInterruptError(msg) 279s 279s # ensure we got some node/way data back from the server request(s) 279s if (len(nodes) == 0) and (len(paths) == 0): # pragma: no cover 279s msg = "No data elements in server response. Check query location/filters and log." 279s > raise InsufficientResponseError(msg) 279s E osmnx._errors.InsufficientResponseError: No data elements in server response. Check query location/filters and log. 279s 279s /usr/lib/python3/dist-packages/osmnx/graph.py:644: InsufficientResponseError 279s ----------------------------- Captured stdout call ----------------------------- 279s 2024-03-22 12:19:49 Pausing 1 second(s) before making HTTP GET request to 'nominatim.openstreetmap.org' 279s 2024-03-22 12:19:50 Get https://nominatim.openstreetmap.org/search?format=json&limit=1&dedupe=0&q=600+Montgomery+St%2C+San+Francisco%2C+California%2C+USA with timeout=180 279s 2024-03-22 12:19:51 Downloaded 0.5kB from 'nominatim.openstreetmap.org' with status 200 279s 2024-03-22 12:19:51 Saved response to cache file '.temp/cache/9dc0b6d561ab31f723c6c4267d678b3b95c8e0fe.json' 279s 2024-03-22 12:19:51 Geocoded '600 Montgomery St, San Francisco, California, USA' to (37.7954078, -122.4025724) 279s 2024-03-22 12:19:51 Created bbox 500 m from (37.7954078, -122.4025724): 37.799904401677466,37.79091119832253,-122.39688196953334,-122.40826283046665 279s 2024-03-22 12:19:51 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s 2024-03-22 12:19:51 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s 2024-03-22 12:19:51 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s 2024-03-22 12:19:51 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s 2024-03-22 12:19:51 Requesting data from API in 1 request(s) 279s 2024-03-22 12:19:51 Pausing 0 second(s) before making HTTP POST request to 'overpass-api.de' 279s 2024-03-22 12:19:51 Post https://overpass-api.de/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A180%5D%5Bdate%3A%222023-04-01T00%3A00%3A00Z%22%5D%3B%28way%5B%22highway%22%5D%5B%22area%22%21~%22yes%22%5D%5B%22access%22%21~%22private%22%5D%5B%22highway%22%21~%22abandoned%7Cbus_guideway%7Cconstruction%7Ccorridor%7Celevator%7Cescalator%7Cfootway%7Cmotor%7Cno%7Cplanned%7Cplatform%7Cproposed%7Craceway%7Crazed%7Csteps%22%5D%5B%22bicycle%22%21~%22no%22%5D%5B%22service%22%21~%22private%22%5D%28poly%3A%2737.790911+-122.413941+37.799904+-122.413942+37.800346+-122.413915+37.800783+-122.413833+37.801212+-122.413698+37.801629+-122.413510+37.802029+-122.413272+37.802408+-122.412985+37.802763+-122.412653+37.803091+-122.412279+37.803388+-122.411866+37.803651+-122.411418+37.803879+-122.410940+37.804068+-122.410437+37.804217+-122.409912+37.804324+-122.409371+37.804389+-122.408820+37.804411+-122.408263+37.804411+-122.396882+37.804389+-122.396325+37.804324+-122.395774+37.804217+-122.395233+37.804068+-122.394708+37.803879+-122.394204+37.803651+-122.393726+37.803388+-122.393279+37.803091+-122.392866+37.802763+-122.392492+37.802408+-122.392160+37.802029+-122.391873+37.801629+-122.391635+37.801212+-122.391447+37.800783+-122.391312+37.800346+-122.391230+37.799904+-122.391203+37.790911+-122.391203+37.790469+-122.391231+37.790032+-122.391313+37.789603+-122.391448+37.789186+-122.391636+37.788787+-122.391874+37.788407+-122.392161+37.788052+-122.392493+37.787724+-122.392867+37.787428+-122.393280+37.787164+-122.393727+37.786937+-122.394205+37.786748+-122.394709+37.786599+-122.395234+37.786491+-122.395774+37.786426+-122.396326+37.786405+-122.396882+37.786405+-122.408262+37.786426+-122.408819+37.786491+-122.409370+37.786599+-122.409911+37.786748+-122.410436+37.786937+-122.410939+37.787164+-122.411417+37.787428+-122.411865+37.787724+-122.412278+37.788052+-122.412652+37.788407+-122.412984+37.788787+-122.413271+37.789186+-122.413509+37.789603+-122.413697+37.790032+-122.413832+37.790469+-122.413914+37.790911+-122.413941%27%29%3B%3E%3B%29%3Bout%3B with timeout=180 279s 2024-03-22 12:19:52 Downloaded 0.4kB from 'overpass-api.de' with status 200 279s 2024-03-22 12:19:52 'overpass-api.de' remarked: 'runtime error: Query timed out in "query" at line 1 after 4792 seconds.' 279s 2024-03-22 12:19:52 Saved response to cache file '.temp/cache/11532ecc7935a1e38617d39a9470d6f87f2df238.json' 279s 2024-03-22 12:19:52 Retrieved all data from API in 1 request(s) 279s ------------------------------ Captured log call ------------------------------- 279s INFO OSMnx:utils.py:293 Pausing 1 second(s) before making HTTP GET request to 'nominatim.openstreetmap.org' 279s INFO OSMnx:utils.py:293 Get https://nominatim.openstreetmap.org/search?format=json&limit=1&dedupe=0&q=600+Montgomery+St%2C+San+Francisco%2C+California%2C+USA with timeout=180 279s INFO OSMnx:utils.py:293 Downloaded 0.5kB from 'nominatim.openstreetmap.org' with status 200 279s INFO OSMnx:utils.py:293 Saved response to cache file '.temp/cache/9dc0b6d561ab31f723c6c4267d678b3b95c8e0fe.json' 279s INFO OSMnx:utils.py:293 Geocoded '600 Montgomery St, San Francisco, California, USA' to (37.7954078, -122.4025724) 279s INFO OSMnx:utils.py:293 Created bbox 500 m from (37.7954078, -122.4025724): 37.799904401677466,37.79091119832253,-122.39688196953334,-122.40826283046665 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s INFO OSMnx:utils.py:293 Requesting data from API in 1 request(s) 279s INFO OSMnx:utils.py:293 Pausing 0 second(s) before making HTTP POST request to 'overpass-api.de' 279s INFO OSMnx:utils.py:293 Post https://overpass-api.de/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A180%5D%5Bdate%3A%222023-04-01T00%3A00%3A00Z%22%5D%3B%28way%5B%22highway%22%5D%5B%22area%22%21~%22yes%22%5D%5B%22access%22%21~%22private%22%5D%5B%22highway%22%21~%22abandoned%7Cbus_guideway%7Cconstruction%7Ccorridor%7Celevator%7Cescalator%7Cfootway%7Cmotor%7Cno%7Cplanned%7Cplatform%7Cproposed%7Craceway%7Crazed%7Csteps%22%5D%5B%22bicycle%22%21~%22no%22%5D%5B%22service%22%21~%22private%22%5D%28poly%3A%2737.790911+-122.413941+37.799904+-122.413942+37.800346+-122.413915+37.800783+-122.413833+37.801212+-122.413698+37.801629+-122.413510+37.802029+-122.413272+37.802408+-122.412985+37.802763+-122.412653+37.803091+-122.412279+37.803388+-122.411866+37.803651+-122.411418+37.803879+-122.410940+37.804068+-122.410437+37.804217+-122.409912+37.804324+-122.409371+37.804389+-122.408820+37.804411+-122.408263+37.804411+-122.396882+37.804389+-122.396325+37.804324+-122.395774+37.804217+-122.395233+37.804068+-122.394708+37.803879+-122.394204+37.803651+-122.393726+37.803388+-122.393279+37.803091+-122.392866+37.802763+-122.392492+37.802408+-122.392160+37.802029+-122.391873+37.801629+-122.391635+37.801212+-122.391447+37.800783+-122.391312+37.800346+-122.391230+37.799904+-122.391203+37.790911+-122.391203+37.790469+-122.391231+37.790032+-122.391313+37.789603+-122.391448+37.789186+-122.391636+37.788787+-122.391874+37.788407+-122.392161+37.788052+-122.392493+37.787724+-122.392867+37.787428+-122.393280+37.787164+-122.393727+37.786937+-122.394205+37.786748+-122.394709+37.786599+-122.395234+37.786491+-122.395774+37.786426+-122.396326+37.786405+-122.396882+37.786405+-122.408262+37.786426+-122.408819+37.786491+-122.409370+37.786599+-122.409911+37.786748+-122.410436+37.786937+-122.410939+37.787164+-122.411417+37.787428+-122.411865+37.787724+-122.412278+37.788052+-122.412652+37.788407+-122.412984+37.788787+-122.413271+37.789186+-122.413509+37.789603+-122.413697+37.790032+-122.413832+37.790469+-122.413914+37.790911+-122.413941%27%29%3B%3E%3B%29%3Bout%3B with timeout=180 279s INFO OSMnx:utils.py:293 Downloaded 0.4kB from 'overpass-api.de' with status 200 279s WARNING OSMnx:utils.py:295 'overpass-api.de' remarked: 'runtime error: Query timed out in "query" at line 1 after 4792 seconds.' 279s INFO OSMnx:utils.py:293 Saved response to cache file '.temp/cache/11532ecc7935a1e38617d39a9470d6f87f2df238.json' 279s INFO OSMnx:utils.py:293 Retrieved all data from API in 1 request(s) 279s ___________________________ test_elevation_extra_one ___________________________ 279s 279s def test_elevation_extra_one(): 279s 279s > G = ox.graph_from_address(address=address, dist=500, dist_type="bbox", network_type="bike") 279s 279s tests/test_osmnx.py:270: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s /usr/lib/python3/dist-packages/osmnx/graph.py:280: in graph_from_address 279s G = graph_from_point( 279s /usr/lib/python3/dist-packages/osmnx/graph.py:185: in graph_from_point 279s G = graph_from_bbox( 279s /usr/lib/python3/dist-packages/osmnx/graph.py:106: in graph_from_bbox 279s G = graph_from_polygon( 279s /usr/lib/python3/dist-packages/osmnx/graph.py:495: in graph_from_polygon 279s G_buff = _create_graph(response_jsons, retain_all=True, bidirectional=bidirectional) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s response_jsons = 279s retain_all = True, bidirectional = False 279s 279s def _create_graph(response_jsons, retain_all=False, bidirectional=False): 279s """ 279s Create a networkx MultiDiGraph from Overpass API responses. 279s 279s Adds length attributes in meters (great-circle distance between endpoints) 279s to all of the graph's (pre-simplified, straight-line) edges via the 279s `distance.add_edge_lengths` function. 279s 279s Parameters 279s ---------- 279s response_jsons : iterable 279s iterable of dicts of JSON responses from from the Overpass API 279s retain_all : bool 279s if True, return the entire graph even if it is not connected. 279s otherwise, retain only the largest weakly connected component. 279s bidirectional : bool 279s if True, create bi-directional edges for one-way streets 279s 279s Returns 279s ------- 279s G : networkx.MultiDiGraph 279s """ 279s response_count = 0 279s nodes = {} 279s paths = {} 279s 279s # consume response_jsons generator to download data from server 279s for response_json in response_jsons: 279s response_count += 1 279s 279s # if cache_only_mode, consume response_jsons then continue next loop 279s if settings.cache_only_mode: # pragma: no cover 279s continue 279s 279s # otherwise, extract nodes and paths from the downloaded OSM data 279s nodes_temp, paths_temp = _parse_nodes_paths(response_json) 279s nodes.update(nodes_temp) 279s paths.update(paths_temp) 279s 279s utils.log(f"Retrieved all data from API in {response_count} request(s)") 279s if settings.cache_only_mode: # pragma: no cover 279s # after consuming all response_jsons in loop, raise exception to catch 279s msg = "Interrupted because `settings.cache_only_mode=True`" 279s raise CacheOnlyInterruptError(msg) 279s 279s # ensure we got some node/way data back from the server request(s) 279s if (len(nodes) == 0) and (len(paths) == 0): # pragma: no cover 279s msg = "No data elements in server response. Check query location/filters and log." 279s > raise InsufficientResponseError(msg) 279s E osmnx._errors.InsufficientResponseError: No data elements in server response. Check query location/filters and log. 279s 279s /usr/lib/python3/dist-packages/osmnx/graph.py:644: InsufficientResponseError 279s ----------------------------- Captured stdout call ----------------------------- 279s 2024-03-22 12:19:52 Retrieved response from cache file '.temp/cache/9dc0b6d561ab31f723c6c4267d678b3b95c8e0fe.json' 279s 2024-03-22 12:19:52 Geocoded '600 Montgomery St, San Francisco, California, USA' to (37.7954078, -122.4025724) 279s 2024-03-22 12:19:52 Created bbox 500 m from (37.7954078, -122.4025724): 37.799904401677466,37.79091119832253,-122.39688196953334,-122.40826283046665 279s 2024-03-22 12:19:53 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s 2024-03-22 12:19:53 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s 2024-03-22 12:19:53 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s 2024-03-22 12:19:53 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s 2024-03-22 12:19:53 Requesting data from API in 1 request(s) 279s 2024-03-22 12:19:53 Ignoring cache file '.temp/cache/11532ecc7935a1e38617d39a9470d6f87f2df238.json' because it contains a remark: 'runtime error: Query timed out in "query" at line 1 after 4792 seconds.' 279s 2024-03-22 12:19:53 Pausing 0 second(s) before making HTTP POST request to 'overpass-api.de' 279s 2024-03-22 12:19:53 Post https://overpass-api.de/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A180%5D%5Bdate%3A%222023-04-01T00%3A00%3A00Z%22%5D%3B%28way%5B%22highway%22%5D%5B%22area%22%21~%22yes%22%5D%5B%22access%22%21~%22private%22%5D%5B%22highway%22%21~%22abandoned%7Cbus_guideway%7Cconstruction%7Ccorridor%7Celevator%7Cescalator%7Cfootway%7Cmotor%7Cno%7Cplanned%7Cplatform%7Cproposed%7Craceway%7Crazed%7Csteps%22%5D%5B%22bicycle%22%21~%22no%22%5D%5B%22service%22%21~%22private%22%5D%28poly%3A%2737.790911+-122.413941+37.799904+-122.413942+37.800346+-122.413915+37.800783+-122.413833+37.801212+-122.413698+37.801629+-122.413510+37.802029+-122.413272+37.802408+-122.412985+37.802763+-122.412653+37.803091+-122.412279+37.803388+-122.411866+37.803651+-122.411418+37.803879+-122.410940+37.804068+-122.410437+37.804217+-122.409912+37.804324+-122.409371+37.804389+-122.408820+37.804411+-122.408263+37.804411+-122.396882+37.804389+-122.396325+37.804324+-122.395774+37.804217+-122.395233+37.804068+-122.394708+37.803879+-122.394204+37.803651+-122.393726+37.803388+-122.393279+37.803091+-122.392866+37.802763+-122.392492+37.802408+-122.392160+37.802029+-122.391873+37.801629+-122.391635+37.801212+-122.391447+37.800783+-122.391312+37.800346+-122.391230+37.799904+-122.391203+37.790911+-122.391203+37.790469+-122.391231+37.790032+-122.391313+37.789603+-122.391448+37.789186+-122.391636+37.788787+-122.391874+37.788407+-122.392161+37.788052+-122.392493+37.787724+-122.392867+37.787428+-122.393280+37.787164+-122.393727+37.786937+-122.394205+37.786748+-122.394709+37.786599+-122.395234+37.786491+-122.395774+37.786426+-122.396326+37.786405+-122.396882+37.786405+-122.408262+37.786426+-122.408819+37.786491+-122.409370+37.786599+-122.409911+37.786748+-122.410436+37.786937+-122.410939+37.787164+-122.411417+37.787428+-122.411865+37.787724+-122.412278+37.788052+-122.412652+37.788407+-122.412984+37.788787+-122.413271+37.789186+-122.413509+37.789603+-122.413697+37.790032+-122.413832+37.790469+-122.413914+37.790911+-122.413941%27%29%3B%3E%3B%29%3Bout%3B with timeout=180 279s 2024-03-22 12:19:54 Downloaded 0.4kB from 'overpass-api.de' with status 200 279s 2024-03-22 12:19:54 'overpass-api.de' remarked: 'runtime error: Query timed out in "query" at line 1 after 4793 seconds.' 279s 2024-03-22 12:19:54 Saved response to cache file '.temp/cache/11532ecc7935a1e38617d39a9470d6f87f2df238.json' 279s 2024-03-22 12:19:54 Retrieved all data from API in 1 request(s) 279s ------------------------------ Captured log call ------------------------------- 279s INFO OSMnx:utils.py:293 Retrieved response from cache file '.temp/cache/9dc0b6d561ab31f723c6c4267d678b3b95c8e0fe.json' 279s INFO OSMnx:utils.py:293 Geocoded '600 Montgomery St, San Francisco, California, USA' to (37.7954078, -122.4025724) 279s INFO OSMnx:utils.py:293 Created bbox 500 m from (37.7954078, -122.4025724): 37.799904401677466,37.79091119832253,-122.39688196953334,-122.40826283046665 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s INFO OSMnx:utils.py:293 Requesting data from API in 1 request(s) 279s INFO OSMnx:utils.py:293 Ignoring cache file '.temp/cache/11532ecc7935a1e38617d39a9470d6f87f2df238.json' because it contains a remark: 'runtime error: Query timed out in "query" at line 1 after 4792 seconds.' 279s INFO OSMnx:utils.py:293 Pausing 0 second(s) before making HTTP POST request to 'overpass-api.de' 279s INFO OSMnx:utils.py:293 Post https://overpass-api.de/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A180%5D%5Bdate%3A%222023-04-01T00%3A00%3A00Z%22%5D%3B%28way%5B%22highway%22%5D%5B%22area%22%21~%22yes%22%5D%5B%22access%22%21~%22private%22%5D%5B%22highway%22%21~%22abandoned%7Cbus_guideway%7Cconstruction%7Ccorridor%7Celevator%7Cescalator%7Cfootway%7Cmotor%7Cno%7Cplanned%7Cplatform%7Cproposed%7Craceway%7Crazed%7Csteps%22%5D%5B%22bicycle%22%21~%22no%22%5D%5B%22service%22%21~%22private%22%5D%28poly%3A%2737.790911+-122.413941+37.799904+-122.413942+37.800346+-122.413915+37.800783+-122.413833+37.801212+-122.413698+37.801629+-122.413510+37.802029+-122.413272+37.802408+-122.412985+37.802763+-122.412653+37.803091+-122.412279+37.803388+-122.411866+37.803651+-122.411418+37.803879+-122.410940+37.804068+-122.410437+37.804217+-122.409912+37.804324+-122.409371+37.804389+-122.408820+37.804411+-122.408263+37.804411+-122.396882+37.804389+-122.396325+37.804324+-122.395774+37.804217+-122.395233+37.804068+-122.394708+37.803879+-122.394204+37.803651+-122.393726+37.803388+-122.393279+37.803091+-122.392866+37.802763+-122.392492+37.802408+-122.392160+37.802029+-122.391873+37.801629+-122.391635+37.801212+-122.391447+37.800783+-122.391312+37.800346+-122.391230+37.799904+-122.391203+37.790911+-122.391203+37.790469+-122.391231+37.790032+-122.391313+37.789603+-122.391448+37.789186+-122.391636+37.788787+-122.391874+37.788407+-122.392161+37.788052+-122.392493+37.787724+-122.392867+37.787428+-122.393280+37.787164+-122.393727+37.786937+-122.394205+37.786748+-122.394709+37.786599+-122.395234+37.786491+-122.395774+37.786426+-122.396326+37.786405+-122.396882+37.786405+-122.408262+37.786426+-122.408819+37.786491+-122.409370+37.786599+-122.409911+37.786748+-122.410436+37.786937+-122.410939+37.787164+-122.411417+37.787428+-122.411865+37.787724+-122.412278+37.788052+-122.412652+37.788407+-122.412984+37.788787+-122.413271+37.789186+-122.413509+37.789603+-122.413697+37.790032+-122.413832+37.790469+-122.413914+37.790911+-122.413941%27%29%3B%3E%3B%29%3Bout%3B with timeout=180 279s INFO OSMnx:utils.py:293 Downloaded 0.4kB from 'overpass-api.de' with status 200 279s WARNING OSMnx:utils.py:295 'overpass-api.de' remarked: 'runtime error: Query timed out in "query" at line 1 after 4793 seconds.' 279s INFO OSMnx:utils.py:293 Saved response to cache file '.temp/cache/11532ecc7935a1e38617d39a9470d6f87f2df238.json' 279s INFO OSMnx:utils.py:293 Retrieved all data from API in 1 request(s) 279s __________________________ test_elevation_extra_four ___________________________ 279s 279s def test_elevation_extra_four(): 279s 279s > G = ox.graph_from_address(address=address, dist=500, dist_type="bbox", network_type="bike") 279s 279s tests/test_osmnx.py:283: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s /usr/lib/python3/dist-packages/osmnx/graph.py:280: in graph_from_address 279s G = graph_from_point( 279s /usr/lib/python3/dist-packages/osmnx/graph.py:185: in graph_from_point 279s G = graph_from_bbox( 279s /usr/lib/python3/dist-packages/osmnx/graph.py:106: in graph_from_bbox 279s G = graph_from_polygon( 279s /usr/lib/python3/dist-packages/osmnx/graph.py:495: in graph_from_polygon 279s G_buff = _create_graph(response_jsons, retain_all=True, bidirectional=bidirectional) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s response_jsons = 279s retain_all = True, bidirectional = False 279s 279s def _create_graph(response_jsons, retain_all=False, bidirectional=False): 279s """ 279s Create a networkx MultiDiGraph from Overpass API responses. 279s 279s Adds length attributes in meters (great-circle distance between endpoints) 279s to all of the graph's (pre-simplified, straight-line) edges via the 279s `distance.add_edge_lengths` function. 279s 279s Parameters 279s ---------- 279s response_jsons : iterable 279s iterable of dicts of JSON responses from from the Overpass API 279s retain_all : bool 279s if True, return the entire graph even if it is not connected. 279s otherwise, retain only the largest weakly connected component. 279s bidirectional : bool 279s if True, create bi-directional edges for one-way streets 279s 279s Returns 279s ------- 279s G : networkx.MultiDiGraph 279s """ 279s response_count = 0 279s nodes = {} 279s paths = {} 279s 279s # consume response_jsons generator to download data from server 279s for response_json in response_jsons: 279s response_count += 1 279s 279s # if cache_only_mode, consume response_jsons then continue next loop 279s if settings.cache_only_mode: # pragma: no cover 279s continue 279s 279s # otherwise, extract nodes and paths from the downloaded OSM data 279s nodes_temp, paths_temp = _parse_nodes_paths(response_json) 279s nodes.update(nodes_temp) 279s paths.update(paths_temp) 279s 279s utils.log(f"Retrieved all data from API in {response_count} request(s)") 279s if settings.cache_only_mode: # pragma: no cover 279s # after consuming all response_jsons in loop, raise exception to catch 279s msg = "Interrupted because `settings.cache_only_mode=True`" 279s raise CacheOnlyInterruptError(msg) 279s 279s # ensure we got some node/way data back from the server request(s) 279s if (len(nodes) == 0) and (len(paths) == 0): # pragma: no cover 279s msg = "No data elements in server response. Check query location/filters and log." 279s > raise InsufficientResponseError(msg) 279s E osmnx._errors.InsufficientResponseError: No data elements in server response. Check query location/filters and log. 279s 279s /usr/lib/python3/dist-packages/osmnx/graph.py:644: InsufficientResponseError 279s ----------------------------- Captured stdout call ----------------------------- 279s 2024-03-22 12:19:54 Retrieved response from cache file '.temp/cache/9dc0b6d561ab31f723c6c4267d678b3b95c8e0fe.json' 279s 2024-03-22 12:19:54 Geocoded '600 Montgomery St, San Francisco, California, USA' to (37.7954078, -122.4025724) 279s 2024-03-22 12:19:54 Created bbox 500 m from (37.7954078, -122.4025724): 37.799904401677466,37.79091119832253,-122.39688196953334,-122.40826283046665 279s 2024-03-22 12:19:54 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s 2024-03-22 12:19:54 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s 2024-03-22 12:19:54 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s 2024-03-22 12:19:54 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s 2024-03-22 12:19:54 Requesting data from API in 1 request(s) 279s 2024-03-22 12:19:54 Ignoring cache file '.temp/cache/11532ecc7935a1e38617d39a9470d6f87f2df238.json' because it contains a remark: 'runtime error: Query timed out in "query" at line 1 after 4793 seconds.' 279s 2024-03-22 12:19:55 Pausing 0 second(s) before making HTTP POST request to 'overpass-api.de' 279s 2024-03-22 12:19:55 Post https://overpass-api.de/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A180%5D%5Bdate%3A%222023-04-01T00%3A00%3A00Z%22%5D%3B%28way%5B%22highway%22%5D%5B%22area%22%21~%22yes%22%5D%5B%22access%22%21~%22private%22%5D%5B%22highway%22%21~%22abandoned%7Cbus_guideway%7Cconstruction%7Ccorridor%7Celevator%7Cescalator%7Cfootway%7Cmotor%7Cno%7Cplanned%7Cplatform%7Cproposed%7Craceway%7Crazed%7Csteps%22%5D%5B%22bicycle%22%21~%22no%22%5D%5B%22service%22%21~%22private%22%5D%28poly%3A%2737.790911+-122.413941+37.799904+-122.413942+37.800346+-122.413915+37.800783+-122.413833+37.801212+-122.413698+37.801629+-122.413510+37.802029+-122.413272+37.802408+-122.412985+37.802763+-122.412653+37.803091+-122.412279+37.803388+-122.411866+37.803651+-122.411418+37.803879+-122.410940+37.804068+-122.410437+37.804217+-122.409912+37.804324+-122.409371+37.804389+-122.408820+37.804411+-122.408263+37.804411+-122.396882+37.804389+-122.396325+37.804324+-122.395774+37.804217+-122.395233+37.804068+-122.394708+37.803879+-122.394204+37.803651+-122.393726+37.803388+-122.393279+37.803091+-122.392866+37.802763+-122.392492+37.802408+-122.392160+37.802029+-122.391873+37.801629+-122.391635+37.801212+-122.391447+37.800783+-122.391312+37.800346+-122.391230+37.799904+-122.391203+37.790911+-122.391203+37.790469+-122.391231+37.790032+-122.391313+37.789603+-122.391448+37.789186+-122.391636+37.788787+-122.391874+37.788407+-122.392161+37.788052+-122.392493+37.787724+-122.392867+37.787428+-122.393280+37.787164+-122.393727+37.786937+-122.394205+37.786748+-122.394709+37.786599+-122.395234+37.786491+-122.395774+37.786426+-122.396326+37.786405+-122.396882+37.786405+-122.408262+37.786426+-122.408819+37.786491+-122.409370+37.786599+-122.409911+37.786748+-122.410436+37.786937+-122.410939+37.787164+-122.411417+37.787428+-122.411865+37.787724+-122.412278+37.788052+-122.412652+37.788407+-122.412984+37.788787+-122.413271+37.789186+-122.413509+37.789603+-122.413697+37.790032+-122.413832+37.790469+-122.413914+37.790911+-122.413941%27%29%3B%3E%3B%29%3Bout%3B with timeout=180 279s 2024-03-22 12:19:55 Downloaded 0.4kB from 'overpass-api.de' with status 200 279s 2024-03-22 12:19:55 'overpass-api.de' remarked: 'runtime error: Query timed out in "query" at line 1 after 4792 seconds.' 279s 2024-03-22 12:19:55 Saved response to cache file '.temp/cache/11532ecc7935a1e38617d39a9470d6f87f2df238.json' 279s 2024-03-22 12:19:55 Retrieved all data from API in 1 request(s) 279s ------------------------------ Captured log call ------------------------------- 279s INFO OSMnx:utils.py:293 Retrieved response from cache file '.temp/cache/9dc0b6d561ab31f723c6c4267d678b3b95c8e0fe.json' 279s INFO OSMnx:utils.py:293 Geocoded '600 Montgomery St, San Francisco, California, USA' to (37.7954078, -122.4025724) 279s INFO OSMnx:utils.py:293 Created bbox 500 m from (37.7954078, -122.4025724): 37.799904401677466,37.79091119832253,-122.39688196953334,-122.40826283046665 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s INFO OSMnx:utils.py:293 Requesting data from API in 1 request(s) 279s INFO OSMnx:utils.py:293 Ignoring cache file '.temp/cache/11532ecc7935a1e38617d39a9470d6f87f2df238.json' because it contains a remark: 'runtime error: Query timed out in "query" at line 1 after 4793 seconds.' 279s INFO OSMnx:utils.py:293 Pausing 0 second(s) before making HTTP POST request to 'overpass-api.de' 279s INFO OSMnx:utils.py:293 Post https://overpass-api.de/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A180%5D%5Bdate%3A%222023-04-01T00%3A00%3A00Z%22%5D%3B%28way%5B%22highway%22%5D%5B%22area%22%21~%22yes%22%5D%5B%22access%22%21~%22private%22%5D%5B%22highway%22%21~%22abandoned%7Cbus_guideway%7Cconstruction%7Ccorridor%7Celevator%7Cescalator%7Cfootway%7Cmotor%7Cno%7Cplanned%7Cplatform%7Cproposed%7Craceway%7Crazed%7Csteps%22%5D%5B%22bicycle%22%21~%22no%22%5D%5B%22service%22%21~%22private%22%5D%28poly%3A%2737.790911+-122.413941+37.799904+-122.413942+37.800346+-122.413915+37.800783+-122.413833+37.801212+-122.413698+37.801629+-122.413510+37.802029+-122.413272+37.802408+-122.412985+37.802763+-122.412653+37.803091+-122.412279+37.803388+-122.411866+37.803651+-122.411418+37.803879+-122.410940+37.804068+-122.410437+37.804217+-122.409912+37.804324+-122.409371+37.804389+-122.408820+37.804411+-122.408263+37.804411+-122.396882+37.804389+-122.396325+37.804324+-122.395774+37.804217+-122.395233+37.804068+-122.394708+37.803879+-122.394204+37.803651+-122.393726+37.803388+-122.393279+37.803091+-122.392866+37.802763+-122.392492+37.802408+-122.392160+37.802029+-122.391873+37.801629+-122.391635+37.801212+-122.391447+37.800783+-122.391312+37.800346+-122.391230+37.799904+-122.391203+37.790911+-122.391203+37.790469+-122.391231+37.790032+-122.391313+37.789603+-122.391448+37.789186+-122.391636+37.788787+-122.391874+37.788407+-122.392161+37.788052+-122.392493+37.787724+-122.392867+37.787428+-122.393280+37.787164+-122.393727+37.786937+-122.394205+37.786748+-122.394709+37.786599+-122.395234+37.786491+-122.395774+37.786426+-122.396326+37.786405+-122.396882+37.786405+-122.408262+37.786426+-122.408819+37.786491+-122.409370+37.786599+-122.409911+37.786748+-122.410436+37.786937+-122.410939+37.787164+-122.411417+37.787428+-122.411865+37.787724+-122.412278+37.788052+-122.412652+37.788407+-122.412984+37.788787+-122.413271+37.789186+-122.413509+37.789603+-122.413697+37.790032+-122.413832+37.790469+-122.413914+37.790911+-122.413941%27%29%3B%3E%3B%29%3Bout%3B with timeout=180 279s INFO OSMnx:utils.py:293 Downloaded 0.4kB from 'overpass-api.de' with status 200 279s WARNING OSMnx:utils.py:295 'overpass-api.de' remarked: 'runtime error: Query timed out in "query" at line 1 after 4792 seconds.' 279s INFO OSMnx:utils.py:293 Saved response to cache file '.temp/cache/11532ecc7935a1e38617d39a9470d6f87f2df238.json' 279s INFO OSMnx:utils.py:293 Retrieved all data from API in 1 request(s) 279s ________________________ test_elevation_extra_thirtytwo ________________________ 279s 279s def test_elevation_extra_thirtytwo(): 279s 279s > G = ox.graph_from_address(address=address, dist=500, dist_type="bbox", network_type="bike") 279s 279s tests/test_osmnx.py:296: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s /usr/lib/python3/dist-packages/osmnx/graph.py:280: in graph_from_address 279s G = graph_from_point( 279s /usr/lib/python3/dist-packages/osmnx/graph.py:185: in graph_from_point 279s G = graph_from_bbox( 279s /usr/lib/python3/dist-packages/osmnx/graph.py:106: in graph_from_bbox 279s G = graph_from_polygon( 279s /usr/lib/python3/dist-packages/osmnx/graph.py:495: in graph_from_polygon 279s G_buff = _create_graph(response_jsons, retain_all=True, bidirectional=bidirectional) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s response_jsons = 279s retain_all = True, bidirectional = False 279s 279s def _create_graph(response_jsons, retain_all=False, bidirectional=False): 279s """ 279s Create a networkx MultiDiGraph from Overpass API responses. 279s 279s Adds length attributes in meters (great-circle distance between endpoints) 279s to all of the graph's (pre-simplified, straight-line) edges via the 279s `distance.add_edge_lengths` function. 279s 279s Parameters 279s ---------- 279s response_jsons : iterable 279s iterable of dicts of JSON responses from from the Overpass API 279s retain_all : bool 279s if True, return the entire graph even if it is not connected. 279s otherwise, retain only the largest weakly connected component. 279s bidirectional : bool 279s if True, create bi-directional edges for one-way streets 279s 279s Returns 279s ------- 279s G : networkx.MultiDiGraph 279s """ 279s response_count = 0 279s nodes = {} 279s paths = {} 279s 279s # consume response_jsons generator to download data from server 279s for response_json in response_jsons: 279s response_count += 1 279s 279s # if cache_only_mode, consume response_jsons then continue next loop 279s if settings.cache_only_mode: # pragma: no cover 279s continue 279s 279s # otherwise, extract nodes and paths from the downloaded OSM data 279s nodes_temp, paths_temp = _parse_nodes_paths(response_json) 279s nodes.update(nodes_temp) 279s paths.update(paths_temp) 279s 279s utils.log(f"Retrieved all data from API in {response_count} request(s)") 279s if settings.cache_only_mode: # pragma: no cover 279s # after consuming all response_jsons in loop, raise exception to catch 279s msg = "Interrupted because `settings.cache_only_mode=True`" 279s raise CacheOnlyInterruptError(msg) 279s 279s # ensure we got some node/way data back from the server request(s) 279s if (len(nodes) == 0) and (len(paths) == 0): # pragma: no cover 279s msg = "No data elements in server response. Check query location/filters and log." 279s > raise InsufficientResponseError(msg) 279s E osmnx._errors.InsufficientResponseError: No data elements in server response. Check query location/filters and log. 279s 279s /usr/lib/python3/dist-packages/osmnx/graph.py:644: InsufficientResponseError 279s ----------------------------- Captured stdout call ----------------------------- 279s 2024-03-22 12:19:55 Retrieved response from cache file '.temp/cache/9dc0b6d561ab31f723c6c4267d678b3b95c8e0fe.json' 279s 2024-03-22 12:19:55 Geocoded '600 Montgomery St, San Francisco, California, USA' to (37.7954078, -122.4025724) 279s 2024-03-22 12:19:55 Created bbox 500 m from (37.7954078, -122.4025724): 37.799904401677466,37.79091119832253,-122.39688196953334,-122.40826283046665 279s 2024-03-22 12:19:55 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s 2024-03-22 12:19:55 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s 2024-03-22 12:19:56 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s 2024-03-22 12:19:56 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s 2024-03-22 12:19:56 Requesting data from API in 1 request(s) 279s 2024-03-22 12:19:56 Ignoring cache file '.temp/cache/11532ecc7935a1e38617d39a9470d6f87f2df238.json' because it contains a remark: 'runtime error: Query timed out in "query" at line 1 after 4792 seconds.' 279s 2024-03-22 12:19:56 Pausing 0 second(s) before making HTTP POST request to 'overpass-api.de' 279s 2024-03-22 12:19:56 Post https://overpass-api.de/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A180%5D%5Bdate%3A%222023-04-01T00%3A00%3A00Z%22%5D%3B%28way%5B%22highway%22%5D%5B%22area%22%21~%22yes%22%5D%5B%22access%22%21~%22private%22%5D%5B%22highway%22%21~%22abandoned%7Cbus_guideway%7Cconstruction%7Ccorridor%7Celevator%7Cescalator%7Cfootway%7Cmotor%7Cno%7Cplanned%7Cplatform%7Cproposed%7Craceway%7Crazed%7Csteps%22%5D%5B%22bicycle%22%21~%22no%22%5D%5B%22service%22%21~%22private%22%5D%28poly%3A%2737.790911+-122.413941+37.799904+-122.413942+37.800346+-122.413915+37.800783+-122.413833+37.801212+-122.413698+37.801629+-122.413510+37.802029+-122.413272+37.802408+-122.412985+37.802763+-122.412653+37.803091+-122.412279+37.803388+-122.411866+37.803651+-122.411418+37.803879+-122.410940+37.804068+-122.410437+37.804217+-122.409912+37.804324+-122.409371+37.804389+-122.408820+37.804411+-122.408263+37.804411+-122.396882+37.804389+-122.396325+37.804324+-122.395774+37.804217+-122.395233+37.804068+-122.394708+37.803879+-122.394204+37.803651+-122.393726+37.803388+-122.393279+37.803091+-122.392866+37.802763+-122.392492+37.802408+-122.392160+37.802029+-122.391873+37.801629+-122.391635+37.801212+-122.391447+37.800783+-122.391312+37.800346+-122.391230+37.799904+-122.391203+37.790911+-122.391203+37.790469+-122.391231+37.790032+-122.391313+37.789603+-122.391448+37.789186+-122.391636+37.788787+-122.391874+37.788407+-122.392161+37.788052+-122.392493+37.787724+-122.392867+37.787428+-122.393280+37.787164+-122.393727+37.786937+-122.394205+37.786748+-122.394709+37.786599+-122.395234+37.786491+-122.395774+37.786426+-122.396326+37.786405+-122.396882+37.786405+-122.408262+37.786426+-122.408819+37.786491+-122.409370+37.786599+-122.409911+37.786748+-122.410436+37.786937+-122.410939+37.787164+-122.411417+37.787428+-122.411865+37.787724+-122.412278+37.788052+-122.412652+37.788407+-122.412984+37.788787+-122.413271+37.789186+-122.413509+37.789603+-122.413697+37.790032+-122.413832+37.790469+-122.413914+37.790911+-122.413941%27%29%3B%3E%3B%29%3Bout%3B with timeout=180 279s 2024-03-22 12:19:57 Downloaded 0.4kB from 'overpass-api.de' with status 200 279s 2024-03-22 12:19:57 'overpass-api.de' remarked: 'runtime error: Query timed out in "query" at line 1 after 4792 seconds.' 279s 2024-03-22 12:19:57 Saved response to cache file '.temp/cache/11532ecc7935a1e38617d39a9470d6f87f2df238.json' 279s 2024-03-22 12:19:57 Retrieved all data from API in 1 request(s) 279s ------------------------------ Captured log call ------------------------------- 279s INFO OSMnx:utils.py:293 Retrieved response from cache file '.temp/cache/9dc0b6d561ab31f723c6c4267d678b3b95c8e0fe.json' 279s INFO OSMnx:utils.py:293 Geocoded '600 Montgomery St, San Francisco, California, USA' to (37.7954078, -122.4025724) 279s INFO OSMnx:utils.py:293 Created bbox 500 m from (37.7954078, -122.4025724): 37.799904401677466,37.79091119832253,-122.39688196953334,-122.40826283046665 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s INFO OSMnx:utils.py:293 Requesting data from API in 1 request(s) 279s INFO OSMnx:utils.py:293 Ignoring cache file '.temp/cache/11532ecc7935a1e38617d39a9470d6f87f2df238.json' because it contains a remark: 'runtime error: Query timed out in "query" at line 1 after 4792 seconds.' 279s INFO OSMnx:utils.py:293 Pausing 0 second(s) before making HTTP POST request to 'overpass-api.de' 279s INFO OSMnx:utils.py:293 Post https://overpass-api.de/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A180%5D%5Bdate%3A%222023-04-01T00%3A00%3A00Z%22%5D%3B%28way%5B%22highway%22%5D%5B%22area%22%21~%22yes%22%5D%5B%22access%22%21~%22private%22%5D%5B%22highway%22%21~%22abandoned%7Cbus_guideway%7Cconstruction%7Ccorridor%7Celevator%7Cescalator%7Cfootway%7Cmotor%7Cno%7Cplanned%7Cplatform%7Cproposed%7Craceway%7Crazed%7Csteps%22%5D%5B%22bicycle%22%21~%22no%22%5D%5B%22service%22%21~%22private%22%5D%28poly%3A%2737.790911+-122.413941+37.799904+-122.413942+37.800346+-122.413915+37.800783+-122.413833+37.801212+-122.413698+37.801629+-122.413510+37.802029+-122.413272+37.802408+-122.412985+37.802763+-122.412653+37.803091+-122.412279+37.803388+-122.411866+37.803651+-122.411418+37.803879+-122.410940+37.804068+-122.410437+37.804217+-122.409912+37.804324+-122.409371+37.804389+-122.408820+37.804411+-122.408263+37.804411+-122.396882+37.804389+-122.396325+37.804324+-122.395774+37.804217+-122.395233+37.804068+-122.394708+37.803879+-122.394204+37.803651+-122.393726+37.803388+-122.393279+37.803091+-122.392866+37.802763+-122.392492+37.802408+-122.392160+37.802029+-122.391873+37.801629+-122.391635+37.801212+-122.391447+37.800783+-122.391312+37.800346+-122.391230+37.799904+-122.391203+37.790911+-122.391203+37.790469+-122.391231+37.790032+-122.391313+37.789603+-122.391448+37.789186+-122.391636+37.788787+-122.391874+37.788407+-122.392161+37.788052+-122.392493+37.787724+-122.392867+37.787428+-122.393280+37.787164+-122.393727+37.786937+-122.394205+37.786748+-122.394709+37.786599+-122.395234+37.786491+-122.395774+37.786426+-122.396326+37.786405+-122.396882+37.786405+-122.408262+37.786426+-122.408819+37.786491+-122.409370+37.786599+-122.409911+37.786748+-122.410436+37.786937+-122.410939+37.787164+-122.411417+37.787428+-122.411865+37.787724+-122.412278+37.788052+-122.412652+37.788407+-122.412984+37.788787+-122.413271+37.789186+-122.413509+37.789603+-122.413697+37.790032+-122.413832+37.790469+-122.413914+37.790911+-122.413941%27%29%3B%3E%3B%29%3Bout%3B with timeout=180 279s INFO OSMnx:utils.py:293 Downloaded 0.4kB from 'overpass-api.de' with status 200 279s WARNING OSMnx:utils.py:295 'overpass-api.de' remarked: 'runtime error: Query timed out in "query" at line 1 after 4792 seconds.' 279s INFO OSMnx:utils.py:293 Saved response to cache file '.temp/cache/11532ecc7935a1e38617d39a9470d6f87f2df238.json' 279s INFO OSMnx:utils.py:293 Retrieved all data from API in 1 request(s) 279s __________________________ test_elevation_extra_huge ___________________________ 279s 279s def test_elevation_extra_huge(): 279s 279s > G = ox.graph_from_address(address=address, dist=500, dist_type="bbox", network_type="bike") 279s 279s tests/test_osmnx.py:309: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s /usr/lib/python3/dist-packages/osmnx/graph.py:280: in graph_from_address 279s G = graph_from_point( 279s /usr/lib/python3/dist-packages/osmnx/graph.py:185: in graph_from_point 279s G = graph_from_bbox( 279s /usr/lib/python3/dist-packages/osmnx/graph.py:106: in graph_from_bbox 279s G = graph_from_polygon( 279s /usr/lib/python3/dist-packages/osmnx/graph.py:495: in graph_from_polygon 279s G_buff = _create_graph(response_jsons, retain_all=True, bidirectional=bidirectional) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s response_jsons = 279s retain_all = True, bidirectional = False 279s 279s def _create_graph(response_jsons, retain_all=False, bidirectional=False): 279s """ 279s Create a networkx MultiDiGraph from Overpass API responses. 279s 279s Adds length attributes in meters (great-circle distance between endpoints) 279s to all of the graph's (pre-simplified, straight-line) edges via the 279s `distance.add_edge_lengths` function. 279s 279s Parameters 279s ---------- 279s response_jsons : iterable 279s iterable of dicts of JSON responses from from the Overpass API 279s retain_all : bool 279s if True, return the entire graph even if it is not connected. 279s otherwise, retain only the largest weakly connected component. 279s bidirectional : bool 279s if True, create bi-directional edges for one-way streets 279s 279s Returns 279s ------- 279s G : networkx.MultiDiGraph 279s """ 279s response_count = 0 279s nodes = {} 279s paths = {} 279s 279s # consume response_jsons generator to download data from server 279s for response_json in response_jsons: 279s response_count += 1 279s 279s # if cache_only_mode, consume response_jsons then continue next loop 279s if settings.cache_only_mode: # pragma: no cover 279s continue 279s 279s # otherwise, extract nodes and paths from the downloaded OSM data 279s nodes_temp, paths_temp = _parse_nodes_paths(response_json) 279s nodes.update(nodes_temp) 279s paths.update(paths_temp) 279s 279s utils.log(f"Retrieved all data from API in {response_count} request(s)") 279s if settings.cache_only_mode: # pragma: no cover 279s # after consuming all response_jsons in loop, raise exception to catch 279s msg = "Interrupted because `settings.cache_only_mode=True`" 279s raise CacheOnlyInterruptError(msg) 279s 279s # ensure we got some node/way data back from the server request(s) 279s if (len(nodes) == 0) and (len(paths) == 0): # pragma: no cover 279s msg = "No data elements in server response. Check query location/filters and log." 279s > raise InsufficientResponseError(msg) 279s E osmnx._errors.InsufficientResponseError: No data elements in server response. Check query location/filters and log. 279s 279s /usr/lib/python3/dist-packages/osmnx/graph.py:644: InsufficientResponseError 279s ----------------------------- Captured stdout call ----------------------------- 279s 2024-03-22 12:19:57 Retrieved response from cache file '.temp/cache/9dc0b6d561ab31f723c6c4267d678b3b95c8e0fe.json' 279s 2024-03-22 12:19:57 Geocoded '600 Montgomery St, San Francisco, California, USA' to (37.7954078, -122.4025724) 279s 2024-03-22 12:19:57 Created bbox 500 m from (37.7954078, -122.4025724): 37.799904401677466,37.79091119832253,-122.39688196953334,-122.40826283046665 279s 2024-03-22 12:19:57 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s 2024-03-22 12:19:57 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s 2024-03-22 12:19:57 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s 2024-03-22 12:19:57 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s 2024-03-22 12:19:57 Requesting data from API in 1 request(s) 279s 2024-03-22 12:19:57 Ignoring cache file '.temp/cache/11532ecc7935a1e38617d39a9470d6f87f2df238.json' because it contains a remark: 'runtime error: Query timed out in "query" at line 1 after 4792 seconds.' 279s 2024-03-22 12:19:58 Pausing 0 second(s) before making HTTP POST request to 'overpass-api.de' 279s 2024-03-22 12:19:58 Post https://overpass-api.de/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A180%5D%5Bdate%3A%222023-04-01T00%3A00%3A00Z%22%5D%3B%28way%5B%22highway%22%5D%5B%22area%22%21~%22yes%22%5D%5B%22access%22%21~%22private%22%5D%5B%22highway%22%21~%22abandoned%7Cbus_guideway%7Cconstruction%7Ccorridor%7Celevator%7Cescalator%7Cfootway%7Cmotor%7Cno%7Cplanned%7Cplatform%7Cproposed%7Craceway%7Crazed%7Csteps%22%5D%5B%22bicycle%22%21~%22no%22%5D%5B%22service%22%21~%22private%22%5D%28poly%3A%2737.790911+-122.413941+37.799904+-122.413942+37.800346+-122.413915+37.800783+-122.413833+37.801212+-122.413698+37.801629+-122.413510+37.802029+-122.413272+37.802408+-122.412985+37.802763+-122.412653+37.803091+-122.412279+37.803388+-122.411866+37.803651+-122.411418+37.803879+-122.410940+37.804068+-122.410437+37.804217+-122.409912+37.804324+-122.409371+37.804389+-122.408820+37.804411+-122.408263+37.804411+-122.396882+37.804389+-122.396325+37.804324+-122.395774+37.804217+-122.395233+37.804068+-122.394708+37.803879+-122.394204+37.803651+-122.393726+37.803388+-122.393279+37.803091+-122.392866+37.802763+-122.392492+37.802408+-122.392160+37.802029+-122.391873+37.801629+-122.391635+37.801212+-122.391447+37.800783+-122.391312+37.800346+-122.391230+37.799904+-122.391203+37.790911+-122.391203+37.790469+-122.391231+37.790032+-122.391313+37.789603+-122.391448+37.789186+-122.391636+37.788787+-122.391874+37.788407+-122.392161+37.788052+-122.392493+37.787724+-122.392867+37.787428+-122.393280+37.787164+-122.393727+37.786937+-122.394205+37.786748+-122.394709+37.786599+-122.395234+37.786491+-122.395774+37.786426+-122.396326+37.786405+-122.396882+37.786405+-122.408262+37.786426+-122.408819+37.786491+-122.409370+37.786599+-122.409911+37.786748+-122.410436+37.786937+-122.410939+37.787164+-122.411417+37.787428+-122.411865+37.787724+-122.412278+37.788052+-122.412652+37.788407+-122.412984+37.788787+-122.413271+37.789186+-122.413509+37.789603+-122.413697+37.790032+-122.413832+37.790469+-122.413914+37.790911+-122.413941%27%29%3B%3E%3B%29%3Bout%3B with timeout=180 279s 2024-03-22 12:19:58 Downloaded 0.4kB from 'overpass-api.de' with status 200 279s 2024-03-22 12:19:58 'overpass-api.de' remarked: 'runtime error: Query timed out in "query" at line 1 after 4792 seconds.' 279s 2024-03-22 12:19:58 Saved response to cache file '.temp/cache/11532ecc7935a1e38617d39a9470d6f87f2df238.json' 279s 2024-03-22 12:19:58 Retrieved all data from API in 1 request(s) 279s ------------------------------ Captured log call ------------------------------- 279s INFO OSMnx:utils.py:293 Retrieved response from cache file '.temp/cache/9dc0b6d561ab31f723c6c4267d678b3b95c8e0fe.json' 279s INFO OSMnx:utils.py:293 Geocoded '600 Montgomery St, San Francisco, California, USA' to (37.7954078, -122.4025724) 279s INFO OSMnx:utils.py:293 Created bbox 500 m from (37.7954078, -122.4025724): 37.799904401677466,37.79091119832253,-122.39688196953334,-122.40826283046665 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s INFO OSMnx:utils.py:293 Requesting data from API in 1 request(s) 279s INFO OSMnx:utils.py:293 Ignoring cache file '.temp/cache/11532ecc7935a1e38617d39a9470d6f87f2df238.json' because it contains a remark: 'runtime error: Query timed out in "query" at line 1 after 4792 seconds.' 279s INFO OSMnx:utils.py:293 Pausing 0 second(s) before making HTTP POST request to 'overpass-api.de' 279s INFO OSMnx:utils.py:293 Post https://overpass-api.de/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A180%5D%5Bdate%3A%222023-04-01T00%3A00%3A00Z%22%5D%3B%28way%5B%22highway%22%5D%5B%22area%22%21~%22yes%22%5D%5B%22access%22%21~%22private%22%5D%5B%22highway%22%21~%22abandoned%7Cbus_guideway%7Cconstruction%7Ccorridor%7Celevator%7Cescalator%7Cfootway%7Cmotor%7Cno%7Cplanned%7Cplatform%7Cproposed%7Craceway%7Crazed%7Csteps%22%5D%5B%22bicycle%22%21~%22no%22%5D%5B%22service%22%21~%22private%22%5D%28poly%3A%2737.790911+-122.413941+37.799904+-122.413942+37.800346+-122.413915+37.800783+-122.413833+37.801212+-122.413698+37.801629+-122.413510+37.802029+-122.413272+37.802408+-122.412985+37.802763+-122.412653+37.803091+-122.412279+37.803388+-122.411866+37.803651+-122.411418+37.803879+-122.410940+37.804068+-122.410437+37.804217+-122.409912+37.804324+-122.409371+37.804389+-122.408820+37.804411+-122.408263+37.804411+-122.396882+37.804389+-122.396325+37.804324+-122.395774+37.804217+-122.395233+37.804068+-122.394708+37.803879+-122.394204+37.803651+-122.393726+37.803388+-122.393279+37.803091+-122.392866+37.802763+-122.392492+37.802408+-122.392160+37.802029+-122.391873+37.801629+-122.391635+37.801212+-122.391447+37.800783+-122.391312+37.800346+-122.391230+37.799904+-122.391203+37.790911+-122.391203+37.790469+-122.391231+37.790032+-122.391313+37.789603+-122.391448+37.789186+-122.391636+37.788787+-122.391874+37.788407+-122.392161+37.788052+-122.392493+37.787724+-122.392867+37.787428+-122.393280+37.787164+-122.393727+37.786937+-122.394205+37.786748+-122.394709+37.786599+-122.395234+37.786491+-122.395774+37.786426+-122.396326+37.786405+-122.396882+37.786405+-122.408262+37.786426+-122.408819+37.786491+-122.409370+37.786599+-122.409911+37.786748+-122.410436+37.786937+-122.410939+37.787164+-122.411417+37.787428+-122.411865+37.787724+-122.412278+37.788052+-122.412652+37.788407+-122.412984+37.788787+-122.413271+37.789186+-122.413509+37.789603+-122.413697+37.790032+-122.413832+37.790469+-122.413914+37.790911+-122.413941%27%29%3B%3E%3B%29%3Bout%3B with timeout=180 279s INFO OSMnx:utils.py:293 Downloaded 0.4kB from 'overpass-api.de' with status 200 279s WARNING OSMnx:utils.py:295 'overpass-api.de' remarked: 'runtime error: Query timed out in "query" at line 1 after 4792 seconds.' 279s INFO OSMnx:utils.py:293 Saved response to cache file '.temp/cache/11532ecc7935a1e38617d39a9470d6f87f2df238.json' 279s INFO OSMnx:utils.py:293 Retrieved all data from API in 1 request(s) 279s _________________________________ test_routing _________________________________ 279s 279s def test_routing(): 279s """Test working with speed, travel time, and routing.""" 279s > G = ox.graph_from_address(address=address, dist=500, dist_type="bbox", network_type="bike") 279s 279s tests/test_osmnx.py:322: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s /usr/lib/python3/dist-packages/osmnx/graph.py:280: in graph_from_address 279s G = graph_from_point( 279s /usr/lib/python3/dist-packages/osmnx/graph.py:185: in graph_from_point 279s G = graph_from_bbox( 279s /usr/lib/python3/dist-packages/osmnx/graph.py:106: in graph_from_bbox 279s G = graph_from_polygon( 279s /usr/lib/python3/dist-packages/osmnx/graph.py:495: in graph_from_polygon 279s G_buff = _create_graph(response_jsons, retain_all=True, bidirectional=bidirectional) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s response_jsons = 279s retain_all = True, bidirectional = False 279s 279s def _create_graph(response_jsons, retain_all=False, bidirectional=False): 279s """ 279s Create a networkx MultiDiGraph from Overpass API responses. 279s 279s Adds length attributes in meters (great-circle distance between endpoints) 279s to all of the graph's (pre-simplified, straight-line) edges via the 279s `distance.add_edge_lengths` function. 279s 279s Parameters 279s ---------- 279s response_jsons : iterable 279s iterable of dicts of JSON responses from from the Overpass API 279s retain_all : bool 279s if True, return the entire graph even if it is not connected. 279s otherwise, retain only the largest weakly connected component. 279s bidirectional : bool 279s if True, create bi-directional edges for one-way streets 279s 279s Returns 279s ------- 279s G : networkx.MultiDiGraph 279s """ 279s response_count = 0 279s nodes = {} 279s paths = {} 279s 279s # consume response_jsons generator to download data from server 279s for response_json in response_jsons: 279s response_count += 1 279s 279s # if cache_only_mode, consume response_jsons then continue next loop 279s if settings.cache_only_mode: # pragma: no cover 279s continue 279s 279s # otherwise, extract nodes and paths from the downloaded OSM data 279s nodes_temp, paths_temp = _parse_nodes_paths(response_json) 279s nodes.update(nodes_temp) 279s paths.update(paths_temp) 279s 279s utils.log(f"Retrieved all data from API in {response_count} request(s)") 279s if settings.cache_only_mode: # pragma: no cover 279s # after consuming all response_jsons in loop, raise exception to catch 279s msg = "Interrupted because `settings.cache_only_mode=True`" 279s raise CacheOnlyInterruptError(msg) 279s 279s # ensure we got some node/way data back from the server request(s) 279s if (len(nodes) == 0) and (len(paths) == 0): # pragma: no cover 279s msg = "No data elements in server response. Check query location/filters and log." 279s > raise InsufficientResponseError(msg) 279s E osmnx._errors.InsufficientResponseError: No data elements in server response. Check query location/filters and log. 279s 279s /usr/lib/python3/dist-packages/osmnx/graph.py:644: InsufficientResponseError 279s ----------------------------- Captured stdout call ----------------------------- 279s 2024-03-22 12:19:59 Retrieved response from cache file '.temp/cache/9dc0b6d561ab31f723c6c4267d678b3b95c8e0fe.json' 279s 2024-03-22 12:19:59 Geocoded '600 Montgomery St, San Francisco, California, USA' to (37.7954078, -122.4025724) 279s 2024-03-22 12:19:59 Created bbox 500 m from (37.7954078, -122.4025724): 37.799904401677466,37.79091119832253,-122.39688196953334,-122.40826283046665 279s 2024-03-22 12:19:59 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s 2024-03-22 12:19:59 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s 2024-03-22 12:19:59 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s 2024-03-22 12:19:59 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s 2024-03-22 12:19:59 Requesting data from API in 1 request(s) 279s 2024-03-22 12:19:59 Ignoring cache file '.temp/cache/11532ecc7935a1e38617d39a9470d6f87f2df238.json' because it contains a remark: 'runtime error: Query timed out in "query" at line 1 after 4792 seconds.' 279s 2024-03-22 12:19:59 Pausing 0 second(s) before making HTTP POST request to 'overpass-api.de' 279s 2024-03-22 12:19:59 Post https://overpass-api.de/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A180%5D%5Bdate%3A%222023-04-01T00%3A00%3A00Z%22%5D%3B%28way%5B%22highway%22%5D%5B%22area%22%21~%22yes%22%5D%5B%22access%22%21~%22private%22%5D%5B%22highway%22%21~%22abandoned%7Cbus_guideway%7Cconstruction%7Ccorridor%7Celevator%7Cescalator%7Cfootway%7Cmotor%7Cno%7Cplanned%7Cplatform%7Cproposed%7Craceway%7Crazed%7Csteps%22%5D%5B%22bicycle%22%21~%22no%22%5D%5B%22service%22%21~%22private%22%5D%28poly%3A%2737.790911+-122.413941+37.799904+-122.413942+37.800346+-122.413915+37.800783+-122.413833+37.801212+-122.413698+37.801629+-122.413510+37.802029+-122.413272+37.802408+-122.412985+37.802763+-122.412653+37.803091+-122.412279+37.803388+-122.411866+37.803651+-122.411418+37.803879+-122.410940+37.804068+-122.410437+37.804217+-122.409912+37.804324+-122.409371+37.804389+-122.408820+37.804411+-122.408263+37.804411+-122.396882+37.804389+-122.396325+37.804324+-122.395774+37.804217+-122.395233+37.804068+-122.394708+37.803879+-122.394204+37.803651+-122.393726+37.803388+-122.393279+37.803091+-122.392866+37.802763+-122.392492+37.802408+-122.392160+37.802029+-122.391873+37.801629+-122.391635+37.801212+-122.391447+37.800783+-122.391312+37.800346+-122.391230+37.799904+-122.391203+37.790911+-122.391203+37.790469+-122.391231+37.790032+-122.391313+37.789603+-122.391448+37.789186+-122.391636+37.788787+-122.391874+37.788407+-122.392161+37.788052+-122.392493+37.787724+-122.392867+37.787428+-122.393280+37.787164+-122.393727+37.786937+-122.394205+37.786748+-122.394709+37.786599+-122.395234+37.786491+-122.395774+37.786426+-122.396326+37.786405+-122.396882+37.786405+-122.408262+37.786426+-122.408819+37.786491+-122.409370+37.786599+-122.409911+37.786748+-122.410436+37.786937+-122.410939+37.787164+-122.411417+37.787428+-122.411865+37.787724+-122.412278+37.788052+-122.412652+37.788407+-122.412984+37.788787+-122.413271+37.789186+-122.413509+37.789603+-122.413697+37.790032+-122.413832+37.790469+-122.413914+37.790911+-122.413941%27%29%3B%3E%3B%29%3Bout%3B with timeout=180 279s 2024-03-22 12:20:00 Downloaded 0.4kB from 'overpass-api.de' with status 200 279s 2024-03-22 12:20:00 'overpass-api.de' remarked: 'runtime error: Query timed out in "query" at line 1 after 4792 seconds.' 279s 2024-03-22 12:20:00 Saved response to cache file '.temp/cache/11532ecc7935a1e38617d39a9470d6f87f2df238.json' 279s 2024-03-22 12:20:00 Retrieved all data from API in 1 request(s) 279s ------------------------------ Captured log call ------------------------------- 279s INFO OSMnx:utils.py:293 Retrieved response from cache file '.temp/cache/9dc0b6d561ab31f723c6c4267d678b3b95c8e0fe.json' 279s INFO OSMnx:utils.py:293 Geocoded '600 Montgomery St, San Francisco, California, USA' to (37.7954078, -122.4025724) 279s INFO OSMnx:utils.py:293 Created bbox 500 m from (37.7954078, -122.4025724): 37.799904401677466,37.79091119832253,-122.39688196953334,-122.40826283046665 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s INFO OSMnx:utils.py:293 Requesting data from API in 1 request(s) 279s INFO OSMnx:utils.py:293 Ignoring cache file '.temp/cache/11532ecc7935a1e38617d39a9470d6f87f2df238.json' because it contains a remark: 'runtime error: Query timed out in "query" at line 1 after 4792 seconds.' 279s INFO OSMnx:utils.py:293 Pausing 0 second(s) before making HTTP POST request to 'overpass-api.de' 279s INFO OSMnx:utils.py:293 Post https://overpass-api.de/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A180%5D%5Bdate%3A%222023-04-01T00%3A00%3A00Z%22%5D%3B%28way%5B%22highway%22%5D%5B%22area%22%21~%22yes%22%5D%5B%22access%22%21~%22private%22%5D%5B%22highway%22%21~%22abandoned%7Cbus_guideway%7Cconstruction%7Ccorridor%7Celevator%7Cescalator%7Cfootway%7Cmotor%7Cno%7Cplanned%7Cplatform%7Cproposed%7Craceway%7Crazed%7Csteps%22%5D%5B%22bicycle%22%21~%22no%22%5D%5B%22service%22%21~%22private%22%5D%28poly%3A%2737.790911+-122.413941+37.799904+-122.413942+37.800346+-122.413915+37.800783+-122.413833+37.801212+-122.413698+37.801629+-122.413510+37.802029+-122.413272+37.802408+-122.412985+37.802763+-122.412653+37.803091+-122.412279+37.803388+-122.411866+37.803651+-122.411418+37.803879+-122.410940+37.804068+-122.410437+37.804217+-122.409912+37.804324+-122.409371+37.804389+-122.408820+37.804411+-122.408263+37.804411+-122.396882+37.804389+-122.396325+37.804324+-122.395774+37.804217+-122.395233+37.804068+-122.394708+37.803879+-122.394204+37.803651+-122.393726+37.803388+-122.393279+37.803091+-122.392866+37.802763+-122.392492+37.802408+-122.392160+37.802029+-122.391873+37.801629+-122.391635+37.801212+-122.391447+37.800783+-122.391312+37.800346+-122.391230+37.799904+-122.391203+37.790911+-122.391203+37.790469+-122.391231+37.790032+-122.391313+37.789603+-122.391448+37.789186+-122.391636+37.788787+-122.391874+37.788407+-122.392161+37.788052+-122.392493+37.787724+-122.392867+37.787428+-122.393280+37.787164+-122.393727+37.786937+-122.394205+37.786748+-122.394709+37.786599+-122.395234+37.786491+-122.395774+37.786426+-122.396326+37.786405+-122.396882+37.786405+-122.408262+37.786426+-122.408819+37.786491+-122.409370+37.786599+-122.409911+37.786748+-122.410436+37.786937+-122.410939+37.787164+-122.411417+37.787428+-122.411865+37.787724+-122.412278+37.788052+-122.412652+37.788407+-122.412984+37.788787+-122.413271+37.789186+-122.413509+37.789603+-122.413697+37.790032+-122.413832+37.790469+-122.413914+37.790911+-122.413941%27%29%3B%3E%3B%29%3Bout%3B with timeout=180 279s INFO OSMnx:utils.py:293 Downloaded 0.4kB from 'overpass-api.de' with status 200 279s WARNING OSMnx:utils.py:295 'overpass-api.de' remarked: 'runtime error: Query timed out in "query" at line 1 after 4792 seconds.' 279s INFO OSMnx:utils.py:293 Saved response to cache file '.temp/cache/11532ecc7935a1e38617d39a9470d6f87f2df238.json' 279s INFO OSMnx:utils.py:293 Retrieved all data from API in 1 request(s) 279s __________________________________ test_plots __________________________________ 279s 279s def test_plots(): 279s """Test visualization methods.""" 279s > G = ox.graph_from_point(location_point, dist=500, network_type="drive") 279s 279s tests/test_osmnx.py:408: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s /usr/lib/python3/dist-packages/osmnx/graph.py:185: in graph_from_point 279s G = graph_from_bbox( 279s /usr/lib/python3/dist-packages/osmnx/graph.py:106: in graph_from_bbox 279s G = graph_from_polygon( 279s /usr/lib/python3/dist-packages/osmnx/graph.py:495: in graph_from_polygon 279s G_buff = _create_graph(response_jsons, retain_all=True, bidirectional=bidirectional) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s response_jsons = 279s retain_all = True, bidirectional = False 279s 279s def _create_graph(response_jsons, retain_all=False, bidirectional=False): 279s """ 279s Create a networkx MultiDiGraph from Overpass API responses. 279s 279s Adds length attributes in meters (great-circle distance between endpoints) 279s to all of the graph's (pre-simplified, straight-line) edges via the 279s `distance.add_edge_lengths` function. 279s 279s Parameters 279s ---------- 279s response_jsons : iterable 279s iterable of dicts of JSON responses from from the Overpass API 279s retain_all : bool 279s if True, return the entire graph even if it is not connected. 279s otherwise, retain only the largest weakly connected component. 279s bidirectional : bool 279s if True, create bi-directional edges for one-way streets 279s 279s Returns 279s ------- 279s G : networkx.MultiDiGraph 279s """ 279s response_count = 0 279s nodes = {} 279s paths = {} 279s 279s # consume response_jsons generator to download data from server 279s for response_json in response_jsons: 279s response_count += 1 279s 279s # if cache_only_mode, consume response_jsons then continue next loop 279s if settings.cache_only_mode: # pragma: no cover 279s continue 279s 279s # otherwise, extract nodes and paths from the downloaded OSM data 279s nodes_temp, paths_temp = _parse_nodes_paths(response_json) 279s nodes.update(nodes_temp) 279s paths.update(paths_temp) 279s 279s utils.log(f"Retrieved all data from API in {response_count} request(s)") 279s if settings.cache_only_mode: # pragma: no cover 279s # after consuming all response_jsons in loop, raise exception to catch 279s msg = "Interrupted because `settings.cache_only_mode=True`" 279s raise CacheOnlyInterruptError(msg) 279s 279s # ensure we got some node/way data back from the server request(s) 279s if (len(nodes) == 0) and (len(paths) == 0): # pragma: no cover 279s msg = "No data elements in server response. Check query location/filters and log." 279s > raise InsufficientResponseError(msg) 279s E osmnx._errors.InsufficientResponseError: No data elements in server response. Check query location/filters and log. 279s 279s /usr/lib/python3/dist-packages/osmnx/graph.py:644: InsufficientResponseError 279s ----------------------------- Captured stdout call ----------------------------- 279s 2024-03-22 12:20:00 Created bbox 500 m from (37.791427, -122.410018): 37.795923601677465,37.78693039832253,-122.40432787612507,-122.41570812387492 279s 2024-03-22 12:20:00 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s 2024-03-22 12:20:00 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s 2024-03-22 12:20:00 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s 2024-03-22 12:20:00 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s 2024-03-22 12:20:00 Requesting data from API in 1 request(s) 279s 2024-03-22 12:20:01 Pausing 0 second(s) before making HTTP POST request to 'overpass-api.de' 279s 2024-03-22 12:20:01 Post https://overpass-api.de/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A180%5D%5Bdate%3A%222023-04-01T00%3A00%3A00Z%22%5D%3B%28way%5B%22highway%22%5D%5B%22area%22%21~%22yes%22%5D%5B%22access%22%21~%22private%22%5D%5B%22highway%22%21~%22abandoned%7Cbridleway%7Cbus_guideway%7Cconstruction%7Ccorridor%7Ccycleway%7Celevator%7Cescalator%7Cfootway%7Cno%7Cpath%7Cpedestrian%7Cplanned%7Cplatform%7Cproposed%7Craceway%7Crazed%7Cservice%7Csteps%7Ctrack%22%5D%5B%22motor_vehicle%22%21~%22no%22%5D%5B%22motorcar%22%21~%22no%22%5D%5B%22service%22%21~%22alley%7Cdriveway%7Cemergency_access%7Cparking%7Cparking_aisle%7Cprivate%22%5D%28poly%3A%2737.786930+-122.421386+37.795923+-122.421387+37.796365+-122.421360+37.796803+-122.421278+37.797232+-122.421143+37.797648+-122.420955+37.798048+-122.420717+37.798427+-122.420430+37.798782+-122.420098+37.799110+-122.419724+37.799407+-122.419311+37.799670+-122.418864+37.799898+-122.418386+37.800087+-122.417882+37.800236+-122.417357+37.800343+-122.416816+37.800408+-122.416265+37.800430+-122.415708+37.800430+-122.404328+37.800408+-122.403771+37.800343+-122.403220+37.800236+-122.402679+37.800087+-122.402154+37.799898+-122.401650+37.799670+-122.401172+37.799407+-122.400725+37.799110+-122.400312+37.798782+-122.399938+37.798427+-122.399606+37.798048+-122.399319+37.797648+-122.399081+37.797232+-122.398893+37.796803+-122.398758+37.796365+-122.398676+37.795923+-122.398649+37.786930+-122.398650+37.786489+-122.398677+37.786051+-122.398759+37.785622+-122.398894+37.785206+-122.399082+37.784806+-122.399320+37.784427+-122.399607+37.784071+-122.399939+37.783744+-122.400313+37.783447+-122.400726+37.783183+-122.401173+37.782956+-122.401651+37.782767+-122.402155+37.782618+-122.402680+37.782510+-122.403220+37.782446+-122.403772+37.782424+-122.404328+37.782424+-122.415708+37.782446+-122.416264+37.782510+-122.416816+37.782618+-122.417356+37.782767+-122.417881+37.782956+-122.418385+37.783183+-122.418863+37.783447+-122.419310+37.783744+-122.419723+37.784071+-122.420097+37.784427+-122.420429+37.784806+-122.420716+37.785206+-122.420954+37.785622+-122.421142+37.786051+-122.421277+37.786489+-122.421359+37.786930+-122.421386%27%29%3B%3E%3B%29%3Bout%3B with timeout=180 279s 2024-03-22 12:20:02 Downloaded 0.4kB from 'overpass-api.de' with status 200 279s 2024-03-22 12:20:02 'overpass-api.de' remarked: 'runtime error: Query timed out in "query" at line 1 after 3696 seconds.' 279s 2024-03-22 12:20:02 Saved response to cache file '.temp/cache/19b01fb3041ba3c486af088c84e3ae2c50ffb71e.json' 279s 2024-03-22 12:20:02 Retrieved all data from API in 1 request(s) 279s ------------------------------ Captured log call ------------------------------- 279s INFO OSMnx:utils.py:293 Created bbox 500 m from (37.791427, -122.410018): 37.795923601677465,37.78693039832253,-122.40432787612507,-122.41570812387492 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s INFO OSMnx:utils.py:293 Requesting data from API in 1 request(s) 279s INFO OSMnx:utils.py:293 Pausing 0 second(s) before making HTTP POST request to 'overpass-api.de' 279s INFO OSMnx:utils.py:293 Post https://overpass-api.de/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A180%5D%5Bdate%3A%222023-04-01T00%3A00%3A00Z%22%5D%3B%28way%5B%22highway%22%5D%5B%22area%22%21~%22yes%22%5D%5B%22access%22%21~%22private%22%5D%5B%22highway%22%21~%22abandoned%7Cbridleway%7Cbus_guideway%7Cconstruction%7Ccorridor%7Ccycleway%7Celevator%7Cescalator%7Cfootway%7Cno%7Cpath%7Cpedestrian%7Cplanned%7Cplatform%7Cproposed%7Craceway%7Crazed%7Cservice%7Csteps%7Ctrack%22%5D%5B%22motor_vehicle%22%21~%22no%22%5D%5B%22motorcar%22%21~%22no%22%5D%5B%22service%22%21~%22alley%7Cdriveway%7Cemergency_access%7Cparking%7Cparking_aisle%7Cprivate%22%5D%28poly%3A%2737.786930+-122.421386+37.795923+-122.421387+37.796365+-122.421360+37.796803+-122.421278+37.797232+-122.421143+37.797648+-122.420955+37.798048+-122.420717+37.798427+-122.420430+37.798782+-122.420098+37.799110+-122.419724+37.799407+-122.419311+37.799670+-122.418864+37.799898+-122.418386+37.800087+-122.417882+37.800236+-122.417357+37.800343+-122.416816+37.800408+-122.416265+37.800430+-122.415708+37.800430+-122.404328+37.800408+-122.403771+37.800343+-122.403220+37.800236+-122.402679+37.800087+-122.402154+37.799898+-122.401650+37.799670+-122.401172+37.799407+-122.400725+37.799110+-122.400312+37.798782+-122.399938+37.798427+-122.399606+37.798048+-122.399319+37.797648+-122.399081+37.797232+-122.398893+37.796803+-122.398758+37.796365+-122.398676+37.795923+-122.398649+37.786930+-122.398650+37.786489+-122.398677+37.786051+-122.398759+37.785622+-122.398894+37.785206+-122.399082+37.784806+-122.399320+37.784427+-122.399607+37.784071+-122.399939+37.783744+-122.400313+37.783447+-122.400726+37.783183+-122.401173+37.782956+-122.401651+37.782767+-122.402155+37.782618+-122.402680+37.782510+-122.403220+37.782446+-122.403772+37.782424+-122.404328+37.782424+-122.415708+37.782446+-122.416264+37.782510+-122.416816+37.782618+-122.417356+37.782767+-122.417881+37.782956+-122.418385+37.783183+-122.418863+37.783447+-122.419310+37.783744+-122.419723+37.784071+-122.420097+37.784427+-122.420429+37.784806+-122.420716+37.785206+-122.420954+37.785622+-122.421142+37.786051+-122.421277+37.786489+-122.421359+37.786930+-122.421386%27%29%3B%3E%3B%29%3Bout%3B with timeout=180 279s INFO OSMnx:utils.py:293 Downloaded 0.4kB from 'overpass-api.de' with status 200 279s WARNING OSMnx:utils.py:295 'overpass-api.de' remarked: 'runtime error: Query timed out in "query" at line 1 after 3696 seconds.' 279s INFO OSMnx:utils.py:293 Saved response to cache file '.temp/cache/19b01fb3041ba3c486af088c84e3ae2c50ffb71e.json' 279s INFO OSMnx:utils.py:293 Retrieved all data from API in 1 request(s) 279s ______________________________ test_find_nearest _______________________________ 279s 279s def test_find_nearest(): 279s """Test nearest node/edge searching.""" 279s # get graph and x/y coords to search 279s > G = ox.graph_from_point(location_point, dist=500, network_type="drive", simplify=False) 279s 279s tests/test_osmnx.py:447: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s /usr/lib/python3/dist-packages/osmnx/graph.py:185: in graph_from_point 279s G = graph_from_bbox( 279s /usr/lib/python3/dist-packages/osmnx/graph.py:106: in graph_from_bbox 279s G = graph_from_polygon( 279s /usr/lib/python3/dist-packages/osmnx/graph.py:495: in graph_from_polygon 279s G_buff = _create_graph(response_jsons, retain_all=True, bidirectional=bidirectional) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s response_jsons = 279s retain_all = True, bidirectional = False 279s 279s def _create_graph(response_jsons, retain_all=False, bidirectional=False): 279s """ 279s Create a networkx MultiDiGraph from Overpass API responses. 279s 279s Adds length attributes in meters (great-circle distance between endpoints) 279s to all of the graph's (pre-simplified, straight-line) edges via the 279s `distance.add_edge_lengths` function. 279s 279s Parameters 279s ---------- 279s response_jsons : iterable 279s iterable of dicts of JSON responses from from the Overpass API 279s retain_all : bool 279s if True, return the entire graph even if it is not connected. 279s otherwise, retain only the largest weakly connected component. 279s bidirectional : bool 279s if True, create bi-directional edges for one-way streets 279s 279s Returns 279s ------- 279s G : networkx.MultiDiGraph 279s """ 279s response_count = 0 279s nodes = {} 279s paths = {} 279s 279s # consume response_jsons generator to download data from server 279s for response_json in response_jsons: 279s response_count += 1 279s 279s # if cache_only_mode, consume response_jsons then continue next loop 279s if settings.cache_only_mode: # pragma: no cover 279s continue 279s 279s # otherwise, extract nodes and paths from the downloaded OSM data 279s nodes_temp, paths_temp = _parse_nodes_paths(response_json) 279s nodes.update(nodes_temp) 279s paths.update(paths_temp) 279s 279s utils.log(f"Retrieved all data from API in {response_count} request(s)") 279s if settings.cache_only_mode: # pragma: no cover 279s # after consuming all response_jsons in loop, raise exception to catch 279s msg = "Interrupted because `settings.cache_only_mode=True`" 279s raise CacheOnlyInterruptError(msg) 279s 279s # ensure we got some node/way data back from the server request(s) 279s if (len(nodes) == 0) and (len(paths) == 0): # pragma: no cover 279s msg = "No data elements in server response. Check query location/filters and log." 279s > raise InsufficientResponseError(msg) 279s E osmnx._errors.InsufficientResponseError: No data elements in server response. Check query location/filters and log. 279s 279s /usr/lib/python3/dist-packages/osmnx/graph.py:644: InsufficientResponseError 279s ----------------------------- Captured stdout call ----------------------------- 279s 2024-03-22 12:20:02 Created bbox 500 m from (37.791427, -122.410018): 37.795923601677465,37.78693039832253,-122.40432787612507,-122.41570812387492 279s 2024-03-22 12:20:02 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s 2024-03-22 12:20:02 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s 2024-03-22 12:20:02 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s 2024-03-22 12:20:02 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s 2024-03-22 12:20:02 Requesting data from API in 1 request(s) 279s 2024-03-22 12:20:02 Ignoring cache file '.temp/cache/19b01fb3041ba3c486af088c84e3ae2c50ffb71e.json' because it contains a remark: 'runtime error: Query timed out in "query" at line 1 after 3696 seconds.' 279s 2024-03-22 12:20:02 Pausing 0 second(s) before making HTTP POST request to 'overpass-api.de' 279s 2024-03-22 12:20:02 Post https://overpass-api.de/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A180%5D%5Bdate%3A%222023-04-01T00%3A00%3A00Z%22%5D%3B%28way%5B%22highway%22%5D%5B%22area%22%21~%22yes%22%5D%5B%22access%22%21~%22private%22%5D%5B%22highway%22%21~%22abandoned%7Cbridleway%7Cbus_guideway%7Cconstruction%7Ccorridor%7Ccycleway%7Celevator%7Cescalator%7Cfootway%7Cno%7Cpath%7Cpedestrian%7Cplanned%7Cplatform%7Cproposed%7Craceway%7Crazed%7Cservice%7Csteps%7Ctrack%22%5D%5B%22motor_vehicle%22%21~%22no%22%5D%5B%22motorcar%22%21~%22no%22%5D%5B%22service%22%21~%22alley%7Cdriveway%7Cemergency_access%7Cparking%7Cparking_aisle%7Cprivate%22%5D%28poly%3A%2737.786930+-122.421386+37.795923+-122.421387+37.796365+-122.421360+37.796803+-122.421278+37.797232+-122.421143+37.797648+-122.420955+37.798048+-122.420717+37.798427+-122.420430+37.798782+-122.420098+37.799110+-122.419724+37.799407+-122.419311+37.799670+-122.418864+37.799898+-122.418386+37.800087+-122.417882+37.800236+-122.417357+37.800343+-122.416816+37.800408+-122.416265+37.800430+-122.415708+37.800430+-122.404328+37.800408+-122.403771+37.800343+-122.403220+37.800236+-122.402679+37.800087+-122.402154+37.799898+-122.401650+37.799670+-122.401172+37.799407+-122.400725+37.799110+-122.400312+37.798782+-122.399938+37.798427+-122.399606+37.798048+-122.399319+37.797648+-122.399081+37.797232+-122.398893+37.796803+-122.398758+37.796365+-122.398676+37.795923+-122.398649+37.786930+-122.398650+37.786489+-122.398677+37.786051+-122.398759+37.785622+-122.398894+37.785206+-122.399082+37.784806+-122.399320+37.784427+-122.399607+37.784071+-122.399939+37.783744+-122.400313+37.783447+-122.400726+37.783183+-122.401173+37.782956+-122.401651+37.782767+-122.402155+37.782618+-122.402680+37.782510+-122.403220+37.782446+-122.403772+37.782424+-122.404328+37.782424+-122.415708+37.782446+-122.416264+37.782510+-122.416816+37.782618+-122.417356+37.782767+-122.417881+37.782956+-122.418385+37.783183+-122.418863+37.783447+-122.419310+37.783744+-122.419723+37.784071+-122.420097+37.784427+-122.420429+37.784806+-122.420716+37.785206+-122.420954+37.785622+-122.421142+37.786051+-122.421277+37.786489+-122.421359+37.786930+-122.421386%27%29%3B%3E%3B%29%3Bout%3B with timeout=180 279s 2024-03-22 12:20:03 Downloaded 0.4kB from 'overpass-api.de' with status 200 279s 2024-03-22 12:20:03 'overpass-api.de' remarked: 'runtime error: Query timed out in "query" at line 1 after 3696 seconds.' 279s 2024-03-22 12:20:03 Saved response to cache file '.temp/cache/19b01fb3041ba3c486af088c84e3ae2c50ffb71e.json' 279s 2024-03-22 12:20:03 Retrieved all data from API in 1 request(s) 279s ------------------------------ Captured log call ------------------------------- 279s INFO OSMnx:utils.py:293 Created bbox 500 m from (37.791427, -122.410018): 37.795923601677465,37.78693039832253,-122.40432787612507,-122.41570812387492 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s INFO OSMnx:utils.py:293 Requesting data from API in 1 request(s) 279s INFO OSMnx:utils.py:293 Ignoring cache file '.temp/cache/19b01fb3041ba3c486af088c84e3ae2c50ffb71e.json' because it contains a remark: 'runtime error: Query timed out in "query" at line 1 after 3696 seconds.' 279s INFO OSMnx:utils.py:293 Pausing 0 second(s) before making HTTP POST request to 'overpass-api.de' 279s INFO OSMnx:utils.py:293 Post https://overpass-api.de/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A180%5D%5Bdate%3A%222023-04-01T00%3A00%3A00Z%22%5D%3B%28way%5B%22highway%22%5D%5B%22area%22%21~%22yes%22%5D%5B%22access%22%21~%22private%22%5D%5B%22highway%22%21~%22abandoned%7Cbridleway%7Cbus_guideway%7Cconstruction%7Ccorridor%7Ccycleway%7Celevator%7Cescalator%7Cfootway%7Cno%7Cpath%7Cpedestrian%7Cplanned%7Cplatform%7Cproposed%7Craceway%7Crazed%7Cservice%7Csteps%7Ctrack%22%5D%5B%22motor_vehicle%22%21~%22no%22%5D%5B%22motorcar%22%21~%22no%22%5D%5B%22service%22%21~%22alley%7Cdriveway%7Cemergency_access%7Cparking%7Cparking_aisle%7Cprivate%22%5D%28poly%3A%2737.786930+-122.421386+37.795923+-122.421387+37.796365+-122.421360+37.796803+-122.421278+37.797232+-122.421143+37.797648+-122.420955+37.798048+-122.420717+37.798427+-122.420430+37.798782+-122.420098+37.799110+-122.419724+37.799407+-122.419311+37.799670+-122.418864+37.799898+-122.418386+37.800087+-122.417882+37.800236+-122.417357+37.800343+-122.416816+37.800408+-122.416265+37.800430+-122.415708+37.800430+-122.404328+37.800408+-122.403771+37.800343+-122.403220+37.800236+-122.402679+37.800087+-122.402154+37.799898+-122.401650+37.799670+-122.401172+37.799407+-122.400725+37.799110+-122.400312+37.798782+-122.399938+37.798427+-122.399606+37.798048+-122.399319+37.797648+-122.399081+37.797232+-122.398893+37.796803+-122.398758+37.796365+-122.398676+37.795923+-122.398649+37.786930+-122.398650+37.786489+-122.398677+37.786051+-122.398759+37.785622+-122.398894+37.785206+-122.399082+37.784806+-122.399320+37.784427+-122.399607+37.784071+-122.399939+37.783744+-122.400313+37.783447+-122.400726+37.783183+-122.401173+37.782956+-122.401651+37.782767+-122.402155+37.782618+-122.402680+37.782510+-122.403220+37.782446+-122.403772+37.782424+-122.404328+37.782424+-122.415708+37.782446+-122.416264+37.782510+-122.416816+37.782618+-122.417356+37.782767+-122.417881+37.782956+-122.418385+37.783183+-122.418863+37.783447+-122.419310+37.783744+-122.419723+37.784071+-122.420097+37.784427+-122.420429+37.784806+-122.420716+37.785206+-122.420954+37.785622+-122.421142+37.786051+-122.421277+37.786489+-122.421359+37.786930+-122.421386%27%29%3B%3E%3B%29%3Bout%3B with timeout=180 279s INFO OSMnx:utils.py:293 Downloaded 0.4kB from 'overpass-api.de' with status 200 279s WARNING OSMnx:utils.py:295 'overpass-api.de' remarked: 'runtime error: Query timed out in "query" at line 1 after 3696 seconds.' 279s INFO OSMnx:utils.py:293 Saved response to cache file '.temp/cache/19b01fb3041ba3c486af088c84e3ae2c50ffb71e.json' 279s INFO OSMnx:utils.py:293 Retrieved all data from API in 1 request(s) 279s ______________________________ test_api_endpoints ______________________________ 279s 279s self = , kwargs = {} 279s 279s def json(self, **kwargs): 279s r"""Returns the json-encoded content of a response, if any. 279s 279s :param \*\*kwargs: Optional arguments that ``json.loads`` takes. 279s :raises requests.exceptions.JSONDecodeError: If the response body does not 279s contain valid json. 279s """ 279s 279s if not self.encoding and self.content and len(self.content) > 3: 279s # No encoding set. JSON RFC 4627 section 3 states we should expect 279s # UTF-8, -16 or -32. Detect which one to use; If the detection or 279s # decoding fails, fall back to `self.text` (using charset_normalizer to make 279s # a best guess). 279s encoding = guess_json_utf(self.content) 279s if encoding is not None: 279s try: 279s return complexjson.loads(self.content.decode(encoding), **kwargs) 279s except UnicodeDecodeError: 279s # Wrong UTF codec detected; usually because it's not UTF-8 279s # but some other 8-bit codec. This is an RFC violation, 279s # and the server didn't bother to tell us what codec *was* 279s # used. 279s pass 279s except JSONDecodeError as e: 279s raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) 279s 279s try: 279s > return complexjson.loads(self.text, **kwargs) 279s 279s /usr/lib/python3/dist-packages/requests/models.py:971: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s /usr/lib/python3.12/json/__init__.py:346: in loads 279s return _default_decoder.decode(s) 279s /usr/lib/python3.12/json/decoder.py:337: in decode 279s obj, end = self.raw_decode(s, idx=_w(s, 0).end()) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s self = 279s s = '\n\n raise JSONDecodeError("Expecting value", s, err.value) from None 279s E json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1) 279s 279s /usr/lib/python3.12/json/decoder.py:355: JSONDecodeError 279s 279s During handling of the above exception, another exception occurred: 279s 279s response = 279s 279s def _parse_response(response): 279s """ 279s Parse JSON from a requests response and log the details. 279s 279s Parameters 279s ---------- 279s response : requests.response 279s the response object 279s 279s Returns 279s ------- 279s response_json : dict 279s """ 279s # log the response size and domain 279s domain = _hostname_from_url(response.url) 279s size_kb = len(response.content) / 1000 279s utils.log(f"Downloaded {size_kb:,.1f}kB from {domain!r} with status {response.status_code}") 279s 279s # parse the response to JSON and log/raise exceptions 279s try: 279s > response_json = response.json() 279s 279s /usr/lib/python3/dist-packages/osmnx/_downloader.py:302: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s self = , kwargs = {} 279s 279s def json(self, **kwargs): 279s r"""Returns the json-encoded content of a response, if any. 279s 279s :param \*\*kwargs: Optional arguments that ``json.loads`` takes. 279s :raises requests.exceptions.JSONDecodeError: If the response body does not 279s contain valid json. 279s """ 279s 279s if not self.encoding and self.content and len(self.content) > 3: 279s # No encoding set. JSON RFC 4627 section 3 states we should expect 279s # UTF-8, -16 or -32. Detect which one to use; If the detection or 279s # decoding fails, fall back to `self.text` (using charset_normalizer to make 279s # a best guess). 279s encoding = guess_json_utf(self.content) 279s if encoding is not None: 279s try: 279s return complexjson.loads(self.content.decode(encoding), **kwargs) 279s except UnicodeDecodeError: 279s # Wrong UTF codec detected; usually because it's not UTF-8 279s # but some other 8-bit codec. This is an RFC violation, 279s # and the server didn't bother to tell us what codec *was* 279s # used. 279s pass 279s except JSONDecodeError as e: 279s raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) 279s 279s try: 279s return complexjson.loads(self.text, **kwargs) 279s except JSONDecodeError as e: 279s # Catch JSON-related errors and raise as requests.JSONDecodeError 279s # This aliases json.JSONDecodeError and simplejson.JSONDecodeError 279s > raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) 279s E requests.exceptions.JSONDecodeError: Expecting value: line 2 column 1 (char 1) 279s 279s /usr/lib/python3/dist-packages/requests/models.py:975: JSONDecodeError 279s 279s The above exception was the direct cause of the following exception: 279s 279s def test_api_endpoints(): 279s """Test different API endpoints.""" 279s default_timeout = ox.settings.timeout 279s default_key = ox.settings.nominatim_key 279s default_nominatim_endpoint = ox.settings.nominatim_endpoint 279s default_overpass_endpoint = ox.settings.overpass_endpoint 279s default_overpass_rate_limit = ox.settings.overpass_rate_limit 279s 279s # test good and bad DNS resolution 279s ox.settings.timeout = 1 279s ip = ox._downloader._resolve_host_via_doh("overpass-api.de") 279s ip = ox._downloader._resolve_host_via_doh("AAAAAAAAAAA") 279s _doh_url_template_default = ox.settings.doh_url_template 279s ox.settings.doh_url_template = "http://aaaaaa.hostdoesntexist.org/nothinguseful" 279s ip = ox._downloader._resolve_host_via_doh("overpass-api.de") 279s ox.settings.doh_url_template = None 279s ip = ox._downloader._resolve_host_via_doh("overpass-api.de") 279s ox.settings.doh_url_template = _doh_url_template_default 279s 279s # Test changing the Overpass endpoint. 279s # This should fail because we didn't provide a valid endpoint 279s ox.settings.overpass_rate_limit = False 279s ox.settings.overpass_endpoint = "http://NOT_A_VALID_ENDPOINT/api/" 279s with pytest.raises(ConnectionError, match="Max retries exceeded with url"): 279s > G = ox.graph_from_place(place1, network_type="all") 279s 279s tests/test_osmnx.py:487: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s /usr/lib/python3/dist-packages/osmnx/graph.py:394: in graph_from_place 279s G = graph_from_polygon( 279s /usr/lib/python3/dist-packages/osmnx/graph.py:495: in graph_from_polygon 279s G_buff = _create_graph(response_jsons, retain_all=True, bidirectional=bidirectional) 279s /usr/lib/python3/dist-packages/osmnx/graph.py:623: in _create_graph 279s for response_json in response_jsons: 279s /usr/lib/python3/dist-packages/osmnx/_overpass.py:326: in _download_overpass_network 279s yield _overpass_request(data={"data": query_str}) 279s /usr/lib/python3/dist-packages/osmnx/_overpass.py:412: in _overpass_request 279s response_json = _downloader._parse_response(response) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s response = 279s 279s def _parse_response(response): 279s """ 279s Parse JSON from a requests response and log the details. 279s 279s Parameters 279s ---------- 279s response : requests.response 279s the response object 279s 279s Returns 279s ------- 279s response_json : dict 279s """ 279s # log the response size and domain 279s domain = _hostname_from_url(response.url) 279s size_kb = len(response.content) / 1000 279s utils.log(f"Downloaded {size_kb:,.1f}kB from {domain!r} with status {response.status_code}") 279s 279s # parse the response to JSON and log/raise exceptions 279s try: 279s response_json = response.json() 279s except JSONDecodeError as e: # pragma: no cover 279s msg = f"{domain!r} responded: {response.status_code} {response.reason} {response.text}" 279s utils.log(msg, level=lg.ERROR) 279s if response.ok: 279s raise InsufficientResponseError(msg) from e 279s > raise ResponseStatusCodeError(msg) from e 279s E osmnx._errors.ResponseStatusCodeError: 'not_a_valid_endpoint' responded: 503 Service Unavailable 279s E 279s E 279s E 279s E ERROR: The requested URL could not be retrieved 279s E 279s E 279s E
279s E

ERROR

279s E

The requested URL could not be retrieved

279s E
279s E
279s E 279s E
279s E

The following error was encountered while trying to retrieve the URL: http://not_a_valid_endpoint/api/interpreter

279s E 279s E
279s E

Unable to determine IP address from host name not_a_valid_endpoint

279s E
279s E 279s E

The DNS server returned:

279s E
279s E
Server Failure: The name server was unable to process this query.
279s E
279s E 279s E

This means that the cache was not able to resolve the hostname presented in the URL. Check if the address is correct.

279s E 279s E

Your cache administrator is webmaster.

279s E
279s E
279s E 279s E
279s E 279s E 279s 279s /usr/lib/python3/dist-packages/osmnx/_downloader.py:308: ResponseStatusCodeError 279s ----------------------------- Captured stdout call ----------------------------- 279s 2024-03-22 12:20:04 Failed to resolve 'AAAAAAAAAAA' IP via DoH, requesting host by name 279s 2024-03-22 12:20:05 Failed to resolve 'overpass-api.de' IP via DoH, requesting host by name 279s 2024-03-22 12:20:05 User set `doh_url_template=None`, requesting host by name 279s 2024-03-22 12:20:05 Retrieved response from cache file '.temp/cache/0affc28dccffd2fc83c7531368e4aa3dde23a76c.json' 279s 2024-03-22 12:20:05 Created GeoDataFrame with 1 rows from 1 queries 279s 2024-03-22 12:20:05 Constructed place geometry polygon(s) to query API 279s 2024-03-22 12:20:05 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s 2024-03-22 12:20:05 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s 2024-03-22 12:20:05 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s 2024-03-22 12:20:05 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s 2024-03-22 12:20:05 Requesting data from API in 1 request(s) 279s 2024-03-22 12:20:05 Encountered gaierror while trying to resolve 'NOT_A_VALID_ENDPOINT', trying again via DoH... 279s 2024-03-22 12:20:05 Failed to resolve 'NOT_A_VALID_ENDPOINT' IP via DoH, requesting host by name 279s 2024-03-22 12:20:05 Pausing 0 second(s) before making HTTP POST request to 'NOT_A_VALID_ENDPOINT' 279s 2024-03-22 12:20:05 Post http://not_a_valid_endpoint/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A1%5D%5Bdate%3A%222023-04-01T00%3A00%3A00Z%22%5D%3B%28way%5B%22highway%22%5D%5B%22area%22%21~%22yes%22%5D%5B%22access%22%21~%22private%22%5D%5B%22highway%22%21~%22abandoned%7Cconstruction%7Cno%7Cplanned%7Cplatform%7Cproposed%7Craceway%7Crazed%22%5D%5B%22service%22%21~%22private%22%5D%28poly%3A%2737.823113+-122.255010+37.823199+-122.255027+37.823651+-122.255055+37.824104+-122.255026+37.824552+-122.254940+37.824991+-122.254797+37.825417+-122.254600+37.825824+-122.254350+37.826210+-122.254049+37.826569+-122.253701+37.826799+-122.253455+37.826915+-122.253330+37.827176+-122.253244+37.827377+-122.253178+37.827800+-122.253010+37.828208+-122.252791+37.828597+-122.252523+37.828964+-122.252207+37.829303+-122.251848+37.829613+-122.251448+37.829891+-122.251012+37.830143+-122.250573+37.830803+-122.249429+37.830839+-122.249407+37.831197+-122.249128+37.831286+-122.249052+37.832123+-122.248407+37.832393+-122.248200+37.832408+-122.248188+37.832448+-122.248157+37.832806+-122.247849+37.833139+-122.247498+37.833444+-122.247109+37.833717+-122.246685+37.833957+-122.246229+37.834162+-122.245747+37.834328+-122.245241+37.834455+-122.244718+37.834542+-122.244183+37.834587+-122.243639+37.834589+-122.243372+37.834678+-122.243039+37.834731+-122.242827+37.834764+-122.242685+37.834890+-122.241972+37.834909+-122.241820+37.834955+-122.241306+37.834963+-122.241152+37.834972+-122.240864+37.834984+-122.239854+37.834988+-122.239743+37.835013+-122.239561+37.835040+-122.239289+37.835061+-122.239227+37.835189+-122.238722+37.835278+-122.238205+37.835314+-122.237839+37.835348+-122.237717+37.835448+-122.237227+37.835481+-122.237028+37.835520+-122.236796+37.835555+-122.236603+37.835691+-122.235869+37.835737+-122.235620+37.835738+-122.235611+37.835971+-122.234342+37.836041+-122.233967+37.836454+-122.232630+37.836562+-122.232282+37.836840+-122.231384+37.837223+-122.230148+37.837363+-122.229621+37.837462+-122.229079+37.837518+-122.228527+37.837531+-122.227970+37.837501+-122.227415+37.837429+-122.226866+37.837313+-122.226329+37.837157+-122.225809+37.836961+-122.225310+37.836727+-122.224838+37.836458+-122.224397+37.836321+-122.224194+37.835909+-122.223581+37.835902+-122.223571+37.835860+-122.223509+37.835655+-122.223085+37.835595+-122.222985+37.835586+-122.222968+37.835578+-122.222952+37.835434+-122.222684+37.835429+-122.222676+37.835381+-122.222587+37.835374+-122.222573+37.835322+-122.222478+37.835298+-122.222434+37.835063+-122.221995+37.835055+-122.221980+37.834974+-122.221830+37.834716+-122.221399+37.834427+-122.221000+37.834110+-122.220638+37.833766+-122.220315+37.833400+-122.220035+37.833015+-122.219801+37.832810+-122.219691+37.832272+-122.219402+37.831977+-122.219183+37.831614+-122.218915+37.830654+-122.218095+37.830647+-122.218088+37.830591+-122.218041+37.830515+-122.217976+37.830496+-122.217959+37.830412+-122.217887+37.830144+-122.217659+37.829807+-122.217396+37.829733+-122.217344+37.829631+-122.217281+37.829503+-122.217182+37.829430+-122.217131+37.828987+-122.216860+37.828701+-122.216709+37.828662+-122.216688+37.828379+-122.216543+37.827516+-122.215453+37.827432+-122.215347+37.827198+-122.215051+37.827190+-122.215041+37.827029+-122.214674+37.826870+-122.214305+37.826798+-122.214155+37.826740+-122.214040+37.826711+-122.213957+37.826644+-122.213786+37.826416+-122.213272+37.826146+-122.212791+37.825839+-122.212347+37.825749+-122.212230+37.825389+-122.211810+37.825007+-122.211454+37.825005+-122.211449+37.824892+-122.211240+37.824758+-122.211006+37.824502+-122.210581+37.823733+-122.209301+37.823648+-122.209175+37.823573+-122.209040+37.823492+-122.208894+37.823215+-122.208389+37.823146+-122.208264+37.823031+-122.208047+37.822619+-122.207266+37.822482+-122.207006+37.822225+-122.206566+37.821937+-122.206159+37.821618+-122.205789+37.821273+-122.205460+37.820904+-122.205174+37.820515+-122.204933+37.820110+-122.204741+37.819692+-122.204599+37.819265+-122.204508+37.818833+-122.204469+37.818400+-122.204482+37.817970+-122.204548+37.817547+-122.204666+37.817135+-122.204834+37.816738+-122.205051+37.816359+-122.205316+37.816002+-122.205625+37.815670+-122.205975+37.815367+-122.206365+37.814959+-122.206941+37.814930+-122.206982+37.814675+-122.207349+37.814481+-122.207381+37.814339+-122.207410+37.814177+-122.207447+37.814030+-122.207484+37.813634+-122.207607+37.813500+-122.207657+37.812918+-122.207931+37.812911+-122.207935+37.812827+-122.207984+37.812691+-122.208066+37.812132+-122.208467+37.811978+-122.208597+37.811966+-122.208603+37.811575+-122.208821+37.811483+-122.208879+37.811239+-122.209045+37.811213+-122.209064+37.811191+-122.209080+37.811159+-122.209104+37.811136+-122.209120+37.810777+-122.209410+37.810730+-122.209452+37.810345+-122.209837+37.810210+-122.209988+37.810035+-122.210195+37.809941+-122.210312+37.809922+-122.210337+37.809674+-122.210537+37.809327+-122.210879+37.809009+-122.211262+37.808722+-122.211682+37.808469+-122.212135+37.808252+-122.212618+37.808073+-122.213125+37.807935+-122.213651+37.807838+-122.214192+37.807783+-122.214742+37.807771+-122.215296+37.807802+-122.215849+37.807875+-122.216396+37.807991+-122.216931+37.808147+-122.217449+37.808240+-122.217718+37.808412+-122.218216+37.808499+-122.218428+37.808535+-122.218647+37.808536+-122.218646+37.808586+-122.218943+37.808619+-122.219109+37.808647+-122.219244+37.808740+-122.219662+37.808776+-122.219850+37.809087+-122.221225+37.809106+-122.221298+37.809181+-122.221649+37.809265+-122.221991+37.809318+-122.222187+37.809322+-122.222205+37.809389+-122.222450+37.809446+-122.222678+37.809566+-122.223440+37.809569+-122.223463+37.809617+-122.223762+37.809705+-122.224211+37.809768+-122.224486+37.809957+-122.225311+37.809961+-122.225329+37.810025+-122.225605+37.810110+-122.225936+37.810180+-122.226181+37.810184+-122.226195+37.810396+-122.226930+37.810412+-122.226982+37.810520+-122.227465+37.810522+-122.227472+37.810980+-122.229494+37.811104+-122.230040+37.811143+-122.230250+37.811185+-122.230460+37.811258+-122.230791+37.811688+-122.232912+37.811690+-122.232921+37.811838+-122.233645+37.812030+-122.234375+37.812098+-122.234585+37.812105+-122.234606+37.812310+-122.235233+37.812335+-122.235308+37.812365+-122.235416+37.812513+-122.235963+37.812569+-122.236157+37.812624+-122.236335+37.812672+-122.236504+37.812695+-122.236590+37.812699+-122.236606+37.812766+-122.236853+37.812871+-122.237407+37.812918+-122.237961+37.812919+-122.237980+37.812939+-122.238210+37.813006+-122.238743+37.813113+-122.239267+37.813198+-122.239611+37.813451+-122.240643+37.813454+-122.240655+37.813499+-122.240838+37.813517+-122.240934+37.813670+-122.241713+37.813721+-122.241973+37.813767+-122.242187+37.813858+-122.242584+37.814131+-122.243775+37.814134+-122.243787+37.814226+-122.244185+37.814278+-122.244395+37.814318+-122.244546+37.814438+-122.244999+37.814453+-122.245050+37.814580+-122.245495+37.814634+-122.245662+37.814641+-122.245685+37.814797+-122.246160+37.814803+-122.246192+37.814849+-122.246421+37.814970+-122.246925+37.815128+-122.247413+37.815321+-122.247881+37.815547+-122.248324+37.815805+-122.248739+37.816092+-122.249121+37.816171+-122.249217+37.816316+-122.249386+37.816481+-122.249570+37.816608+-122.249705+37.816727+-122.249828+37.816858+-122.249983+37.816976+-122.250117+37.817113+-122.250268+37.817343+-122.250506+37.817479+-122.250637+37.818026+-122.251088+37.818110+-122.251147+37.818393+-122.251471+37.818403+-122.251482+37.818668+-122.251851+37.819597+-122.253146+37.819902+-122.253532+37.820234+-122.253880+37.820592+-122.254186+37.820972+-122.254447+37.821369+-122.254661+37.821781+-122.254826+37.822203+-122.254941+37.822633+-122.255004+37.823065+-122.255015+37.823113+-122.255010%27%29%3B%3E%3B%29%3Bout%3B with timeout=1 279s 2024-03-22 12:20:05 Downloaded 4.1kB from 'not_a_valid_endpoint' with status 503 279s 2024-03-22 12:20:05 'not_a_valid_endpoint' responded: 503 Service Unavailable 279s 279s 279s 279s ERROR: The requested URL could not be retrieved 279s 279s 279s
279s

ERROR

279s

The requested URL could not be retrieved

279s
279s
279s 279s
279s

The following error was encountered while trying to retrieve the URL: http://not_a_valid_endpoint/api/interpreter

279s 279s
279s

Unable to determine IP address from host name not_a_valid_endpoint

279s
279s 279s

The DNS server returned:

279s
279s
Server Failure: The name server was unable to process this query.
279s
279s 279s

This means that the cache was not able to resolve the hostname presented in the URL. Check if the address is correct.

279s 279s

Your cache administrator is webmaster.

279s
279s
279s 279s
279s 279s 279s 279s ------------------------------ Captured log call ------------------------------- 279s ERROR OSMnx:utils.py:297 Failed to resolve 'AAAAAAAAAAA' IP via DoH, requesting host by name 279s ERROR OSMnx:utils.py:297 Failed to resolve 'overpass-api.de' IP via DoH, requesting host by name 279s WARNING OSMnx:utils.py:295 User set `doh_url_template=None`, requesting host by name 279s INFO OSMnx:utils.py:293 Retrieved response from cache file '.temp/cache/0affc28dccffd2fc83c7531368e4aa3dde23a76c.json' 279s INFO OSMnx:utils.py:293 Created GeoDataFrame with 1 rows from 1 queries 279s INFO OSMnx:utils.py:293 Constructed place geometry polygon(s) to query API 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 279s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 279s INFO OSMnx:utils.py:293 Requesting data from API in 1 request(s) 279s ERROR OSMnx:utils.py:297 Encountered gaierror while trying to resolve 'NOT_A_VALID_ENDPOINT', trying again via DoH... 279s ERROR OSMnx:utils.py:297 Failed to resolve 'NOT_A_VALID_ENDPOINT' IP via DoH, requesting host by name 279s INFO OSMnx:utils.py:293 Pausing 0 second(s) before making HTTP POST request to 'NOT_A_VALID_ENDPOINT' 279s INFO OSMnx:utils.py:293 Post http://not_a_valid_endpoint/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A1%5D%5Bdate%3A%222023-04-01T00%3A00%3A00Z%22%5D%3B%28way%5B%22highway%22%5D%5B%22area%22%21~%22yes%22%5D%5B%22access%22%21~%22private%22%5D%5B%22highway%22%21~%22abandoned%7Cconstruction%7Cno%7Cplanned%7Cplatform%7Cproposed%7Craceway%7Crazed%22%5D%5B%22service%22%21~%22private%22%5D%28poly%3A%2737.823113+-122.255010+37.823199+-122.255027+37.823651+-122.255055+37.824104+-122.255026+37.824552+-122.254940+37.824991+-122.254797+37.825417+-122.254600+37.825824+-122.254350+37.826210+-122.254049+37.826569+-122.253701+37.826799+-122.253455+37.826915+-122.253330+37.827176+-122.253244+37.827377+-122.253178+37.827800+-122.253010+37.828208+-122.252791+37.828597+-122.252523+37.828964+-122.252207+37.829303+-122.251848+37.829613+-122.251448+37.829891+-122.251012+37.830143+-122.250573+37.830803+-122.249429+37.830839+-122.249407+37.831197+-122.249128+37.831286+-122.249052+37.832123+-122.248407+37.832393+-122.248200+37.832408+-122.248188+37.832448+-122.248157+37.832806+-122.247849+37.833139+-122.247498+37.833444+-122.247109+37.833717+-122.246685+37.833957+-122.246229+37.834162+-122.245747+37.834328+-122.245241+37.834455+-122.244718+37.834542+-122.244183+37.834587+-122.243639+37.834589+-122.243372+37.834678+-122.243039+37.834731+-122.242827+37.834764+-122.242685+37.834890+-122.241972+37.834909+-122.241820+37.834955+-122.241306+37.834963+-122.241152+37.834972+-122.240864+37.834984+-122.239854+37.834988+-122.239743+37.835013+-122.239561+37.835040+-122.239289+37.835061+-122.239227+37.835189+-122.238722+37.835278+-122.238205+37.835314+-122.237839+37.835348+-122.237717+37.835448+-122.237227+37.835481+-122.237028+37.835520+-122.236796+37.835555+-122.236603+37.835691+-122.235869+37.835737+-122.235620+37.835738+-122.235611+37.835971+-122.234342+37.836041+-122.233967+37.836454+-122.232630+37.836562+-122.232282+37.836840+-122.231384+37.837223+-122.230148+37.837363+-122.229621+37.837462+-122.229079+37.837518+-122.228527+37.837531+-122.227970+37.837501+-122.227415+37.837429+-122.226866+37.837313+-122.226329+37.837157+-122.225809+37.836961+-122.225310+37.836727+-122.224838+37.836458+-122.224397+37.836321+-122.224194+37.835909+-122.223581+37.835902+-122.223571+37.835860+-122.223509+37.835655+-122.223085+37.835595+-122.222985+37.835586+-122.222968+37.835578+-122.222952+37.835434+-122.222684+37.835429+-122.222676+37.835381+-122.222587+37.835374+-122.222573+37.835322+-122.222478+37.835298+-122.222434+37.835063+-122.221995+37.835055+-122.221980+37.834974+-122.221830+37.834716+-122.221399+37.834427+-122.221000+37.834110+-122.220638+37.833766+-122.220315+37.833400+-122.220035+37.833015+-122.219801+37.832810+-122.219691+37.832272+-122.219402+37.831977+-122.219183+37.831614+-122.218915+37.830654+-122.218095+37.830647+-122.218088+37.830591+-122.218041+37.830515+-122.217976+37.830496+-122.217959+37.830412+-122.217887+37.830144+-122.217659+37.829807+-122.217396+37.829733+-122.217344+37.829631+-122.217281+37.829503+-122.217182+37.829430+-122.217131+37.828987+-122.216860+37.828701+-122.216709+37.828662+-122.216688+37.828379+-122.216543+37.827516+-122.215453+37.827432+-122.215347+37.827198+-122.215051+37.827190+-122.215041+37.827029+-122.214674+37.826870+-122.214305+37.826798+-122.214155+37.826740+-122.214040+37.826711+-122.213957+37.826644+-122.213786+37.826416+-122.213272+37.826146+-122.212791+37.825839+-122.212347+37.825749+-122.212230+37.825389+-122.211810+37.825007+-122.211454+37.825005+-122.211449+37.824892+-122.211240+37.824758+-122.211006+37.824502+-122.210581+37.823733+-122.209301+37.823648+-122.209175+37.823573+-122.209040+37.823492+-122.208894+37.823215+-122.208389+37.823146+-122.208264+37.823031+-122.208047+37.822619+-122.207266+37.822482+-122.207006+37.822225+-122.206566+37.821937+-122.206159+37.821618+-122.205789+37.821273+-122.205460+37.820904+-122.205174+37.820515+-122.204933+37.820110+-122.204741+37.819692+-122.204599+37.819265+-122.204508+37.818833+-122.204469+37.818400+-122.204482+37.817970+-122.204548+37.817547+-122.204666+37.817135+-122.204834+37.816738+-122.205051+37.816359+-122.205316+37.816002+-122.205625+37.815670+-122.205975+37.815367+-122.206365+37.814959+-122.206941+37.814930+-122.206982+37.814675+-122.207349+37.814481+-122.207381+37.814339+-122.207410+37.814177+-122.207447+37.814030+-122.207484+37.813634+-122.207607+37.813500+-122.207657+37.812918+-122.207931+37.812911+-122.207935+37.812827+-122.207984+37.812691+-122.208066+37.812132+-122.208467+37.811978+-122.208597+37.811966+-122.208603+37.811575+-122.208821+37.811483+-122.208879+37.811239+-122.209045+37.811213+-122.209064+37.811191+-122.209080+37.811159+-122.209104+37.811136+-122.209120+37.810777+-122.209410+37.810730+-122.209452+37.810345+-122.209837+37.810210+-122.209988+37.810035+-122.210195+37.809941+-122.210312+37.809922+-122.210337+37.809674+-122.210537+37.809327+-122.210879+37.809009+-122.211262+37.808722+-122.211682+37.808469+-122.212135+37.808252+-122.212618+37.808073+-122.213125+37.807935+-122.213651+37.807838+-122.214192+37.807783+-122.214742+37.807771+-122.215296+37.807802+-122.215849+37.807875+-122.216396+37.807991+-122.216931+37.808147+-122.217449+37.808240+-122.217718+37.808412+-122.218216+37.808499+-122.218428+37.808535+-122.218647+37.808536+-122.218646+37.808586+-122.218943+37.808619+-122.219109+37.808647+-122.219244+37.808740+-122.219662+37.808776+-122.219850+37.809087+-122.221225+37.809106+-122.221298+37.809181+-122.221649+37.809265+-122.221991+37.809318+-122.222187+37.809322+-122.222205+37.809389+-122.222450+37.809446+-122.222678+37.809566+-122.223440+37.809569+-122.223463+37.809617+-122.223762+37.809705+-122.224211+37.809768+-122.224486+37.809957+-122.225311+37.809961+-122.225329+37.810025+-122.225605+37.810110+-122.225936+37.810180+-122.226181+37.810184+-122.226195+37.810396+-122.226930+37.810412+-122.226982+37.810520+-122.227465+37.810522+-122.227472+37.810980+-122.229494+37.811104+-122.230040+37.811143+-122.230250+37.811185+-122.230460+37.811258+-122.230791+37.811688+-122.232912+37.811690+-122.232921+37.811838+-122.233645+37.812030+-122.234375+37.812098+-122.234585+37.812105+-122.234606+37.812310+-122.235233+37.812335+-122.235308+37.812365+-122.235416+37.812513+-122.235963+37.812569+-122.236157+37.812624+-122.236335+37.812672+-122.236504+37.812695+-122.236590+37.812699+-122.236606+37.812766+-122.236853+37.812871+-122.237407+37.812918+-122.237961+37.812919+-122.237980+37.812939+-122.238210+37.813006+-122.238743+37.813113+-122.239267+37.813198+-122.239611+37.813451+-122.240643+37.813454+-122.240655+37.813499+-122.240838+37.813517+-122.240934+37.813670+-122.241713+37.813721+-122.241973+37.813767+-122.242187+37.813858+-122.242584+37.814131+-122.243775+37.814134+-122.243787+37.814226+-122.244185+37.814278+-122.244395+37.814318+-122.244546+37.814438+-122.244999+37.814453+-122.245050+37.814580+-122.245495+37.814634+-122.245662+37.814641+-122.245685+37.814797+-122.246160+37.814803+-122.246192+37.814849+-122.246421+37.814970+-122.246925+37.815128+-122.247413+37.815321+-122.247881+37.815547+-122.248324+37.815805+-122.248739+37.816092+-122.249121+37.816171+-122.249217+37.816316+-122.249386+37.816481+-122.249570+37.816608+-122.249705+37.816727+-122.249828+37.816858+-122.249983+37.816976+-122.250117+37.817113+-122.250268+37.817343+-122.250506+37.817479+-122.250637+37.818026+-122.251088+37.818110+-122.251147+37.818393+-122.251471+37.818403+-122.251482+37.818668+-122.251851+37.819597+-122.253146+37.819902+-122.253532+37.820234+-122.253880+37.820592+-122.254186+37.820972+-122.254447+37.821369+-122.254661+37.821781+-122.254826+37.822203+-122.254941+37.822633+-122.255004+37.823065+-122.255015+37.823113+-122.255010%27%29%3B%3E%3B%29%3Bout%3B with timeout=1 279s INFO OSMnx:utils.py:293 Downloaded 4.1kB from 'not_a_valid_endpoint' with status 503 279s ERROR OSMnx:utils.py:297 'not_a_valid_endpoint' responded: 503 Service Unavailable 279s 279s 279s 279s ERROR: The requested URL could not be retrieved 279s 279s 279s
279s

ERROR

279s

The requested URL could not be retrieved

279s
279s
279s 279s
279s

The following error was encountered while trying to retrieve the URL: http://not_a_valid_endpoint/api/interpreter

279s 279s
279s

Unable to determine IP address from host name not_a_valid_endpoint

279s
279s 279s

The DNS server returned:

279s
279s
Server Failure: The name server was unable to process this query.
279s
279s 279s

This means that the cache was not able to resolve the hostname presented in the URL. Check if the address is correct.

279s 279s

Your cache administrator is webmaster.

279s
279s
279s 279s
279s 279s 279s _____________________________ test_graph_save_load _____________________________ 279s 279s self = , kwargs = {} 279s 279s def json(self, **kwargs): 279s r"""Returns the json-encoded content of a response, if any. 279s 279s :param \*\*kwargs: Optional arguments that ``json.loads`` takes. 279s :raises requests.exceptions.JSONDecodeError: If the response body does not 279s contain valid json. 279s """ 279s 279s if not self.encoding and self.content and len(self.content) > 3: 279s # No encoding set. JSON RFC 4627 section 3 states we should expect 279s # UTF-8, -16 or -32. Detect which one to use; If the detection or 279s # decoding fails, fall back to `self.text` (using charset_normalizer to make 279s # a best guess). 279s encoding = guess_json_utf(self.content) 279s if encoding is not None: 279s try: 279s return complexjson.loads(self.content.decode(encoding), **kwargs) 279s except UnicodeDecodeError: 279s # Wrong UTF codec detected; usually because it's not UTF-8 279s # but some other 8-bit codec. This is an RFC violation, 279s # and the server didn't bother to tell us what codec *was* 279s # used. 279s pass 279s except JSONDecodeError as e: 279s raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) 279s 279s try: 279s > return complexjson.loads(self.text, **kwargs) 279s 279s /usr/lib/python3/dist-packages/requests/models.py:971: 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s /usr/lib/python3.12/json/__init__.py:346: in loads 279s return _default_decoder.decode(s) 279s /usr/lib/python3.12/json/decoder.py:337: in decode 279s obj, end = self.raw_decode(s, idx=_w(s, 0).end()) 279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 279s 279s self = 279s s = '\n\n raise JSONDecodeError("Expecting value", s, err.value) from None 279s E json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1) 279s 279s /usr/lib/python3.12/json/decoder.py:355: JSONDecodeError 279s 279s During handling of the above exception, another exception occurred: 279s 279s response = 279s 279s def _parse_response(response): 279s """ 279s Parse JSON from a requests response and log the details. 279s 279s Parameters 279s ---------- 280s response : requests.response 280s the response object 280s 280s Returns 280s ------- 280s response_json : dict 280s """ 280s # log the response size and domain 280s domain = _hostname_from_url(response.url) 280s size_kb = len(response.content) / 1000 280s utils.log(f"Downloaded {size_kb:,.1f}kB from {domain!r} with status {response.status_code}") 280s 280s # parse the response to JSON and log/raise exceptions 280s try: 280s > response_json = response.json() 280s 280s /usr/lib/python3/dist-packages/osmnx/_downloader.py:302: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s self = , kwargs = {} 280s 280s def json(self, **kwargs): 280s r"""Returns the json-encoded content of a response, if any. 280s 280s :param \*\*kwargs: Optional arguments that ``json.loads`` takes. 280s :raises requests.exceptions.JSONDecodeError: If the response body does not 280s contain valid json. 280s """ 280s 280s if not self.encoding and self.content and len(self.content) > 3: 280s # No encoding set. JSON RFC 4627 section 3 states we should expect 280s # UTF-8, -16 or -32. Detect which one to use; If the detection or 280s # decoding fails, fall back to `self.text` (using charset_normalizer to make 280s # a best guess). 280s encoding = guess_json_utf(self.content) 280s if encoding is not None: 280s try: 280s return complexjson.loads(self.content.decode(encoding), **kwargs) 280s except UnicodeDecodeError: 280s # Wrong UTF codec detected; usually because it's not UTF-8 280s # but some other 8-bit codec. This is an RFC violation, 280s # and the server didn't bother to tell us what codec *was* 280s # used. 280s pass 280s except JSONDecodeError as e: 280s raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) 280s 280s try: 280s return complexjson.loads(self.text, **kwargs) 280s except JSONDecodeError as e: 280s # Catch JSON-related errors and raise as requests.JSONDecodeError 280s # This aliases json.JSONDecodeError and simplejson.JSONDecodeError 280s > raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) 280s E requests.exceptions.JSONDecodeError: Expecting value: line 2 column 1 (char 1) 280s 280s /usr/lib/python3/dist-packages/requests/models.py:975: JSONDecodeError 280s 280s The above exception was the direct cause of the following exception: 280s 280s def test_graph_save_load(): 280s """Test saving/loading graphs to/from disk.""" 280s fp = Path(ox.settings.data_folder) / "graph.graphml" 280s 280s # save graph as shapefile and geopackage 280s > G = ox.graph_from_point(location_point, dist=500, network_type="drive") 280s 280s tests/test_osmnx.py:530: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /usr/lib/python3/dist-packages/osmnx/graph.py:185: in graph_from_point 280s G = graph_from_bbox( 280s /usr/lib/python3/dist-packages/osmnx/graph.py:106: in graph_from_bbox 280s G = graph_from_polygon( 280s /usr/lib/python3/dist-packages/osmnx/graph.py:495: in graph_from_polygon 280s G_buff = _create_graph(response_jsons, retain_all=True, bidirectional=bidirectional) 280s /usr/lib/python3/dist-packages/osmnx/graph.py:623: in _create_graph 280s for response_json in response_jsons: 280s /usr/lib/python3/dist-packages/osmnx/_overpass.py:326: in _download_overpass_network 280s yield _overpass_request(data={"data": query_str}) 280s /usr/lib/python3/dist-packages/osmnx/_overpass.py:412: in _overpass_request 280s response_json = _downloader._parse_response(response) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s response = 280s 280s def _parse_response(response): 280s """ 280s Parse JSON from a requests response and log the details. 280s 280s Parameters 280s ---------- 280s response : requests.response 280s the response object 280s 280s Returns 280s ------- 280s response_json : dict 280s """ 280s # log the response size and domain 280s domain = _hostname_from_url(response.url) 280s size_kb = len(response.content) / 1000 280s utils.log(f"Downloaded {size_kb:,.1f}kB from {domain!r} with status {response.status_code}") 280s 280s # parse the response to JSON and log/raise exceptions 280s try: 280s response_json = response.json() 280s except JSONDecodeError as e: # pragma: no cover 280s msg = f"{domain!r} responded: {response.status_code} {response.reason} {response.text}" 280s utils.log(msg, level=lg.ERROR) 280s if response.ok: 280s raise InsufficientResponseError(msg) from e 280s > raise ResponseStatusCodeError(msg) from e 280s E osmnx._errors.ResponseStatusCodeError: 'not_a_valid_endpoint' responded: 503 Service Unavailable 280s E 280s E 280s E 280s E ERROR: The requested URL could not be retrieved 280s E 280s E 280s E
280s E

ERROR

280s E

The requested URL could not be retrieved

280s E
280s E
280s E 280s E
280s E

The following error was encountered while trying to retrieve the URL: http://not_a_valid_endpoint/api/interpreter

280s E 280s E
280s E

Unable to determine IP address from host name not_a_valid_endpoint

280s E
280s E 280s E

The DNS server returned:

280s E
280s E
Server Failure: The name server was unable to process this query.
280s E
280s E 280s E

This means that the cache was not able to resolve the hostname presented in the URL. Check if the address is correct.

280s E 280s E

Your cache administrator is webmaster.

280s E
280s E
280s E 280s E
280s E 280s E 280s 280s /usr/lib/python3/dist-packages/osmnx/_downloader.py:308: ResponseStatusCodeError 280s ----------------------------- Captured stdout call ----------------------------- 280s 2024-03-22 12:20:06 Created bbox 500 m from (37.791427, -122.410018): 37.795923601677465,37.78693039832253,-122.40432787612507,-122.41570812387492 280s 2024-03-22 12:20:06 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 280s 2024-03-22 12:20:06 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 280s 2024-03-22 12:20:06 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 280s 2024-03-22 12:20:06 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 280s 2024-03-22 12:20:06 Requesting data from API in 1 request(s) 280s 2024-03-22 12:20:06 Encountered gaierror while trying to resolve 'NOT_A_VALID_ENDPOINT', trying again via DoH... 280s 2024-03-22 12:20:06 Failed to resolve 'NOT_A_VALID_ENDPOINT' IP via DoH, requesting host by name 280s 2024-03-22 12:20:06 Pausing 0 second(s) before making HTTP POST request to 'NOT_A_VALID_ENDPOINT' 280s 2024-03-22 12:20:06 Post http://not_a_valid_endpoint/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A1%5D%5Bdate%3A%222023-04-01T00%3A00%3A00Z%22%5D%3B%28way%5B%22highway%22%5D%5B%22area%22%21~%22yes%22%5D%5B%22access%22%21~%22private%22%5D%5B%22highway%22%21~%22abandoned%7Cbridleway%7Cbus_guideway%7Cconstruction%7Ccorridor%7Ccycleway%7Celevator%7Cescalator%7Cfootway%7Cno%7Cpath%7Cpedestrian%7Cplanned%7Cplatform%7Cproposed%7Craceway%7Crazed%7Cservice%7Csteps%7Ctrack%22%5D%5B%22motor_vehicle%22%21~%22no%22%5D%5B%22motorcar%22%21~%22no%22%5D%5B%22service%22%21~%22alley%7Cdriveway%7Cemergency_access%7Cparking%7Cparking_aisle%7Cprivate%22%5D%28poly%3A%2737.786930+-122.421386+37.795923+-122.421387+37.796365+-122.421360+37.796803+-122.421278+37.797232+-122.421143+37.797648+-122.420955+37.798048+-122.420717+37.798427+-122.420430+37.798782+-122.420098+37.799110+-122.419724+37.799407+-122.419311+37.799670+-122.418864+37.799898+-122.418386+37.800087+-122.417882+37.800236+-122.417357+37.800343+-122.416816+37.800408+-122.416265+37.800430+-122.415708+37.800430+-122.404328+37.800408+-122.403771+37.800343+-122.403220+37.800236+-122.402679+37.800087+-122.402154+37.799898+-122.401650+37.799670+-122.401172+37.799407+-122.400725+37.799110+-122.400312+37.798782+-122.399938+37.798427+-122.399606+37.798048+-122.399319+37.797648+-122.399081+37.797232+-122.398893+37.796803+-122.398758+37.796365+-122.398676+37.795923+-122.398649+37.786930+-122.398650+37.786489+-122.398677+37.786051+-122.398759+37.785622+-122.398894+37.785206+-122.399082+37.784806+-122.399320+37.784427+-122.399607+37.784071+-122.399939+37.783744+-122.400313+37.783447+-122.400726+37.783183+-122.401173+37.782956+-122.401651+37.782767+-122.402155+37.782618+-122.402680+37.782510+-122.403220+37.782446+-122.403772+37.782424+-122.404328+37.782424+-122.415708+37.782446+-122.416264+37.782510+-122.416816+37.782618+-122.417356+37.782767+-122.417881+37.782956+-122.418385+37.783183+-122.418863+37.783447+-122.419310+37.783744+-122.419723+37.784071+-122.420097+37.784427+-122.420429+37.784806+-122.420716+37.785206+-122.420954+37.785622+-122.421142+37.786051+-122.421277+37.786489+-122.421359+37.786930+-122.421386%27%29%3B%3E%3B%29%3Bout%3B with timeout=1 280s 2024-03-22 12:20:06 Downloaded 4.1kB from 'not_a_valid_endpoint' with status 503 280s 2024-03-22 12:20:06 'not_a_valid_endpoint' responded: 503 Service Unavailable 280s 280s 280s 280s ERROR: The requested URL could not be retrieved 280s 280s 280s
280s

ERROR

280s

The requested URL could not be retrieved

280s
280s
280s 280s
280s

The following error was encountered while trying to retrieve the URL: http://not_a_valid_endpoint/api/interpreter

280s 280s
280s

Unable to determine IP address from host name not_a_valid_endpoint

280s
280s 280s

The DNS server returned:

280s
280s
Server Failure: The name server was unable to process this query.
280s
280s 280s

This means that the cache was not able to resolve the hostname presented in the URL. Check if the address is correct.

280s 280s

Your cache administrator is webmaster.

280s
280s
280s 280s
280s 280s 280s 280s ------------------------------ Captured log call ------------------------------- 280s INFO OSMnx:utils.py:293 Created bbox 500 m from (37.791427, -122.410018): 37.795923601677465,37.78693039832253,-122.40432787612507,-122.41570812387492 280s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 280s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 280s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 280s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 280s INFO OSMnx:utils.py:293 Requesting data from API in 1 request(s) 280s ERROR OSMnx:utils.py:297 Encountered gaierror while trying to resolve 'NOT_A_VALID_ENDPOINT', trying again via DoH... 280s ERROR OSMnx:utils.py:297 Failed to resolve 'NOT_A_VALID_ENDPOINT' IP via DoH, requesting host by name 280s INFO OSMnx:utils.py:293 Pausing 0 second(s) before making HTTP POST request to 'NOT_A_VALID_ENDPOINT' 280s INFO OSMnx:utils.py:293 Post http://not_a_valid_endpoint/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A1%5D%5Bdate%3A%222023-04-01T00%3A00%3A00Z%22%5D%3B%28way%5B%22highway%22%5D%5B%22area%22%21~%22yes%22%5D%5B%22access%22%21~%22private%22%5D%5B%22highway%22%21~%22abandoned%7Cbridleway%7Cbus_guideway%7Cconstruction%7Ccorridor%7Ccycleway%7Celevator%7Cescalator%7Cfootway%7Cno%7Cpath%7Cpedestrian%7Cplanned%7Cplatform%7Cproposed%7Craceway%7Crazed%7Cservice%7Csteps%7Ctrack%22%5D%5B%22motor_vehicle%22%21~%22no%22%5D%5B%22motorcar%22%21~%22no%22%5D%5B%22service%22%21~%22alley%7Cdriveway%7Cemergency_access%7Cparking%7Cparking_aisle%7Cprivate%22%5D%28poly%3A%2737.786930+-122.421386+37.795923+-122.421387+37.796365+-122.421360+37.796803+-122.421278+37.797232+-122.421143+37.797648+-122.420955+37.798048+-122.420717+37.798427+-122.420430+37.798782+-122.420098+37.799110+-122.419724+37.799407+-122.419311+37.799670+-122.418864+37.799898+-122.418386+37.800087+-122.417882+37.800236+-122.417357+37.800343+-122.416816+37.800408+-122.416265+37.800430+-122.415708+37.800430+-122.404328+37.800408+-122.403771+37.800343+-122.403220+37.800236+-122.402679+37.800087+-122.402154+37.799898+-122.401650+37.799670+-122.401172+37.799407+-122.400725+37.799110+-122.400312+37.798782+-122.399938+37.798427+-122.399606+37.798048+-122.399319+37.797648+-122.399081+37.797232+-122.398893+37.796803+-122.398758+37.796365+-122.398676+37.795923+-122.398649+37.786930+-122.398650+37.786489+-122.398677+37.786051+-122.398759+37.785622+-122.398894+37.785206+-122.399082+37.784806+-122.399320+37.784427+-122.399607+37.784071+-122.399939+37.783744+-122.400313+37.783447+-122.400726+37.783183+-122.401173+37.782956+-122.401651+37.782767+-122.402155+37.782618+-122.402680+37.782510+-122.403220+37.782446+-122.403772+37.782424+-122.404328+37.782424+-122.415708+37.782446+-122.416264+37.782510+-122.416816+37.782618+-122.417356+37.782767+-122.417881+37.782956+-122.418385+37.783183+-122.418863+37.783447+-122.419310+37.783744+-122.419723+37.784071+-122.420097+37.784427+-122.420429+37.784806+-122.420716+37.785206+-122.420954+37.785622+-122.421142+37.786051+-122.421277+37.786489+-122.421359+37.786930+-122.421386%27%29%3B%3E%3B%29%3Bout%3B with timeout=1 280s INFO OSMnx:utils.py:293 Downloaded 4.1kB from 'not_a_valid_endpoint' with status 503 280s ERROR OSMnx:utils.py:297 'not_a_valid_endpoint' responded: 503 Service Unavailable 280s 280s 280s 280s ERROR: The requested URL could not be retrieved 280s 280s 280s
280s

ERROR

280s

The requested URL could not be retrieved

280s
280s
280s 280s
280s

The following error was encountered while trying to retrieve the URL: http://not_a_valid_endpoint/api/interpreter

280s 280s
280s

Unable to determine IP address from host name not_a_valid_endpoint

280s
280s 280s

The DNS server returned:

280s
280s
Server Failure: The name server was unable to process this query.
280s
280s 280s

This means that the cache was not able to resolve the hostname presented in the URL. Check if the address is correct.

280s 280s

Your cache administrator is webmaster.

280s
280s
280s 280s
280s 280s 280s __________________________ test_graph_from_functions ___________________________ 280s 280s self = , kwargs = {} 280s 280s def json(self, **kwargs): 280s r"""Returns the json-encoded content of a response, if any. 280s 280s :param \*\*kwargs: Optional arguments that ``json.loads`` takes. 280s :raises requests.exceptions.JSONDecodeError: If the response body does not 280s contain valid json. 280s """ 280s 280s if not self.encoding and self.content and len(self.content) > 3: 280s # No encoding set. JSON RFC 4627 section 3 states we should expect 280s # UTF-8, -16 or -32. Detect which one to use; If the detection or 280s # decoding fails, fall back to `self.text` (using charset_normalizer to make 280s # a best guess). 280s encoding = guess_json_utf(self.content) 280s if encoding is not None: 280s try: 280s return complexjson.loads(self.content.decode(encoding), **kwargs) 280s except UnicodeDecodeError: 280s # Wrong UTF codec detected; usually because it's not UTF-8 280s # but some other 8-bit codec. This is an RFC violation, 280s # and the server didn't bother to tell us what codec *was* 280s # used. 280s pass 280s except JSONDecodeError as e: 280s raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) 280s 280s try: 280s > return complexjson.loads(self.text, **kwargs) 280s 280s /usr/lib/python3/dist-packages/requests/models.py:971: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /usr/lib/python3.12/json/__init__.py:346: in loads 280s return _default_decoder.decode(s) 280s /usr/lib/python3.12/json/decoder.py:337: in decode 280s obj, end = self.raw_decode(s, idx=_w(s, 0).end()) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s self = 280s s = '\n\n raise JSONDecodeError("Expecting value", s, err.value) from None 280s E json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1) 280s 280s /usr/lib/python3.12/json/decoder.py:355: JSONDecodeError 280s 280s During handling of the above exception, another exception occurred: 280s 280s response = 280s 280s def _parse_response(response): 280s """ 280s Parse JSON from a requests response and log the details. 280s 280s Parameters 280s ---------- 280s response : requests.response 280s the response object 280s 280s Returns 280s ------- 280s response_json : dict 280s """ 280s # log the response size and domain 280s domain = _hostname_from_url(response.url) 280s size_kb = len(response.content) / 1000 280s utils.log(f"Downloaded {size_kb:,.1f}kB from {domain!r} with status {response.status_code}") 280s 280s # parse the response to JSON and log/raise exceptions 280s try: 280s > response_json = response.json() 280s 280s /usr/lib/python3/dist-packages/osmnx/_downloader.py:302: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s self = , kwargs = {} 280s 280s def json(self, **kwargs): 280s r"""Returns the json-encoded content of a response, if any. 280s 280s :param \*\*kwargs: Optional arguments that ``json.loads`` takes. 280s :raises requests.exceptions.JSONDecodeError: If the response body does not 280s contain valid json. 280s """ 280s 280s if not self.encoding and self.content and len(self.content) > 3: 280s # No encoding set. JSON RFC 4627 section 3 states we should expect 280s # UTF-8, -16 or -32. Detect which one to use; If the detection or 280s # decoding fails, fall back to `self.text` (using charset_normalizer to make 280s # a best guess). 280s encoding = guess_json_utf(self.content) 280s if encoding is not None: 280s try: 280s return complexjson.loads(self.content.decode(encoding), **kwargs) 280s except UnicodeDecodeError: 280s # Wrong UTF codec detected; usually because it's not UTF-8 280s # but some other 8-bit codec. This is an RFC violation, 280s # and the server didn't bother to tell us what codec *was* 280s # used. 280s pass 280s except JSONDecodeError as e: 280s raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) 280s 280s try: 280s return complexjson.loads(self.text, **kwargs) 280s except JSONDecodeError as e: 280s # Catch JSON-related errors and raise as requests.JSONDecodeError 280s # This aliases json.JSONDecodeError and simplejson.JSONDecodeError 280s > raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) 280s E requests.exceptions.JSONDecodeError: Expecting value: line 2 column 1 (char 1) 280s 280s /usr/lib/python3/dist-packages/requests/models.py:975: JSONDecodeError 280s 280s The above exception was the direct cause of the following exception: 280s 280s def test_graph_from_functions(): 280s """Test downloading graphs from Overpass.""" 280s # test subdividing a large geometry (raises a UserWarning) 280s bbox = ox.utils_geo.bbox_from_point((0, 0), dist=1e5, project_utm=True) 280s poly = ox.utils_geo.bbox_to_poly(*bbox) 280s _ = ox.utils_geo._consolidate_subdivide_geometry(poly) 280s 280s # graph from bounding box 280s _ = ox.utils_geo.bbox_from_point(location_point, project_utm=True, return_crs=True) 280s north, south, east, west = ox.utils_geo.bbox_from_point(location_point, dist=500) 280s > G = ox.graph_from_bbox(north, south, east, west, network_type="drive") 280s 280s tests/test_osmnx.py:626: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /usr/lib/python3/dist-packages/osmnx/graph.py:106: in graph_from_bbox 280s G = graph_from_polygon( 280s /usr/lib/python3/dist-packages/osmnx/graph.py:495: in graph_from_polygon 280s G_buff = _create_graph(response_jsons, retain_all=True, bidirectional=bidirectional) 280s /usr/lib/python3/dist-packages/osmnx/graph.py:623: in _create_graph 280s for response_json in response_jsons: 280s /usr/lib/python3/dist-packages/osmnx/_overpass.py:326: in _download_overpass_network 280s yield _overpass_request(data={"data": query_str}) 280s /usr/lib/python3/dist-packages/osmnx/_overpass.py:412: in _overpass_request 280s response_json = _downloader._parse_response(response) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s response = 280s 280s def _parse_response(response): 280s """ 280s Parse JSON from a requests response and log the details. 280s 280s Parameters 280s ---------- 280s response : requests.response 280s the response object 280s 280s Returns 280s ------- 280s response_json : dict 280s """ 280s # log the response size and domain 280s domain = _hostname_from_url(response.url) 280s size_kb = len(response.content) / 1000 280s utils.log(f"Downloaded {size_kb:,.1f}kB from {domain!r} with status {response.status_code}") 280s 280s # parse the response to JSON and log/raise exceptions 280s try: 280s response_json = response.json() 280s except JSONDecodeError as e: # pragma: no cover 280s msg = f"{domain!r} responded: {response.status_code} {response.reason} {response.text}" 280s utils.log(msg, level=lg.ERROR) 280s if response.ok: 280s raise InsufficientResponseError(msg) from e 280s > raise ResponseStatusCodeError(msg) from e 280s E osmnx._errors.ResponseStatusCodeError: 'not_a_valid_endpoint' responded: 503 Service Unavailable 280s E 280s E 280s E 280s E ERROR: The requested URL could not be retrieved 280s E 280s E 280s E
280s E

ERROR

280s E

The requested URL could not be retrieved

280s E
280s E
280s E 280s E
280s E

The following error was encountered while trying to retrieve the URL: http://not_a_valid_endpoint/api/interpreter

280s E 280s E
280s E

Unable to determine IP address from host name not_a_valid_endpoint

280s E
280s E 280s E

The DNS server returned:

280s E
280s E
Server Failure: The name server was unable to process this query.
280s E
280s E 280s E

This means that the cache was not able to resolve the hostname presented in the URL. Check if the address is correct.

280s E 280s E

Your cache administrator is webmaster.

280s E
280s E
280s E 280s E
280s E 280s E 280s 280s /usr/lib/python3/dist-packages/osmnx/_downloader.py:308: ResponseStatusCodeError 280s ----------------------------- Captured stdout call ----------------------------- 280s 2024-03-22 12:20:07 Projected GeoDataFrame to 'EPSG:32630 / WGS 84 / UTM zone 30N' 280s 2024-03-22 12:20:07 Created bbox 100000.0 m from (0, 0): 99634.16275465194,-99634.16275465194,934181.0214463086,733777.1588406297 280s 2024-03-22 12:20:07 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 280s 2024-03-22 12:20:07 Created bbox 1000 m from (37.791427, -122.410018): 4183841.891067328,4181833.6606157618,552953.845967123,550937.2696317866 280s 2024-03-22 12:20:07 Created bbox 500 m from (37.791427, -122.410018): 37.795923601677465,37.78693039832253,-122.40432787612507,-122.41570812387492 280s 2024-03-22 12:20:07 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 280s 2024-03-22 12:20:07 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 280s 2024-03-22 12:20:07 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 280s 2024-03-22 12:20:07 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 280s 2024-03-22 12:20:07 Requesting data from API in 1 request(s) 280s 2024-03-22 12:20:07 Encountered gaierror while trying to resolve 'NOT_A_VALID_ENDPOINT', trying again via DoH... 280s 2024-03-22 12:20:07 Failed to resolve 'NOT_A_VALID_ENDPOINT' IP via DoH, requesting host by name 280s 2024-03-22 12:20:07 Pausing 0 second(s) before making HTTP POST request to 'NOT_A_VALID_ENDPOINT' 280s 2024-03-22 12:20:07 Post http://not_a_valid_endpoint/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A1%5D%5Bdate%3A%222023-04-01T00%3A00%3A00Z%22%5D%3B%28way%5B%22highway%22%5D%5B%22area%22%21~%22yes%22%5D%5B%22access%22%21~%22private%22%5D%5B%22highway%22%21~%22abandoned%7Cbridleway%7Cbus_guideway%7Cconstruction%7Ccorridor%7Ccycleway%7Celevator%7Cescalator%7Cfootway%7Cno%7Cpath%7Cpedestrian%7Cplanned%7Cplatform%7Cproposed%7Craceway%7Crazed%7Cservice%7Csteps%7Ctrack%22%5D%5B%22motor_vehicle%22%21~%22no%22%5D%5B%22motorcar%22%21~%22no%22%5D%5B%22service%22%21~%22alley%7Cdriveway%7Cemergency_access%7Cparking%7Cparking_aisle%7Cprivate%22%5D%28poly%3A%2737.786930+-122.421386+37.795923+-122.421387+37.796365+-122.421360+37.796803+-122.421278+37.797232+-122.421143+37.797648+-122.420955+37.798048+-122.420717+37.798427+-122.420430+37.798782+-122.420098+37.799110+-122.419724+37.799407+-122.419311+37.799670+-122.418864+37.799898+-122.418386+37.800087+-122.417882+37.800236+-122.417357+37.800343+-122.416816+37.800408+-122.416265+37.800430+-122.415708+37.800430+-122.404328+37.800408+-122.403771+37.800343+-122.403220+37.800236+-122.402679+37.800087+-122.402154+37.799898+-122.401650+37.799670+-122.401172+37.799407+-122.400725+37.799110+-122.400312+37.798782+-122.399938+37.798427+-122.399606+37.798048+-122.399319+37.797648+-122.399081+37.797232+-122.398893+37.796803+-122.398758+37.796365+-122.398676+37.795923+-122.398649+37.786930+-122.398650+37.786489+-122.398677+37.786051+-122.398759+37.785622+-122.398894+37.785206+-122.399082+37.784806+-122.399320+37.784427+-122.399607+37.784071+-122.399939+37.783744+-122.400313+37.783447+-122.400726+37.783183+-122.401173+37.782956+-122.401651+37.782767+-122.402155+37.782618+-122.402680+37.782510+-122.403220+37.782446+-122.403772+37.782424+-122.404328+37.782424+-122.415708+37.782446+-122.416264+37.782510+-122.416816+37.782618+-122.417356+37.782767+-122.417881+37.782956+-122.418385+37.783183+-122.418863+37.783447+-122.419310+37.783744+-122.419723+37.784071+-122.420097+37.784427+-122.420429+37.784806+-122.420716+37.785206+-122.420954+37.785622+-122.421142+37.786051+-122.421277+37.786489+-122.421359+37.786930+-122.421386%27%29%3B%3E%3B%29%3Bout%3B with timeout=1 280s 2024-03-22 12:20:07 Downloaded 4.1kB from 'not_a_valid_endpoint' with status 503 280s 2024-03-22 12:20:07 'not_a_valid_endpoint' responded: 503 Service Unavailable 280s 280s 280s 280s ERROR: The requested URL could not be retrieved 280s 280s 280s
280s

ERROR

280s

The requested URL could not be retrieved

280s
280s
280s 280s
280s

The following error was encountered while trying to retrieve the URL: http://not_a_valid_endpoint/api/interpreter

280s 280s
280s

Unable to determine IP address from host name not_a_valid_endpoint

280s
280s 280s

The DNS server returned:

280s
280s
Server Failure: The name server was unable to process this query.
280s
280s 280s

This means that the cache was not able to resolve the hostname presented in the URL. Check if the address is correct.

280s 280s

Your cache administrator is webmaster.

280s
280s
280s 280s
280s 280s 280s 280s ------------------------------ Captured log call ------------------------------- 280s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32630 / WGS 84 / UTM zone 30N' 280s INFO OSMnx:utils.py:293 Created bbox 100000.0 m from (0, 0): 99634.16275465194,-99634.16275465194,934181.0214463086,733777.1588406297 280s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 280s INFO OSMnx:utils.py:293 Created bbox 1000 m from (37.791427, -122.410018): 4183841.891067328,4181833.6606157618,552953.845967123,550937.2696317866 280s INFO OSMnx:utils.py:293 Created bbox 500 m from (37.791427, -122.410018): 37.795923601677465,37.78693039832253,-122.40432787612507,-122.41570812387492 280s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 280s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 280s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32610 / WGS 84 / UTM zone 10N' 280s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 280s INFO OSMnx:utils.py:293 Requesting data from API in 1 request(s) 280s ERROR OSMnx:utils.py:297 Encountered gaierror while trying to resolve 'NOT_A_VALID_ENDPOINT', trying again via DoH... 280s ERROR OSMnx:utils.py:297 Failed to resolve 'NOT_A_VALID_ENDPOINT' IP via DoH, requesting host by name 280s INFO OSMnx:utils.py:293 Pausing 0 second(s) before making HTTP POST request to 'NOT_A_VALID_ENDPOINT' 280s INFO OSMnx:utils.py:293 Post http://not_a_valid_endpoint/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A1%5D%5Bdate%3A%222023-04-01T00%3A00%3A00Z%22%5D%3B%28way%5B%22highway%22%5D%5B%22area%22%21~%22yes%22%5D%5B%22access%22%21~%22private%22%5D%5B%22highway%22%21~%22abandoned%7Cbridleway%7Cbus_guideway%7Cconstruction%7Ccorridor%7Ccycleway%7Celevator%7Cescalator%7Cfootway%7Cno%7Cpath%7Cpedestrian%7Cplanned%7Cplatform%7Cproposed%7Craceway%7Crazed%7Cservice%7Csteps%7Ctrack%22%5D%5B%22motor_vehicle%22%21~%22no%22%5D%5B%22motorcar%22%21~%22no%22%5D%5B%22service%22%21~%22alley%7Cdriveway%7Cemergency_access%7Cparking%7Cparking_aisle%7Cprivate%22%5D%28poly%3A%2737.786930+-122.421386+37.795923+-122.421387+37.796365+-122.421360+37.796803+-122.421278+37.797232+-122.421143+37.797648+-122.420955+37.798048+-122.420717+37.798427+-122.420430+37.798782+-122.420098+37.799110+-122.419724+37.799407+-122.419311+37.799670+-122.418864+37.799898+-122.418386+37.800087+-122.417882+37.800236+-122.417357+37.800343+-122.416816+37.800408+-122.416265+37.800430+-122.415708+37.800430+-122.404328+37.800408+-122.403771+37.800343+-122.403220+37.800236+-122.402679+37.800087+-122.402154+37.799898+-122.401650+37.799670+-122.401172+37.799407+-122.400725+37.799110+-122.400312+37.798782+-122.399938+37.798427+-122.399606+37.798048+-122.399319+37.797648+-122.399081+37.797232+-122.398893+37.796803+-122.398758+37.796365+-122.398676+37.795923+-122.398649+37.786930+-122.398650+37.786489+-122.398677+37.786051+-122.398759+37.785622+-122.398894+37.785206+-122.399082+37.784806+-122.399320+37.784427+-122.399607+37.784071+-122.399939+37.783744+-122.400313+37.783447+-122.400726+37.783183+-122.401173+37.782956+-122.401651+37.782767+-122.402155+37.782618+-122.402680+37.782510+-122.403220+37.782446+-122.403772+37.782424+-122.404328+37.782424+-122.415708+37.782446+-122.416264+37.782510+-122.416816+37.782618+-122.417356+37.782767+-122.417881+37.782956+-122.418385+37.783183+-122.418863+37.783447+-122.419310+37.783744+-122.419723+37.784071+-122.420097+37.784427+-122.420429+37.784806+-122.420716+37.785206+-122.420954+37.785622+-122.421142+37.786051+-122.421277+37.786489+-122.421359+37.786930+-122.421386%27%29%3B%3E%3B%29%3Bout%3B with timeout=1 280s INFO OSMnx:utils.py:293 Downloaded 4.1kB from 'not_a_valid_endpoint' with status 503 280s ERROR OSMnx:utils.py:297 'not_a_valid_endpoint' responded: 503 Service Unavailable 280s 280s 280s 280s ERROR: The requested URL could not be retrieved 280s 280s 280s
280s

ERROR

280s

The requested URL could not be retrieved

280s
280s
280s 280s
280s

The following error was encountered while trying to retrieve the URL: http://not_a_valid_endpoint/api/interpreter

280s 280s
280s

Unable to determine IP address from host name not_a_valid_endpoint

280s
280s 280s

The DNS server returned:

280s
280s
Server Failure: The name server was unable to process this query.
280s
280s 280s

This means that the cache was not able to resolve the hostname presented in the URL. Check if the address is correct.

280s 280s

Your cache administrator is webmaster.

280s
280s
280s 280s
280s 280s 280s ________________________________ test_features _________________________________ 280s 280s self = , kwargs = {} 280s 280s def json(self, **kwargs): 280s r"""Returns the json-encoded content of a response, if any. 280s 280s :param \*\*kwargs: Optional arguments that ``json.loads`` takes. 280s :raises requests.exceptions.JSONDecodeError: If the response body does not 280s contain valid json. 280s """ 280s 280s if not self.encoding and self.content and len(self.content) > 3: 280s # No encoding set. JSON RFC 4627 section 3 states we should expect 280s # UTF-8, -16 or -32. Detect which one to use; If the detection or 280s # decoding fails, fall back to `self.text` (using charset_normalizer to make 280s # a best guess). 280s encoding = guess_json_utf(self.content) 280s if encoding is not None: 280s try: 280s return complexjson.loads(self.content.decode(encoding), **kwargs) 280s except UnicodeDecodeError: 280s # Wrong UTF codec detected; usually because it's not UTF-8 280s # but some other 8-bit codec. This is an RFC violation, 280s # and the server didn't bother to tell us what codec *was* 280s # used. 280s pass 280s except JSONDecodeError as e: 280s raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) 280s 280s try: 280s > return complexjson.loads(self.text, **kwargs) 280s 280s /usr/lib/python3/dist-packages/requests/models.py:971: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /usr/lib/python3.12/json/__init__.py:346: in loads 280s return _default_decoder.decode(s) 280s /usr/lib/python3.12/json/decoder.py:337: in decode 280s obj, end = self.raw_decode(s, idx=_w(s, 0).end()) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s self = 280s s = '\n\n raise JSONDecodeError("Expecting value", s, err.value) from None 280s E json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1) 280s 280s /usr/lib/python3.12/json/decoder.py:355: JSONDecodeError 280s 280s During handling of the above exception, another exception occurred: 280s 280s response = 280s 280s def _parse_response(response): 280s """ 280s Parse JSON from a requests response and log the details. 280s 280s Parameters 280s ---------- 280s response : requests.response 280s the response object 280s 280s Returns 280s ------- 280s response_json : dict 280s """ 280s # log the response size and domain 280s domain = _hostname_from_url(response.url) 280s size_kb = len(response.content) / 1000 280s utils.log(f"Downloaded {size_kb:,.1f}kB from {domain!r} with status {response.status_code}") 280s 280s # parse the response to JSON and log/raise exceptions 280s try: 280s > response_json = response.json() 280s 280s /usr/lib/python3/dist-packages/osmnx/_downloader.py:302: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s self = , kwargs = {} 280s 280s def json(self, **kwargs): 280s r"""Returns the json-encoded content of a response, if any. 280s 280s :param \*\*kwargs: Optional arguments that ``json.loads`` takes. 280s :raises requests.exceptions.JSONDecodeError: If the response body does not 280s contain valid json. 280s """ 280s 280s if not self.encoding and self.content and len(self.content) > 3: 280s # No encoding set. JSON RFC 4627 section 3 states we should expect 280s # UTF-8, -16 or -32. Detect which one to use; If the detection or 280s # decoding fails, fall back to `self.text` (using charset_normalizer to make 280s # a best guess). 280s encoding = guess_json_utf(self.content) 280s if encoding is not None: 280s try: 280s return complexjson.loads(self.content.decode(encoding), **kwargs) 280s except UnicodeDecodeError: 280s # Wrong UTF codec detected; usually because it's not UTF-8 280s # but some other 8-bit codec. This is an RFC violation, 280s # and the server didn't bother to tell us what codec *was* 280s # used. 280s pass 280s except JSONDecodeError as e: 280s raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) 280s 280s try: 280s return complexjson.loads(self.text, **kwargs) 280s except JSONDecodeError as e: 280s # Catch JSON-related errors and raise as requests.JSONDecodeError 280s # This aliases json.JSONDecodeError and simplejson.JSONDecodeError 280s > raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) 280s E requests.exceptions.JSONDecodeError: Expecting value: line 2 column 1 (char 1) 280s 280s /usr/lib/python3/dist-packages/requests/models.py:975: JSONDecodeError 280s 280s The above exception was the direct cause of the following exception: 280s 280s def test_features(): 280s """Test downloading features from Overpass.""" 280s # geometries_from_bbox - bounding box query to return no data 280s with pytest.raises(ox._errors.InsufficientResponseError): 280s > gdf = ox.geometries_from_bbox(0.009, -0.009, 0.009, -0.009, tags={"building": True}) 280s 280s tests/test_osmnx.py:672: 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s /usr/lib/python3/dist-packages/osmnx/geometries.py:47: in geometries_from_bbox 280s return features.features_from_bbox(north, south, east, west, tags=tags) 280s /usr/lib/python3/dist-packages/osmnx/features.py:133: in features_from_bbox 280s return features_from_polygon(polygon, tags) 280s /usr/lib/python3/dist-packages/osmnx/features.py:347: in features_from_polygon 280s return _create_gdf(response_jsons, polygon, tags) 280s /usr/lib/python3/dist-packages/osmnx/features.py:438: in _create_gdf 280s for response_json in response_jsons: 280s /usr/lib/python3/dist-packages/osmnx/_overpass.py:352: in _download_overpass_features 280s yield _overpass_request(data={"data": query_str}) 280s /usr/lib/python3/dist-packages/osmnx/_overpass.py:412: in _overpass_request 280s response_json = _downloader._parse_response(response) 280s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 280s 280s response = 280s 280s def _parse_response(response): 280s """ 280s Parse JSON from a requests response and log the details. 280s 280s Parameters 280s ---------- 280s response : requests.response 280s the response object 280s 280s Returns 280s ------- 280s response_json : dict 280s """ 280s # log the response size and domain 280s domain = _hostname_from_url(response.url) 280s size_kb = len(response.content) / 1000 280s utils.log(f"Downloaded {size_kb:,.1f}kB from {domain!r} with status {response.status_code}") 280s 280s # parse the response to JSON and log/raise exceptions 280s try: 280s response_json = response.json() 280s except JSONDecodeError as e: # pragma: no cover 280s msg = f"{domain!r} responded: {response.status_code} {response.reason} {response.text}" 280s utils.log(msg, level=lg.ERROR) 280s if response.ok: 280s raise InsufficientResponseError(msg) from e 280s > raise ResponseStatusCodeError(msg) from e 280s E osmnx._errors.ResponseStatusCodeError: 'not_a_valid_endpoint' responded: 503 Service Unavailable 280s E 280s E 280s E 280s E ERROR: The requested URL could not be retrieved 280s E 280s E 280s E
280s E

ERROR

280s E

The requested URL could not be retrieved

280s E
280s E
280s E 280s E
280s E

The following error was encountered while trying to retrieve the URL: http://not_a_valid_endpoint/api/interpreter

280s E 280s E
280s E

Unable to determine IP address from host name not_a_valid_endpoint

280s E
280s E 280s E

The DNS server returned:

280s E
280s E
Server Failure: The name server was unable to process this query.
280s E
280s E 280s E

This means that the cache was not able to resolve the hostname presented in the URL. Check if the address is correct.

280s E 280s E

Your cache administrator is webmaster.

280s E
280s E
280s E 280s E
280s E 280s E 280s 280s /usr/lib/python3/dist-packages/osmnx/_downloader.py:308: ResponseStatusCodeError 280s ----------------------------- Captured stdout call ----------------------------- 280s 2024-03-22 12:20:08 Projected GeoDataFrame to 'EPSG:32630 / WGS 84 / UTM zone 30N' 280s 2024-03-22 12:20:08 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 280s 2024-03-22 12:20:08 Requesting data from API in 1 request(s) 280s 2024-03-22 12:20:08 Encountered gaierror while trying to resolve 'NOT_A_VALID_ENDPOINT', trying again via DoH... 280s 2024-03-22 12:20:08 Failed to resolve 'NOT_A_VALID_ENDPOINT' IP via DoH, requesting host by name 280s 2024-03-22 12:20:08 Pausing 0 second(s) before making HTTP POST request to 'NOT_A_VALID_ENDPOINT' 280s 2024-03-22 12:20:08 Post http://not_a_valid_endpoint/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A1%5D%5Bdate%3A%222023-04-01T00%3A00%3A00Z%22%5D%3B%28%28node%5B%27building%27%5D%28poly%3A%27-0.009000+-0.009000+-0.009000+0.009000+0.009000+0.009000+0.009000+-0.009000+-0.009000+-0.009000%27%29%3B%28._%3B%3E%3B%29%3B%29%3B%28way%5B%27building%27%5D%28poly%3A%27-0.009000+-0.009000+-0.009000+0.009000+0.009000+0.009000+0.009000+-0.009000+-0.009000+-0.009000%27%29%3B%28._%3B%3E%3B%29%3B%29%3B%28relation%5B%27building%27%5D%28poly%3A%27-0.009000+-0.009000+-0.009000+0.009000+0.009000+0.009000+0.009000+-0.009000+-0.009000+-0.009000%27%29%3B%28._%3B%3E%3B%29%3B%29%3B%29%3Bout%3B with timeout=1 280s 2024-03-22 12:20:08 Downloaded 4.1kB from 'not_a_valid_endpoint' with status 503 280s 2024-03-22 12:20:08 'not_a_valid_endpoint' responded: 503 Service Unavailable 280s 280s 280s 280s ERROR: The requested URL could not be retrieved 280s 280s 280s
280s

ERROR

280s

The requested URL could not be retrieved

280s
280s
280s 280s
280s

The following error was encountered while trying to retrieve the URL: http://not_a_valid_endpoint/api/interpreter

280s 280s
280s

Unable to determine IP address from host name not_a_valid_endpoint

280s
280s 280s

The DNS server returned:

280s
280s
Server Failure: The name server was unable to process this query.
280s
280s 280s

This means that the cache was not able to resolve the hostname presented in the URL. Check if the address is correct.

280s 280s

Your cache administrator is webmaster.

280s
280s
280s 280s
280s 280s 280s 280s ------------------------------ Captured log call ------------------------------- 280s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:32630 / WGS 84 / UTM zone 30N' 280s INFO OSMnx:utils.py:293 Projected GeoDataFrame to 'EPSG:4326 / WGS 84' 280s INFO OSMnx:utils.py:293 Requesting data from API in 1 request(s) 280s ERROR OSMnx:utils.py:297 Encountered gaierror while trying to resolve 'NOT_A_VALID_ENDPOINT', trying again via DoH... 280s ERROR OSMnx:utils.py:297 Failed to resolve 'NOT_A_VALID_ENDPOINT' IP via DoH, requesting host by name 280s INFO OSMnx:utils.py:293 Pausing 0 second(s) before making HTTP POST request to 'NOT_A_VALID_ENDPOINT' 280s INFO OSMnx:utils.py:293 Post http://not_a_valid_endpoint/api/interpreter?data=%5Bout%3Ajson%5D%5Btimeout%3A1%5D%5Bdate%3A%222023-04-01T00%3A00%3A00Z%22%5D%3B%28%28node%5B%27building%27%5D%28poly%3A%27-0.009000+-0.009000+-0.009000+0.009000+0.009000+0.009000+0.009000+-0.009000+-0.009000+-0.009000%27%29%3B%28._%3B%3E%3B%29%3B%29%3B%28way%5B%27building%27%5D%28poly%3A%27-0.009000+-0.009000+-0.009000+0.009000+0.009000+0.009000+0.009000+-0.009000+-0.009000+-0.009000%27%29%3B%28._%3B%3E%3B%29%3B%29%3B%28relation%5B%27building%27%5D%28poly%3A%27-0.009000+-0.009000+-0.009000+0.009000+0.009000+0.009000+0.009000+-0.009000+-0.009000+-0.009000%27%29%3B%28._%3B%3E%3B%29%3B%29%3B%29%3Bout%3B with timeout=1 280s INFO OSMnx:utils.py:293 Downloaded 4.1kB from 'not_a_valid_endpoint' with status 503 280s ERROR OSMnx:utils.py:297 'not_a_valid_endpoint' responded: 503 Service Unavailable 280s 280s 280s 280s ERROR: The requested URL could not be retrieved 280s 280s 280s
280s

ERROR

280s

The requested URL could not be retrieved

280s
280s
280s 280s
280s

The following error was encountered while trying to retrieve the URL: http://not_a_valid_endpoint/api/interpreter

280s 280s
280s

Unable to determine IP address from host name not_a_valid_endpoint

280s
280s 280s

The DNS server returned:

280s
280s
Server Failure: The name server was unable to process this query.
280s
280s 280s

This means that the cache was not able to resolve the hostname presented in the URL. Check if the address is correct.

280s 280s

Your cache administrator is webmaster.

280s
280s
280s 280s
280s 280s 280s =============================== warnings summary =============================== 280s ../../../../usr/lib/python3/dist-packages/dateutil/tz/tz.py:37 280s /usr/lib/python3/dist-packages/dateutil/tz/tz.py:37: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). 280s EPOCH = datetime.datetime.utcfromtimestamp(0) 280s 280s tests/test_osmnx.py:36 280s /tmp/autopkgtest.Rf9KSW/autopkgtest_tmp/online/tests/test_osmnx.py:36: FutureWarning: The `utils.config` function is deprecated and will be removed in the v2.0.0 release. Instead, use the `settings` module directly to configure a global setting's value. For example, `ox.settings.log_console=True`. 280s ox.config(log_console=True) 280s 280s tests/test_osmnx.py::test_coords_rounding 280s /tmp/autopkgtest.Rf9KSW/autopkgtest_tmp/online/tests/test_osmnx.py:94: FutureWarning: The `round_geometry_coords` function is deprecated and will be removed in the v2.0.0 release. 280s shape2 = ox.utils_geo.round_geometry_coords(shape1, precision) 280s 280s tests/test_osmnx.py::test_coords_rounding 280s /tmp/autopkgtest.Rf9KSW/autopkgtest_tmp/online/tests/test_osmnx.py:97: FutureWarning: The `round_geometry_coords` function is deprecated and will be removed in the v2.0.0 release. 280s shape2 = ox.utils_geo.round_geometry_coords(shape1, precision) 280s 280s tests/test_osmnx.py::test_coords_rounding 280s /tmp/autopkgtest.Rf9KSW/autopkgtest_tmp/online/tests/test_osmnx.py:100: FutureWarning: The `round_geometry_coords` function is deprecated and will be removed in the v2.0.0 release. 280s shape2 = ox.utils_geo.round_geometry_coords(shape1, precision) 280s 280s tests/test_osmnx.py::test_coords_rounding 280s /tmp/autopkgtest.Rf9KSW/autopkgtest_tmp/online/tests/test_osmnx.py:109: FutureWarning: The `round_geometry_coords` function is deprecated and will be removed in the v2.0.0 release. 280s shape2 = ox.utils_geo.round_geometry_coords(shape1, precision) 280s 280s tests/test_osmnx.py::test_coords_rounding 280s /tmp/autopkgtest.Rf9KSW/autopkgtest_tmp/online/tests/test_osmnx.py:112: FutureWarning: The `round_geometry_coords` function is deprecated and will be removed in the v2.0.0 release. 280s shape2 = ox.utils_geo.round_geometry_coords(shape1, precision) 280s 280s tests/test_osmnx.py::test_coords_rounding 280s /tmp/autopkgtest.Rf9KSW/autopkgtest_tmp/online/tests/test_osmnx.py:120: FutureWarning: The `round_geometry_coords` function is deprecated and will be removed in the v2.0.0 release. 280s shape2 = ox.utils_geo.round_geometry_coords(shape1, precision) 280s 280s tests/test_osmnx.py::test_coords_rounding 280s /tmp/autopkgtest.Rf9KSW/autopkgtest_tmp/online/tests/test_osmnx.py:123: FutureWarning: The `round_geometry_coords` function is deprecated and will be removed in the v2.0.0 release. 280s ox.utils_geo.round_geometry_coords(GeometryCollection(), precision) 280s 280s tests/test_osmnx.py::test_geocoder 280s /tmp/autopkgtest.Rf9KSW/autopkgtest_tmp/online/tests/test_osmnx.py:129: FutureWarning: The buffer_dist argument has been deprecated and will be removed in the v2.0.0 release. Buffer your results directly, if desired. 280s city = ox.geocode_to_gdf(place1, which_result=1, buffer_dist=100) 280s 280s tests/test_osmnx.py::test_stats 280s /tmp/autopkgtest.Rf9KSW/autopkgtest_tmp/online/tests/test_osmnx.py:145: FutureWarning: The `precision` parameter is deprecated and will be removed in the v2.0.0 release. 280s G = ox.add_edge_bearings(G, precision=2) 280s 280s tests/test_osmnx.py::test_stats 280s /tmp/autopkgtest.Rf9KSW/autopkgtest_tmp/online/tests/test_osmnx.py:148: FutureWarning: The `precision` parameter is deprecated and will be removed in the v2.0.0 release. 280s G_proj = ox.distance.add_edge_lengths(G_proj, edges=tuple(G_proj.edges)[0:3], precision=2) 280s 280s tests/test_osmnx.py::test_stats 280s /tmp/autopkgtest.Rf9KSW/autopkgtest_tmp/online/tests/test_osmnx.py:159: FutureWarning: The `plot_orientation` function moved to the `plot` module. Calling it via the `bearing` module will raise an exception starting with the v2.0.0 release. 280s fig, ax = ox.bearing.plot_orientation(Gu, area=True, title="Title") 280s 280s tests/test_osmnx.py::test_osm_xml 280s /tmp/autopkgtest.Rf9KSW/autopkgtest_tmp/online/tests/test_osmnx.py:210: FutureWarning: The save_graph_xml function has moved from the osm_xml module to the io module. osm_xml.save_graph_xml has been deprecated and will be removed in the v2.0.0 release. Access the function via the io module instead. 280s ox.osm_xml.save_graph_xml([nodes, edges]) 280s 280s tests/test_osmnx.py::test_graph_from_functions 280s /tmp/autopkgtest.Rf9KSW/autopkgtest_tmp/online/tests/test_osmnx.py:620: FutureWarning: The `north`, `south`, `east`, and `west` parameters are deprecated and will be removed in the v2.0.0 release. Use the `bbox` parameter instead. 280s poly = ox.utils_geo.bbox_to_poly(*bbox) 280s 280s tests/test_osmnx.py::test_graph_from_functions 280s /tmp/autopkgtest.Rf9KSW/autopkgtest_tmp/online/tests/test_osmnx.py:621: UserWarning: This area is 15 times your configured Overpass max query area size. It will automatically be divided up into multiple sub-queries accordingly. This may take a long time. 280s _ = ox.utils_geo._consolidate_subdivide_geometry(poly) 280s 280s tests/test_osmnx.py::test_graph_from_functions 280s /tmp/autopkgtest.Rf9KSW/autopkgtest_tmp/online/tests/test_osmnx.py:626: FutureWarning: The `north`, `south`, `east`, and `west` parameters are deprecated and will be removed in the v2.0.0 release. Use the `bbox` parameter instead. 280s G = ox.graph_from_bbox(north, south, east, west, network_type="drive") 280s 280s tests/test_osmnx.py::test_features 280s /tmp/autopkgtest.Rf9KSW/autopkgtest_tmp/online/tests/test_osmnx.py:672: FutureWarning: The `geometries` module and `geometries_from_X` functions have been renamed the `features` module and `features_from_X` functions. Use these instead. The `geometries` module and function names are deprecated and will be removed in the v2.0.0 release. 280s gdf = ox.geometries_from_bbox(0.009, -0.009, 0.009, -0.009, tags={"building": True}) 280s 280s tests/test_osmnx.py::test_features 280s /usr/lib/python3/dist-packages/osmnx/geometries.py:47: FutureWarning: The `north`, `south`, `east`, and `west` parameters are deprecated and will be removed in the v2.0.0 release. Use the `bbox` parameter instead. 280s return features.features_from_bbox(north, south, east, west, tags=tags) 280s 280s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 280s =========================== short test summary info ============================ 280s FAILED tests/test_osmnx.py::test_osm_xml - osmnx._errors.InsufficientResponse... 280s FAILED tests/test_osmnx.py::test_elevation - osmnx._errors.InsufficientRespon... 280s FAILED tests/test_osmnx.py::test_elevation_extra_one - osmnx._errors.Insuffic... 280s FAILED tests/test_osmnx.py::test_elevation_extra_four - osmnx._errors.Insuffi... 280s FAILED tests/test_osmnx.py::test_elevation_extra_thirtytwo - osmnx._errors.In... 280s FAILED tests/test_osmnx.py::test_elevation_extra_huge - osmnx._errors.Insuffi... 280s FAILED tests/test_osmnx.py::test_routing - osmnx._errors.InsufficientResponse... 280s FAILED tests/test_osmnx.py::test_plots - osmnx._errors.InsufficientResponseEr... 280s FAILED tests/test_osmnx.py::test_find_nearest - osmnx._errors.InsufficientRes... 280s FAILED tests/test_osmnx.py::test_api_endpoints - osmnx._errors.ResponseStatus... 280s FAILED tests/test_osmnx.py::test_graph_save_load - osmnx._errors.ResponseStat... 280s FAILED tests/test_osmnx.py::test_graph_from_functions - osmnx._errors.Respons... 280s FAILED tests/test_osmnx.py::test_features - osmnx._errors.ResponseStatusCodeE... 280s ================== 13 failed, 5 passed, 19 warnings in 51.91s ================== 280s autopkgtest [12:20:09]: test command2: -----------------------] 280s autopkgtest [12:20:09]: test command2: - - - - - - - - - - results - - - - - - - - - - 280s command2 FLAKY non-zero exit status 1 281s autopkgtest [12:20:10]: @@@@@@@@@@@@@@@@@@@@ summary 281s command1 PASS 281s command2 FLAKY non-zero exit status 1 322s Creating nova instance adt-noble-s390x-osmnx-20240322-121529-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-s390x-server-20240321.img (UUID f7ee8f0f-480f-4014-94f0-3be2a19e259d)...