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

Kernel dies in Jupyter Notebook while trying to plot a map #100

Open
seizethedata opened this issue Jan 9, 2019 · 3 comments
Open

Kernel dies in Jupyter Notebook while trying to plot a map #100

seizethedata opened this issue Jan 9, 2019 · 3 comments

Comments

@seizethedata
Copy link

seizethedata commented Jan 9, 2019

Description of the bug

Kernel dies in Jupiter Notebook when trying to plot a map in example notebook

Network data (optional)

If the issue is related to specific network data please provide a link to download the data or the function used to download the data.

Environment

  • Operating system: macOS High Sierra v 10.13.6 (17G4015)

  • Python version: 3.7.0

  • Pandana version: 0.4.1

Paste the code that reproduces the issue here:

fig_kwargs = {'figsize': [20, 20]}
bmap_kwargs = {'suppress_ticks': False, 'resolution': 'h', 'epsg': '26943'}
plot_kwargs = {'cmap': 'BrBG', 's': 8, 'edgecolor': 'none'}

sf_tmp = [-122.524338, 37.707794, -122.34993, 37.834192]
sf_bbox = [sf_tmp[1], sf_tmp[0], sf_tmp[3], sf_tmp[2]]

net.plot(a[1], bbox=sf_bbox, 
         fig_kwargs=fig_kwargs, bmap_kwargs=bmap_kwargs, plot_kwargs=plot_kwargs)

Paste the error message (if applicable):

Assertion failed: (0), function query, file AbstractSTRtree.cpp, line 293.
@sablanchard
Copy link
Collaborator

Thanks for the report @seizethedata to better troubleshoot can you post all the packages and versions you have in your environment?

@seizethedata
Copy link
Author

seizethedata commented Jan 11, 2019

@sablanchard sure, here it is:

appdirs==1.4.3
appnope==0.1.0
asn1crypto==0.24.0
backcall==0.1.0
basemap==1.2.0
beautifulsoup4==4.6.3
bleach==2.1.4
branca==0.3.0
brewer2mpl==1.4.1
bs4==0.0.1
carto==1.3.0
cartoframes==0.7.1
certifi==2018.8.13
cffi==1.11.5
chardet==3.0.4
chroma-py==0.1.0.dev1
click==6.7
click-plugins==1.0.3
cligj==0.4.0
colorlover==0.2.1
colour==0.1.5
cryptography==2.3.1
cufflinks==0.14.6
cycler==0.10.0
Cython==0.28.5
decorator==4.3.0
descartes==1.1.0
entrypoints==0.2.3
Fiona==1.7.13
Flask==1.0.2
folium==0.6.0
future==0.15.2
GeoAlchemy2==0.4.2
geocoder==1.38.1
geographiclib==1.49
geojson==2.4.0
geopandas==0.4.0
geopy==1.16.0
geos==0.2.1
html5lib==1.0.1
idna==2.7
ipykernel==4.8.2
ipyleaflet==0.9.0
ipython==6.5.0
ipython-genutils==0.2.0
ipython-magic-folium==0.0.0
ipywidgets==7.4.0
itsdangerous==0.24
jedi==0.12.1
Jinja2==2.10
jsonschema==2.6.0
jupyter-client==5.2.3
jupyter-core==4.4.0
kiwisolver==1.0.1
lxml==4.2.4
mapboxgl==0.8.0
MarkupSafe==1.0
matplotlib==2.2.3
mistune==0.8.3
munch==2.3.2
nbconvert==5.3.1
nbformat==4.4.0
ndg-httpsclient==0.5.1
networkx==2.1
nose==1.3.7
notebook==5.6.0
numexpr==2.6.9
numpy==1.15.1
osmnet==0.1.5
osmnx==0.8.1
pandana==0.4.1
pandas==0.23.4
pandocfilters==1.4.2
parso==0.3.1
pexpect==4.6.0
pickleshare==0.7.4
Pillow==5.3.0
plotly==3.4.2
postgis==1.0.4
prometheus-client==0.3.1
prompt-toolkit==1.0.15
ptyprocess==0.6.0
pyasn1==0.4.4
pychrone==0.0.3
pycparser==2.18
Pygments==2.2.0
pyOpenSSL==18.0.0
pyparsing==2.2.0
pyproj==1.9.5.1
pyrestcli==0.6.6
PySAL==1.14.4.post2
pyshp==2.0.1
python-dateutil==2.7.3
pytz==2018.5
pyzmq==17.1.2
ratelim==0.1.6
requests==2.19.1
retrying==1.3.3
Rtree==0.8.3
scikit-learn==0.20.2
scipy==1.1.0
seaborn==0.9.0
selenium==3.14.0
Send2Trash==1.5.0
Shapely==1.6.4.post2
simplegeneric==0.8.1
six==1.11.0
SQLAlchemy==1.2.11
tables==3.4.4
terminado==0.8.1
testpath==0.3.1
tornado==5.1
tqdm==4.25.0
traitlets==4.3.2
traittypes==0.2.1
urllib3==1.23
wcwidth==0.1.7
webcolors==1.8.1
webencodings==0.5.1
Werkzeug==0.14.1
widgetsnbextension==3.4.0
xarray==0.10.8
xmltodict==0.11.0

@absudabsu
Copy link

Was this ever solved? I am thinking this is an issue with geos ?

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

3 participants