-
-
Notifications
You must be signed in to change notification settings - Fork 70
Closed
Description
Title: RuntimeError: subprocess returned error: Success
Description:
Hi,
I'm new to osmium and encountered a runtime error while using the library. Here's the code snippet I'm working with:
import osmium
class OSMWayReader(osmium.SimpleHandler):
def __init__(self, path):
osmium.SimpleHandler.__init__(self)
self.street_ways = []
self.path = path
def way(self, w):
# Process ways (implementation omitted for brevity)
pass
def read_ways(self):
self.apply_file(self.path, locations=True, idx='flex_mem')
return self.street_waysWhen calling the read_ways method, I get the following error:
INFO - File "/nfs/shared/virtualenvs/lib/python3.9/site-packages/search/utils/map/osm_reader.py", line 66, in read_ways
INFO - self.apply_file(self.path, locations=True, idx='flex_mem')
INFO - RuntimeError: subprocess returned error: Success
I've searched extensively but couldn't find any concrete solution or explanation for this error.
Environment Details:
- Python version: Python 3.9
- Osmium library version: 3.7.0
- Operating system: ubuntu 18
Any guidance or help on why this error occurs and how to resolve it would be greatly appreciated.
Thank you!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels