greppo: file not found error
I am able to install greppo package. But getting this error:
# greppo serve app.py --host 172.31.38.540
INFO: Started server process [10836]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://172.31.38.540:8080 (Press CTRL+C to quit)
INFO: 18.209.195.135:54298 - "GET / HTTP/1.1" 200 OK
INFO: 18.209.195.135:54298 - "GET /css/app.a14da775.css HTTP/1.1" 200 OK
INFO: 18.209.195.135:54297 - "GET /css/chunk-vendors.db50bcea.css HTTP/1.1" 200 OK
INFO: 18.209.195.135:54301 - "GET /js/chunk-vendors.526a29f2.js HTTP/1.1" 200 OK
INFO: 18.209.195.135:54300 - "GET /js/app.7529265e.js HTTP/1.1" 200 OK
ERROR:fiona._env:geospatial_data.geojson: No such file or directory
INFO: 18.209.195.135:54301 - "GET /api HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "fiona/_shim.pyx", line 83, in fiona._shim.gdal_open_vector
File "fiona/_err.pyx", line 291, in fiona._err.exc_wrap_pointer
fiona._err.CPLE_OpenFailedError: geospatial_data.geojson: No such file or directory
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 16 (6 by maintainers)
I had the same problem yesterday. I just try the vector layer module and as well the overlay layer and all are working perfectly !
… and for the record, Greppo is amazing ! Amazing work Adithya Krishnan 😎
I used all the code mentioned on this page…
https://docs.greppo.io/mental-model.html
This code line did not work:
In fact all the samples in quickstart guide having overlay_layer() method has this problem. May be I have not installed the module correctly.
By the way greppo seems to be awesome. I have seen other high level modules, but it looks like highest level module!
Yes. Setting data=data_gdf explicitly solved the problem. Thanks @srizer Can someone fix the documentation and examples?
For what it’s worth, I also had this issue and it seems to have been resolved by explicitly setting
data=data_gdfas opposed to just havingdata_gdf.I managed to solve the credentials problem. But when I used this code… https://docs.greppo.io/mental-model.html
got this error: