Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[MAINT] AttributeError: 'NoneType' object has no attribute 'startswith' in all Moran plots #117

@slumnitz

Description

@slumnitz
ERROR: test_viz_esda_mpl.test_moran_scatterplot
1551----------------------------------------------------------------------
1552Traceback (most recent call last):
1553  File "/home/travis/build/pysal/splot/miniconda/envs/test-env/lib/python3.6/site-packages/nose/case.py", line 198, in runTest
1554    self.test(*self.arg)
1555  File "/home/travis/build/pysal/splot/splot/tests/test_viz_esda_mpl.py", line 28, in test_moran_scatterplot
1556    gdf = gpd.read_file(link_to_data)
1557  File "/home/travis/build/pysal/splot/miniconda/envs/test-env/lib/python3.6/site-packages/geopandas/io/file.py", line 96, in _read_file
1558    with reader(path_or_bytes, **kwargs) as features:
1559  File "/home/travis/build/pysal/splot/miniconda/envs/test-env/lib/python3.6/site-packages/fiona/env.py", line 400, in wrapper
1560    return f(*args, **kwargs)
1561  File "/home/travis/build/pysal/splot/miniconda/envs/test-env/lib/python3.6/site-packages/fiona/__init__.py", line 253, in open
1562    path = parse_path(fp)
1563  File "/home/travis/build/pysal/splot/miniconda/envs/test-env/lib/python3.6/site-packages/fiona/path.py", line 132, in parse_path
1564    elif path.startswith('/vsi'):
1565AttributeError: 'NoneType' object has no attribute 'startswith'

investigate and decide if this can be debugged by PySAL team or needs to be brought to attention with another issue in the Fiona GitHub repo.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions