Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Illegal instruction (core dumped) #37

Open
piergiorgio-roveda opened this issue Jul 25, 2024 · 4 comments
Open

Illegal instruction (core dumped) #37

piergiorgio-roveda opened this issue Jul 25, 2024 · 4 comments

Comments

@piergiorgio-roveda
Copy link

Hi, I get this error, but 10 days ago, with the same command I download data, without errors:
I use on Ubuntu 22.04 Python version 3.10.12

Executing command: overturemaps download --bbox=34.71971838,31.98269322,34.86513722,32.15459484 -f geojson --type=place -o 'tmp__overturemaps.geojson' Command failed with return code 132 Error output: Illegal instruction (core dumped)

@brad-richardson
Copy link
Contributor

brad-richardson commented Jul 25, 2024

I wasn't able to reproduce this on macOS 14.5 with a local poetry install or direct pip install, I'll try an Ubuntu machine later. Can you provide the output of pip list | grep -E 'overturemaps|numpy|pyarrow|shapely|click' to verify versions?

Repro attempt:

❯ python3 --version
Python 3.10.12
❯ python3 -m venv python3_10_12_install
❯ source ./python3_10_12_install/bin/activate
❯ pip3 install overturemaps
Collecting overturemaps
  Downloading overturemaps-0.8.0-py3-none-any.whl (9.6 kB)
Collecting click>=8.1.7
  Downloading click-8.1.7-py3-none-any.whl (97 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.9/97.9 kB 3.2 MB/s eta 0:00:00
Collecting numpy>=1.26.4
  Downloading numpy-2.0.1-cp310-cp310-macosx_14_0_arm64.whl (5.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.3/5.3 MB 42.4 MB/s eta 0:00:00
Collecting shapely>=2.0.3
  Downloading shapely-2.0.5-cp310-cp310-macosx_11_0_arm64.whl (1.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 47.0 MB/s eta 0:00:00
Collecting pyarrow>=15.0.2
  Downloading pyarrow-17.0.0-cp310-cp310-macosx_11_0_arm64.whl (27.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 27.2/27.2 MB 22.9 MB/s eta 0:00:00
Installing collected packages: numpy, click, shapely, pyarrow, overturemaps
Successfully installed click-8.1.7 numpy-2.0.1 overturemaps-0.8.0 pyarrow-17.0.0 shapely-2.0.5

[notice] A new release of pip is available: 23.0.1 -> 24.1.2
[notice] To update, run: pip install --upgrade pip
❯ overturemaps download --bbox=34.71971838,31.98269322,34.86513722,32.15459484 -f geojson --type=place -o 'tmp__overturemaps.geojson'
❯ head -2 tmp__overturemaps.geojson
{"type": "FeatureCollection", "features": [
{"type":"Feature","geometry":{"type":"Point","coordinates":[34.73546,31.99126]},"properties":{"id":"08f2db0cd69913b6030f5e818f62b1f2","version":0,"sources":[{"property":"","dataset":"meta","record_id":"212418172459330","update_time":"2024-07-11T00:00:00.000Z","confidence":null}],"names":{"primary":"\u05d2\u05df \u05d9\u05dc\u05d3\u05d9\u05dd \u05de\u05d0\u05dc\u05e3 \u05d5\u05e2\u05d3 \u05d8\u05e3 - \u05de\u05d5\u05d1\u05d9\u05dc\u05d9\u05dd \u05d7\u05d3\u05e9\u05e0\u05d5\u05ea \u05d1\u05d7\u05d9\u05e0\u05d5\u05da","common":null,"rules":null},"categories":{"primary":"preschool","alternate":["school"]},"confidence":0.6721518987341772,"socials":["https://www.facebook.com/212418172459330"],"phones":["+972506887710"],"addresses":[{"freeform":"\u05d4\u05de\u05d2\u05d9\u05dc\u05d4 36 ","locality":"Rishon Le Zion","postcode":null,"region":null,"country":"IL"}]}},

@piergiorgio-roveda
Copy link
Author

~$ pip list | grep overturemaps overturemaps 0.8.0

@mtravis
Copy link

mtravis commented Jul 26, 2024

I tried this on Pop!_OS 22.04 LTS and it works fine.

What's the spec like of your machine? Try running lshw -short -C memory -C cpu

@jwass
Copy link
Collaborator

jwass commented Aug 29, 2024

@piergiorgio-roveda Are you still seeing this issue? I can't reproduce it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants