osmium-tool icon indicating copy to clipboard operation
osmium-tool copied to clipboard

regression: progress bar doesn't work in osmium-tool

Open karme opened this issue 2 months ago • 3 comments

What version of osmium-tool are you using?

$ ./osmium --version
osmium version 1.18.0 (v1.18.0-4-g71570dc)
libosmium version 2.22.0
Supported PBF compression types: none zlib lz4

Copyright (C) 2013-2025  Jochen Topf <[email protected]>
License: GNU GENERAL PUBLIC LICENSE Version 3 <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

What operating system version are you using?

debian/trixie

What did you do exactly?

./osmium fileinfo -e /tmp/switzerland.osm.pbf

What did you expect to happen?

progress bar should show progress

What did happen instead?

no output until complete

What did you do to try analyzing the problem?

build osmium-tool from master

note: i didn't test libosmium from master yet!

s.a. #231

karme avatar Oct 21 '25 14:10 karme

no output until complete

re-reading this it is misleading / not really correct

Output is:

File:
  Name: /tmp/switzerland.osm.pbf
  Format: PBF
  Compression: none
  Size: 432183453
Header:
  Bounding boxes:
  With history: no
  Options:
    generator=osmium/1.13.1
    pbf_dense_nodes=true
    pbf_optional_feature_0=Sort.Type_then_ID
    sorting=Type_then_ID
[>                                                                     ]   0% 

but then there is no more output until completion

karme avatar Oct 21 '25 14:10 karme

built libosmium and osmium-tool from master and the problem is still there

karme avatar Oct 22 '25 07:10 karme

btw this doesn't show progress either: ./osmium cat --progress /tmp/switzerland.osm.pbf -f xml > /dev/null

karme avatar Oct 22 '25 07:10 karme

This has been fixed by this PR. Thanks for the report.

joto avatar Dec 21 '25 16:12 joto