-
Notifications
You must be signed in to change notification settings - Fork 215
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
'init' keyword on Proj() causing segfault #367
Comments
You mention you have PROJ 6.1, but the It seems you installed pyproj with pip. Can you try to remove it ( |
The solution by @jorisvandenbossche should resolve this. But, for my curiosity sake, mind trying out: |
@snowman2 Out of curiosity, what changed i the recent wheels that might have fixed this overlap with another proj install? |
Probably nothing. I made this change #361 and it is probably irrelevant, but I am curious. |
It didn't change anything. Still dumped. |
Seems like an issue is needed for looking into the mix of the PROJ versions. |
Tried this, but it's not a valid wheel for my platform. It looks like it might be the fault of my untidy environment - I'll try @jorisvandenbossche 's solution, and then clean this up and start from scratch. EDIT: Should mention (if it matters) this is running on the AWS Ubuntu Server instance, so it might have a slightly odd compiler configuration. |
This resolved it - thanks. |
Closing for preference to #368 |
Fix in soon to be released 2.3.1 |
Problem description
When a new Proj is instantitated, creating with the
init=
keyword arg throws a segfault.Expected output
Either work as expected or throw kwargs exception? This feels related to https://pyproj4.github.io/pyproj/stable/gotchas.html
If this is a known wont-fix, please remove this report.
Environment Information
System:
python: 3.7.0 (default, Jun 28 2018, 13:15:42) [GCC 7.2.0]
executable: /home/ubuntu/tools/miniconda/bin/python
machine: Linux-4.15.0-1023-aws-x86_64-with-debian-buster-sid
PROJ:
PROJ: 6.1.0
data dir: /home/ubuntu/tools/miniconda/lib/python3.7/site-packages/pyproj/proj_dir/share/proj
Python deps:
pyproj: 2.2.1
pip: 19.1.1
setuptools: 40.2.0
Cython: None
aenum: None
Installation method
Installed from pip
Conda environment information (if you installed with conda):
Environment (
conda list
):Details about
conda
and system (conda info
):populated config files :
conda version : 4.5.11
conda-build version : not installed
python version : 3.7.0.final.0
base environment : /home/ubuntu/tools/miniconda (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/free/linux-64
https://repo.anaconda.com/pkgs/free/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/pro/linux-64
https://repo.anaconda.com/pkgs/pro/noarch
package cache : /home/ubuntu/tools/miniconda/pkgs
/home/ubuntu/.conda/pkgs
envs directories : /home/ubuntu/tools/miniconda/envs
/home/ubuntu/.conda/envs
platform : linux-64
user-agent : conda/4.5.11 requests/2.19.1 CPython/3.7.0 Linux/4.15.0-1023-aws ubuntu/18.04 glibc/2.27
UID:GID : 1000:1000
netrc file : None
offline mode : False
The text was updated successfully, but these errors were encountered: