You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RuntimeError: subprocess returned error: Success #276
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:
importosmiumclassOSMWayReader(osmium.SimpleHandler):
def__init__(self, path):
osmium.SimpleHandler.__init__(self)
self.street_ways= []
self.path=pathdefway(self, w):
# Process ways (implementation omitted for brevity)passdefread_ways(self):
self.apply_file(self.path, locations=True, idx='flex_mem')
returnself.street_ways
When 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.
Activity