conda-forge / osmnx-feedstock

A conda-smithy repository for osmnx.
BSD 3-Clause "New" or "Revised" License
8 stars 10 forks source link

ImportError: libpoppler.so.66: cannot open shared object file: No such file or directory #23

Closed gboeing closed 6 years ago

gboeing commented 6 years ago

OSMnx CI is unable to import fiona (via geopandas) in tests today: see log. Looks like it might be an upstream problem with fiona's conda-forge packaging? Any suggestions @ocefpaf?

Traceback:
tests/test_osmnx.py:13: in <module>
    import osmnx as ox, logging as lg
osmnx/__init__.py:9: in <module>
    from .buildings import *
osmnx/buildings.py:9: in <module>
    import geopandas as gpd
../../../miniconda/envs/TESTENV/lib/python2.7/site-packages/geopandas/__init__.py:4: in <module>
    from geopandas.io.file import read_file
../../../miniconda/envs/TESTENV/lib/python2.7/site-packages/geopandas/io/file.py:3: in <module>
    import fiona
../../../miniconda/envs/TESTENV/lib/python2.7/site-packages/fiona/__init__.py:69: in <module>
    from fiona.collection import Collection, BytesCollection, vsi_path
../../../miniconda/envs/TESTENV/lib/python2.7/site-packages/fiona/collection.py:9: in <module>
    from fiona.ogrext import Iterator, ItemsIterator, KeysIterator
E   ImportError: libpoppler.so.66: cannot open shared object file: No such file or directory
ocefpaf commented 6 years ago

It will be solved as soon as https://github.com/conda-forge/poppler-feedstock/pull/8 and https://github.com/conda-forge/libgdal-feedstock/pull/24 are merged. Meanwhile you can pin to the previous version of popppler 0.52.0 by specifying it explicitly on the env.

ocefpaf commented 6 years ago

@gboeing I merged https://github.com/conda-forge/libgdal-feedstock/pull/24 and everything should be working again. Let me know if you find any issues.

gboeing commented 6 years ago

@ocefpaf thanks! Still erroring, but slightly different now:

Traceback:
tests/test_osmnx.py:13: in <module>
    import osmnx as ox, logging as lg
osmnx/__init__.py:9: in <module>
    from .buildings import *
osmnx/buildings.py:9: in <module>
    import geopandas as gpd
../../../miniconda/envs/TESTENV/lib/python2.7/site-packages/geopandas/__init__.py:4: in <module>
    from geopandas.io.file import read_file
../../../miniconda/envs/TESTENV/lib/python2.7/site-packages/geopandas/io/file.py:3: in <module>
    import fiona
../../../miniconda/envs/TESTENV/lib/python2.7/site-packages/fiona/__init__.py:69: in <module>
    from fiona.collection import Collection, BytesCollection, vsi_path
../../../miniconda/envs/TESTENV/lib/python2.7/site-packages/fiona/collection.py:9: in <module>
    from fiona.ogrext import Iterator, ItemsIterator, KeysIterator
E   ImportError: libxerces-c-3.1.so: cannot open shared object file: No such file or directory

libxerces, via fiona, seems to be the culprit now...

ocefpaf commented 6 years ago

Yep. But that should be resolved soon, see https://github.com/conda-forge/libgdal-feedstock/pull/27.

I am using the Thanksgiving weekend to break a few things with some updates :smile:

gboeing commented 6 years ago

Haha, have fun! I'll run CI tests again later tonight or tomorrow morning.

ocefpaf commented 6 years ago

It should be OK now. Let me know if you find any new errors.