Skip to content

PyOsmium script hangs indefinitely on Windows #280

@gabortim

Description

@gabortim

After installing Osmium and running a script using PyOsmium on Windows, the execution never terminates. The script runs but does not exit as expected.

Steps to reproduce:

  1. Install PyOsmium in a standard library virtual environment (venv)
  2. Run the following example from the documentation:
import osmium

for obj in osmium.FileProcessor('test.osm'):
    print(obj)

Expected behavior
The script should process the input file, print the result and exit.

Actual behavior
The script prints the result and does not terminate.


OS: Windows 10 22H2 (build 19045.5371)
Python version: 3.12.8
PyOsmium version: 4.0.2
Installation method: Installed via pip in a standard venv

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions