Bug 384750

Summary: Progress bars don't work when I save a project to an ISO file
Product: [Applications] k3b Reporter: Patrick Silva <bugseforuns>
Component: Image FormatsAssignee: k3b developers <k3b>
Status: RESOLVED FIXED    
Severity: normal CC: michalm, scdbackup, simonandric5, trueg, zhaixiang
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Patrick Silva 2017-09-15 17:21:36 UTC
k3b-git installed on Arch from AUR...

create a dvd-video/data project, add some files to it
click "burn" button, check "only create image", click "start" button
Progress bars show no progress.
Comment 1 Leslie Zhai 2017-09-25 01:44:22 UTC
My question is: failed to save a project to an ISO file? if not failed I need to check DataJob.
Comment 2 Patrick Silva 2017-09-25 02:26:26 UTC
ISO file is successfully created.
Comment 3 Leslie Zhai 2017-09-25 02:47:34 UTC
then how to reproduce the issue?


mkisofs
-----------------------
/usr/bin/genisoimage: No such file or directory. Failed to open VIDEO_TS.IFO
/usr/bin/genisoimage: Can't open VMG info for '/tmp/k3bVideoDvd20vsLE/'.
/usr/bin/genisoimage: Unable to parse DVD-Video structures.
/usr/bin/genisoimage: Could not find correct 'VIDEO_TS' directory.
Possible reasons:
  - VIDEO_TS subdirectory was not found on specified location
  - VIDEO_TS has invalid contents

mkisofs calculate size command:
-----------------------
/usr/bin/genisoimage -gui -graft-points -print-size -quiet -volid untitled -volset  -appid K3B THE CD KREATOR (C) 1998-2017 SEBASTIAN TRUEG, MICHAL MALEK AND LESLIE ZHAI -publisher  -preparer  -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /tmp/k3b.h10397 -no-cache-inodes -udf -iso-level 1 -path-list /tmp/k3b.X10397 -dvd-video -f /tmp/k3bVideoDvd20vsLE


I have no idea how to create COPYRIGHT *legal* DVD image...
Comment 4 Patrick Silva 2017-09-25 02:56:36 UTC
create a data project
add some files to it
click "burn" button
check "only create image"
click "start" button
Comment 5 Leslie Zhai 2017-09-25 03:06:38 UTC
but it updates the percentage for me:


K3b::IsoImager
-----------------------
mkisofs print size result: 194070 (397455360 bytes)

System
-----------------------
K3b Version: 17.11.70
KDE Version: 5.36.0
Qt Version:  5.7.1
Kernel:      4.12.11-200.fc25.x86_64

Used versions
-----------------------
mkisofs: 1.1.11

mkisofs
-----------------------
194070
I: -input-charset not specified, using utf-8 (detected in locale settings)
Using CMAKEDETERMINECOMPILERAB000.BIN;1 for  AMDAPPSDK-3.0/samples/opencl/cl/1.x/HelloWorld/build/CMakeFiles/3.9.0/CMakeDetermineCompilerABI_CXX.bin (CMakeDetermineCompilerABI_C.bin)
  0.52% done, estimate finish Mon Sep 25 11:04:34 2017
  0.77% done, estimate finish Mon Sep 25 11:04:34 2017
  1.04% done, estimate finish Mon Sep 25 11:04:34 2017
  1.29% done, estimate finish Mon Sep 25 11:04:34 2017
  1.55% done, estimate finish Mon Sep 25 11:04:34 2017
  1.81% done, estimate finish Mon Sep 25 11:04:34 2017
  2.07% done, estimate finish Mon Sep 25 11:04:34 2017
  2.32% done, estimate finish Mon Sep 25 11:04:34 2017
  2.58% done, estimate finish Mon Sep 25 11:04:34 2017
  2.83% done, estimate finish Mon Sep 25 11:04:34 2017
  3.10% done, estimate finish Mon Sep 25 11:04:34 2017
  3.35% done, estimate finish Mon Sep 25 11:04:34 2017
  3.61% done, estimate finish Mon Sep 25 11:04:34 2017
  3.87% done, estimate finish Mon Sep 25 11:04:34 2017
  4.13% done, estimate finish Mon Sep 25 11:04:34 2017
  4.38% done, estimate finish Mon Sep 25 11:04:34 2017
  4.64% done, estimate finish Mon Sep 25 11:04:34 2017
  4.90% done, estimate finish Mon Sep 25 11:04:34 2017
  5.16% done, estimate finish Mon Sep 25 11:04:34 2017
  5.42% done, estimate finish Mon Sep 25 11:04:34 2017
  5.67% done, estimate finish Mon Sep 25 11:04:34 2017
  5.93% done, estimate finish Mon Sep 25 11:04:34 2017
  6.19% done, estimate finish Mon Sep 25 11:04:34 2017
  6.45% done, estimate finish Mon Sep 25 11:04:34 2017
  6.70% done, estimate finish Mon Sep 25 11:04:34 2017
  6.96% done, estimate finish Mon Sep 25 11:04:34 2017
  7.22% done, estimate finish Mon Sep 25 11:04:34 2017
  7.48% done, estimate finish Mon Sep 25 11:04:34 2017
  7.73% done, estimate finish Mon Sep 25 11:04:34 2017
  7.99% done, estimate finish Mon Sep 25 11:04:34 2017
  8.25% done, estimate finish Mon Sep 25 11:04:34 2017
  8.51% done, estimate finish Mon Sep 25 11:04:34 2017
  8.76% done, estimate finish Mon Sep 25 11:04:34 2017
  9.02% done, estimate finish Mon Sep 25 11:04:34 2017
  9.28% done, estimate finish Mon Sep 25 11:04:34 2017
  9.54% done, estimate finish Mon Sep 25 11:04:34 2017
  9.79% done, estimate finish Mon Sep 25 11:04:34 2017
 10.05% done, estimate finish Mon Sep 25 11:04:34 2017
 10.31% done, estimate finish Mon Sep 25 11:04:34 2017
 10.57% done, estimate finish Mon Sep 25 11:04:34 2017
 10.82% done, estimate finish Mon Sep 25 11:04:34 2017
 11.08% done, estimate finish Mon Sep 25 11:04:34 2017
 11.34% done, estimate finish Mon Sep 25 11:04:34 2017
 11.60% done, estimate finish Mon Sep 25 11:04:34 2017
 11.86% done, estimate finish Mon Sep 25 11:04:34 2017
 12.11% done, estimate finish Mon Sep 25 11:04:34 2017
 12.37% done, estimate finish Mon Sep 25 11:04:34 2017
 12.63% done, estimate finish Mon Sep 25 11:04:34 2017
 12.89% done, estimate finish Mon Sep 25 11:04:34 2017
 13.14% done, estimate finish Mon Sep 25 11:04:34 2017
 13.40% done, estimate finish Mon Sep 25 11:04:34 2017
 13.66% done, estimate finish Mon Sep 25 11:04:34 2017
 13.92% done, estimate finish Mon Sep 25 11:04:34 2017
 14.17% done, estimate finish Mon Sep 25 11:04:34 2017
 14.44% done, estimate finish Mon Sep 25 11:04:34 2017
 14.69% done, estimate finish Mon Sep 25 11:04:34 2017
 14.95% done, estimate finish Mon Sep 25 11:04:34 2017
 15.20% done, estimate finish Mon Sep 25 11:04:34 2017
 15.47% done, estimate finish Mon Sep 25 11:04:34 2017
 15.72% done, estimate finish Mon Sep 25 11:04:34 2017
 15.98% done, estimate finish Mon Sep 25 11:04:34 2017
 16.23% done, estimate finish Mon Sep 25 11:04:34 2017
 16.50% done, estimate finish Mon Sep 25 11:04:34 2017
 16.75% done, estimate finish Mon Sep 25 11:04:34 2017
 17.01% done, estimate finish Mon Sep 25 11:04:34 2017
 17.26% done, estimate finish Mon Sep 25 11:04:34 2017
 17.53% done, estimate finish Mon Sep 25 11:04:34 2017
 17.78% done, estimate finish Mon Sep 25 11:04:34 2017
 18.04% done, estimate finish Mon Sep 25 11:04:34 2017
 18.29% done, estimate finish Mon Sep 25 11:04:34 2017
 18.56% done, estimate finish Mon Sep 25 11:04:34 2017
 18.81% done, estimate finish Mon Sep 25 11:04:34 2017
 19.07% done, estimate finish Mon Sep 25 11:04:34 2017
 19.32% done, estimate finish Mon Sep 25 11:04:34 2017
 19.59% done, estimate finish Mon Sep 25 11:04:34 2017
 19.84% done, estimate finish Mon Sep 25 11:04:34 2017
 20.10% done, estimate finish Mon Sep 25 11:04:34 2017
 20.36% done, estimate finish Mon Sep 25 11:04:34 2017
 20.62% done, estimate finish Mon Sep 25 11:04:34 2017
 20.87% done, estimate finish Mon Sep 25 11:04:34 2017
 21.13% done, estimate finish Mon Sep 25 11:04:34 2017
 21.39% done, estimate finish Mon Sep 25 11:04:34 2017
 21.65% done, estimate finish Mon Sep 25 11:04:34 2017
 21.90% done, estimate finish Mon Sep 25 11:04:34 2017
 22.16% done, estimate finish Mon Sep 25 11:04:34 2017
 22.42% done, estimate finish Mon Sep 25 11:04:34 2017
 22.68% done, estimate finish Mon Sep 25 11:04:34 2017
 22.94% done, estimate finish Mon Sep 25 11:04:34 2017
 23.19% done, estimate finish Mon Sep 25 11:04:34 2017
 23.45% done, estimate finish Mon Sep 25 11:04:34 2017
 23.71% done, estimate finish Mon Sep 25 11:04:34 2017
 23.97% done, estimate finish Mon Sep 25 11:04:34 2017
 24.22% done, estimate finish Mon Sep 25 11:04:34 2017
 24.48% done, estimate finish Mon Sep 25 11:04:34 2017
 24.74% done, estimate finish Mon Sep 25 11:04:34 2017
 25.00% done, estimate finish Mon Sep 25 11:04:34 2017
 25.25% done, estimate finish Mon Sep 25 11:04:34 2017
 25.51% done, estimate finish Mon Sep 25 11:04:34 2017
 25.77% done, estimate finish Mon Sep 25 11:04:34 2017
 26.03% done, estimate finish Mon Sep 25 11:04:34 2017
 26.28% done, estimate finish Mon Sep 25 11:04:34 2017
 26.54% done, estimate finish Mon Sep 25 11:04:34 2017
 26.80% done, estimate finish Mon Sep 25 11:04:34 2017
 27.06% done, estimate finish Mon Sep 25 11:04:34 2017
 27.32% done, estimate finish Mon Sep 25 11:04:34 2017
 27.57% done, estimate finish Mon Sep 25 11:04:34 2017
 27.83% done, estimate finish Mon Sep 25 11:04:34 2017
 28.09% done, estimate finish Mon Sep 25 11:04:34 2017
 28.34% done, estimate finish Mon Sep 25 11:04:34 2017
 28.60% done, estimate finish Mon Sep 25 11:04:34 2017
 28.86% done, estimate finish Mon Sep 25 11:04:34 2017
 29.12% done, estimate finish Mon Sep 25 11:04:34 2017
 29.37% done, estimate finish Mon Sep 25 11:04:34 2017
 29.63% done, estimate finish Mon Sep 25 11:04:34 2017
 29.89% done, estimate finish Mon Sep 25 11:04:34 2017
 30.15% done, estimate finish Mon Sep 25 11:04:34 2017
 30.41% done, estimate finish Mon Sep 25 11:04:34 2017
 30.66% done, estimate finish Mon Sep 25 11:04:34 2017
 30.92% done, estimate finish Mon Sep 25 11:04:34 2017
 31.18% done, estimate finish Mon Sep 25 11:04:34 2017
 31.44% done, estimate finish Mon Sep 25 11:04:34 2017
 31.69% done, estimate finish Mon Sep 25 11:04:34 2017
 31.95% done, estimate finish Mon Sep 25 11:04:34 2017
 32.21% done, estimate finish Mon Sep 25 11:04:34 2017
 32.47% done, estimate finish Mon Sep 25 11:04:34 2017
 32.72% done, estimate finish Mon Sep 25 11:04:34 2017
 32.98% done, estimate finish Mon Sep 25 11:04:34 2017
 33.24% done, estimate finish Mon Sep 25 11:04:34 2017
 33.50% done, estimate finish Mon Sep 25 11:04:34 2017
 33.75% done, estimate finish Mon Sep 25 11:04:34 2017
 34.01% done, estimate finish Mon Sep 25 11:04:34 2017
 34.27% done, estimate finish Mon Sep 25 11:04:34 2017
 34.53% done, estimate finish Mon Sep 25 11:04:34 2017
 34.78% done, estimate finish Mon Sep 25 11:04:34 2017
 35.04% done, estimate finish Mon Sep 25 11:04:34 2017
 35.30% done, estimate finish Mon Sep 25 11:04:34 2017
 35.56% done, estimate finish Mon Sep 25 11:04:34 2017
 35.81% done, estimate finish Mon Sep 25 11:04:34 2017
 36.07% done, estimate finish Mon Sep 25 11:04:34 2017
 36.33% done, estimate finish Mon Sep 25 11:04:34 2017
 36.59% done, estimate finish Mon Sep 25 11:04:34 2017
 36.85% done, estimate finish Mon Sep 25 11:04:34 2017
 37.10% done, estimate finish Mon Sep 25 11:04:34 2017
 37.36% done, estimate finish Mon Sep 25 11:04:34 2017
 37.62% done, estimate finish Mon Sep 25 11:04:34 2017
 37.88% done, estimate finish Mon Sep 25 11:04:34 2017
 38.13% done, estimate finish Mon Sep 25 11:04:34 2017
 38.39% done, estimate finish Mon Sep 25 11:04:34 2017
 38.65% done, estimate finish Mon Sep 25 11:04:34 2017
 38.91% done, estimate finish Mon Sep 25 11:04:34 2017
 39.16% done, estimate finish Mon Sep 25 11:04:34 2017
 39.42% done, estimate finish Mon Sep 25 11:04:34 2017
 39.68% done, estimate finish Mon Sep 25 11:04:34 2017
 39.94% done, estimate finish Mon Sep 25 11:04:34 2017
 40.19% done, estimate finish Mon Sep 25 11:04:34 2017
 40.45% done, estimate finish Mon Sep 25 11:04:34 2017
 40.71% done, estimate finish Mon Sep 25 11:04:34 2017
 40.97% done, estimate finish Mon Sep 25 11:04:34 2017
 41.22% done, estimate finish Mon Sep 25 11:04:34 2017
 41.48% done, estimate finish Mon Sep 25 11:04:34 2017
 41.74% done, estimate finish Mon Sep 25 11:04:34 2017
 42.00% done, estimate finish Mon Sep 25 11:04:34 2017
 42.26% done, estimate finish Mon Sep 25 11:04:34 2017
 42.51% done, estimate finish Mon Sep 25 11:04:34 2017
 42.77% done, estimate finish Mon Sep 25 11:04:34 2017
 43.03% done, estimate finish Mon Sep 25 11:04:34 2017
 43.29% done, estimate finish Mon Sep 25 11:04:34 2017
 43.54% done, estimate finish Mon Sep 25 11:04:34 2017
 43.81% done, estimate finish Mon Sep 25 11:04:34 2017
 44.06% done, estimate finish Mon Sep 25 11:04:34 2017
 44.32% done, estimate finish Mon Sep 25 11:04:34 2017
 44.57% done, estimate finish Mon Sep 25 11:04:34 2017
 44.84% done, estimate finish Mon Sep 25 11:04:34 2017
 45.09% done, estimate finish Mon Sep 25 11:04:34 2017
 45.35% done, estimate finish Mon Sep 25 11:04:34 2017
 45.60% done, estimate finish Mon Sep 25 11:04:34 2017
 45.87% done, estimate finish Mon Sep 25 11:04:34 2017
 46.12% done, estimate finish Mon Sep 25 11:04:34 2017
 46.38% done, estimate finish Mon Sep 25 11:04:34 2017
 46.63% done, estimate finish Mon Sep 25 11:04:34 2017
 46.90% done, estimate finish Mon Sep 25 11:04:34 2017
 47.15% done, estimate finish Mon Sep 25 11:04:34 2017
 47.41% done, estimate finish Mon Sep 25 11:04:34 2017
 47.66% done, estimate finish Mon Sep 25 11:04:34 2017
 47.93% done, estimate finish Mon Sep 25 11:04:34 2017
 48.18% done, estimate finish Mon Sep 25 11:04:34 2017
 48.44% done, estimate finish Mon Sep 25 11:04:34 2017
 48.69% done, estimate finish Mon Sep 25 11:04:34 2017
 48.96% done, estimate finish Mon Sep 25 11:04:34 2017
 49.21% done, estimate finish Mon Sep 25 11:04:34 2017
 49.47% done, estimate finish Mon Sep 25 11:04:34 2017
 49.72% done, estimate finish Mon Sep 25 11:04:34 2017
 49.99% done, estimate finish Mon Sep 25 11:04:34 2017
 50.24% done, estimate finish Mon Sep 25 11:04:34 2017
 50.50% done, estimate finish Mon Sep 25 11:04:34 2017
 50.76% done, estimate finish Mon Sep 25 11:04:34 2017
 51.02% done, estimate finish Mon Sep 25 11:04:34 2017
 51.27% done, estimate finish Mon Sep 25 11:04:34 2017
 51.53% done, estimate finish Mon Sep 25 11:04:34 2017
 51.79% done, estimate finish Mon Sep 25 11:04:34 2017
 52.05% done, estimate finish Mon Sep 25 11:04:34 2017
 52.31% done, estimate finish Mon Sep 25 11:04:34 2017
 52.56% done, estimate finish Mon Sep 25 11:04:34 2017
 52.82% done, estimate finish Mon Sep 25 11:04:34 2017
 53.08% done, estimate finish Mon Sep 25 11:04:34 2017
 53.34% done, estimate finish Mon Sep 25 11:04:34 2017
 53.59% done, estimate finish Mon Sep 25 11:04:34 2017
 53.85% done, estimate finish Mon Sep 25 11:04:34 2017
 54.11% done, estimate finish Mon Sep 25 11:04:34 2017
 54.36% done, estimate finish Mon Sep 25 11:04:34 2017
 54.62% done, estimate finish Mon Sep 25 11:04:34 2017
 54.88% done, estimate finish Mon Sep 25 11:04:34 2017
 55.14% done, estimate finish Mon Sep 25 11:04:34 2017
 55.40% done, estimate finish Mon Sep 25 11:04:34 2017
 55.65% done, estimate finish Mon Sep 25 11:04:34 2017
 55.91% done, estimate finish Mon Sep 25 11:04:34 2017
 56.17% done, estimate finish Mon Sep 25 11:04:34 2017
 56.42% done, estimate finish Mon Sep 25 11:04:34 2017
 56.69% done, estimate finish Mon Sep 25 11:04:34 2017
 56.94% done, estimate finish Mon Sep 25 11:04:34 2017
 57.20% done, estimate finish Mon Sep 25 11:04:34 2017
 57.45% done, estimate finish Mon Sep 25 11:04:34 2017
 57.71% done, estimate finish Mon Sep 25 11:04:34 2017
 57.98% done, estimate finish Mon Sep 25 11:04:34 2017
 58.23% done, estimate finish Mon Sep 25 11:04:34 2017
 58.49% done, estimate finish Mon Sep 25 11:04:34 2017
 58.74% done, estimate finish Mon Sep 25 11:04:34 2017
 59.00% done, estimate finish Mon Sep 25 11:04:34 2017
 59.26% done, estimate finish Mon Sep 25 11:04:34 2017
 59.52% done, estimate finish Mon Sep 25 11:04:34 2017
 59.77% done, estimate finish Mon Sep 25 11:04:34 2017
 60.03% done, estimate finish Mon Sep 25 11:04:34 2017
 60.29% done, estimate finish Mon Sep 25 11:04:34 2017
 60.55% done, estimate finish Mon Sep 25 11:04:34 2017
 60.81% done, estimate finish Mon Sep 25 11:04:34 2017
 61.06% done, estimate finish Mon Sep 25 11:04:34 2017
 61.32% done, estimate finish Mon Sep 25 11:04:34 2017
 61.58% done, estimate finish Mon Sep 25 11:04:34 2017
 61.83% done, estimate finish Mon Sep 25 11:04:34 2017
 62.10% done, estimate finish Mon Sep 25 11:04:34 2017
 62.35% done, estimate finish Mon Sep 25 11:04:34 2017
 62.61% done, estimate finish Mon Sep 25 11:04:34 2017
 62.87% done, estimate finish Mon Sep 25 11:04:34 2017
 63.13% done, estimate finish Mon Sep 25 11:04:34 2017
 63.38% done, estimate finish Mon Sep 25 11:04:34 2017
 63.64% done, estimate finish Mon Sep 25 11:04:34 2017
 63.89% done, estimate finish Mon Sep 25 11:04:34 2017
 64.16% done, estimate finish Mon Sep 25 11:04:34 2017
 64.42% done, estimate finish Mon Sep 25 11:04:34 2017
 64.67% done, estimate finish Mon Sep 25 11:04:34 2017
 64.93% done, estimate finish Mon Sep 25 11:04:34 2017
 65.18% done, estimate finish Mon Sep 25 11:04:34 2017
 65.45% done, estimate finish Mon Sep 25 11:04:34 2017
 65.70% done, estimate finish Mon Sep 25 11:04:34 2017
 65.96% done, estimate finish Mon Sep 25 11:04:34 2017
 66.21% done, estimate finish Mon Sep 25 11:04:34 2017
 66.48% done, estimate finish Mon Sep 25 11:04:34 2017
 66.73% done, estimate finish Mon Sep 25 11:04:34 2017
 66.99% done, estimate finish Mon Sep 25 11:04:34 2017
 67.24% done, estimate finish Mon Sep 25 11:04:34 2017
 67.51% done, estimate finish Mon Sep 25 11:04:34 2017
 67.76% done, estimate finish Mon Sep 25 11:04:34 2017
 68.02% done, estimate finish Mon Sep 25 11:04:34 2017
 68.28% done, estimate finish Mon Sep 25 11:04:34 2017
 68.53% done, estimate finish Mon Sep 25 11:04:34 2017
 68.79% done, estimate finish Mon Sep 25 11:04:34 2017
 69.05% done, estimate finish Mon Sep 25 11:04:34 2017
 69.30% done, estimate finish Mon Sep 25 11:04:34 2017
 69.57% done, estimate finish Mon Sep 25 11:04:34 2017
 69.83% done, estimate finish Mon Sep 25 11:04:34 2017
 70.08% done, estimate finish Mon Sep 25 11:04:34 2017
 70.34% done, estimate finish Mon Sep 25 11:04:34 2017
 70.60% done, estimate finish Mon Sep 25 11:04:34 2017
 70.85% done, estimate finish Mon Sep 25 11:04:34 2017
 71.11% done, estimate finish Mon Sep 25 11:04:34 2017
 71.37% done, estimate finish Mon Sep 25 11:04:34 2017
 71.62% done, estimate finish Mon Sep 25 11:04:34 2017
 71.89% done, estimate finish Mon Sep 25 11:04:34 2017
 72.14% done, estimate finish Mon Sep 25 11:04:34 2017
 72.40% done, estimate finish Mon Sep 25 11:04:34 2017
 72.66% done, estimate finish Mon Sep 25 11:04:34 2017
 72.92% done, estimate finish Mon Sep 25 11:04:34 2017
 73.17% done, estimate finish Mon Sep 25 11:04:34 2017
 73.43% done, estimate finish Mon Sep 25 11:04:34 2017
 73.69% done, estimate finish Mon Sep 25 11:04:34 2017
 73.94% done, estimate finish Mon Sep 25 11:04:34 2017
 74.21% done, estimate finish Mon Sep 25 11:04:34 2017
 74.46% done, estimate finish Mon Sep 25 11:04:34 2017
 74.72% done, estimate finish Mon Sep 25 11:04:34 2017
 74.98% done, estimate finish Mon Sep 25 11:04:34 2017
 75.24% done, estimate finish Mon Sep 25 11:04:34 2017
 75.49% done, estimate finish Mon Sep 25 11:04:34 2017
 75.75% done, estimate finish Mon Sep 25 11:04:34 2017
 76.00% done, estimate finish Mon Sep 25 11:04:34 2017
 76.27% done, estimate finish Mon Sep 25 11:04:34 2017
 76.52% done, estimate finish Mon Sep 25 11:04:34 2017
 76.78% done, estimate finish Mon Sep 25 11:04:34 2017
 77.04% done, estimate finish Mon Sep 25 11:04:34 2017
 77.30% done, estimate finish Mon Sep 25 11:04:34 2017
 77.55% done, estimate finish Mon Sep 25 11:04:34 2017
 77.81% done, estimate finish Mon Sep 25 11:04:34 2017
 78.07% done, estimate finish Mon Sep 25 11:04:34 2017
 78.33% done, estimate finish Mon Sep 25 11:04:34 2017
 78.59% done, estimate finish Mon Sep 25 11:04:34 2017
 78.84% done, estimate finish Mon Sep 25 11:04:34 2017
 79.10% done, estimate finish Mon Sep 25 11:04:34 2017
 79.36% done, estimate finish Mon Sep 25 11:04:34 2017
 79.61% done, estimate finish Mon Sep 25 11:04:34 2017
 79.87% done, estimate finish Mon Sep 25 11:04:34 2017
 80.13% done, estimate finish Mon Sep 25 11:04:34 2017
 80.38% done, estimate finish Mon Sep 25 11:04:34 2017
 80.65% done, estimate finish Mon Sep 25 11:04:34 2017
 80.91% done, estimate finish Mon Sep 25 11:04:34 2017
 81.16% done, estimate finish Mon Sep 25 11:04:34 2017
 81.42% done, estimate finish Mon Sep 25 11:04:34 2017
 81.68% done, estimate finish Mon Sep 25 11:04:34 2017
 81.93% done, estimate finish Mon Sep 25 11:04:34 2017
 82.19% done, estimate finish Mon Sep 25 11:04:34 2017
 82.45% done, estimate finish Mon Sep 25 11:04:34 2017
 82.70% done, estimate finish Mon Sep 25 11:04:34 2017
 82.97% done, estimate finish Mon Sep 25 11:04:34 2017
 83.22% done, estimate finish Mon Sep 25 11:04:34 2017
 83.48% done, estimate finish Mon Sep 25 11:04:34 2017
 83.73% done, estimate finish Mon Sep 25 11:04:34 2017
 84.00% done, estimate finish Mon Sep 25 11:04:34 2017
 84.25% done, estimate finish Mon Sep 25 11:04:34 2017
 84.51% done, estimate finish Mon Sep 25 11:04:34 2017
 84.77% done, estimate finish Mon Sep 25 11:04:34 2017
 85.02% done, estimate finish Mon Sep 25 11:04:34 2017
 85.28% done, estimate finish Mon Sep 25 11:04:34 2017
 85.54% done, estimate finish Mon Sep 25 11:04:34 2017
 85.80% done, estimate finish Mon Sep 25 11:04:34 2017
 86.05% done, estimate finish Mon Sep 25 11:04:34 2017
 86.31% done, estimate finish Mon Sep 25 11:04:34 2017
 86.57% done, estimate finish Mon Sep 25 11:04:34 2017
 86.83% done, estimate finish Mon Sep 25 11:04:34 2017
 87.09% done, estimate finish Mon Sep 25 11:04:34 2017
 87.34% done, estimate finish Mon Sep 25 11:04:34 2017
 87.60% done, estimate finish Mon Sep 25 11:04:34 2017
 87.86% done, estimate finish Mon Sep 25 11:04:34 2017
 88.12% done, estimate finish Mon Sep 25 11:04:34 2017
 88.37% done, estimate finish Mon Sep 25 11:04:34 2017
 88.63% done, estimate finish Mon Sep 25 11:04:34 2017
 88.89% done, estimate finish Mon Sep 25 11:04:34 2017
 89.15% done, estimate finish Mon Sep 25 11:04:34 2017
 89.40% done, estimate finish Mon Sep 25 11:04:34 2017
 89.66% done, estimate finish Mon Sep 25 11:04:34 2017
 89.92% done, estimate finish Mon Sep 25 11:04:34 2017
 90.18% done, estimate finish Mon Sep 25 11:04:34 2017
 90.43% done, estimate finish Mon Sep 25 11:04:34 2017
 90.70% done, estimate finish Mon Sep 25 11:04:34 2017
 90.95% done, estimate finish Mon Sep 25 11:04:34 2017
 91.21% done, estimate finish Mon Sep 25 11:04:34 2017
 91.46% done, estimate finish Mon Sep 25 11:04:34 2017
 91.72% done, estimate finish Mon Sep 25 11:04:34 2017
 91.98% done, estimate finish Mon Sep 25 11:04:34 2017
 92.24% done, estimate finish Mon Sep 25 11:04:34 2017
 92.50% done, estimate finish Mon Sep 25 11:04:34 2017
 92.75% done, estimate finish Mon Sep 25 11:04:34 2017
 93.01% done, estimate finish Mon Sep 25 11:04:34 2017
 93.27% done, estimate finish Mon Sep 25 11:04:34 2017
 93.53% done, estimate finish Mon Sep 25 11:04:34 2017
 93.78% done, estimate finish Mon Sep 25 11:04:34 2017
 94.04% done, estimate finish Mon Sep 25 11:04:34 2017
 94.30% done, estimate finish Mon Sep 25 11:04:34 2017
 94.56% done, estimate finish Mon Sep 25 11:04:34 2017
 94.81% done, estimate finish Mon Sep 25 11:04:34 2017
 95.07% done, estimate finish Mon Sep 25 11:04:34 2017
 95.33% done, estimate finish Mon Sep 25 11:04:34 2017
 95.59% done, estimate finish Mon Sep 25 11:04:34 2017
 95.84% done, estimate finish Mon Sep 25 11:04:34 2017
 96.11% done, estimate finish Mon Sep 25 11:04:34 2017
 96.36% done, estimate finish Mon Sep 25 11:04:34 2017
 96.62% done, estimate finish Mon Sep 25 11:04:34 2017
 96.87% done, estimate finish Mon Sep 25 11:04:34 2017
 97.14% done, estimate finish Mon Sep 25 11:04:34 2017
 97.39% done, estimate finish Mon Sep 25 11:04:34 2017
 97.65% done, estimate finish Mon Sep 25 11:04:34 2017
 97.90% done, estimate finish Mon Sep 25 11:04:34 2017
 98.17% done, estimate finish Mon Sep 25 11:04:34 2017
 98.42% done, estimate finish Mon Sep 25 11:04:34 2017
 98.68% done, estimate finish Mon Sep 25 11:04:34 2017
 98.93% done, estimate finish Mon Sep 25 11:04:34 2017
 99.20% done, estimate finish Mon Sep 25 11:04:34 2017
 99.45% done, estimate finish Mon Sep 25 11:04:34 2017
 99.71% done, estimate finish Mon Sep 25 11:04:34 2017
Total translation table size: 0
Total rockridge attributes bytes: 141718
Total directory bytes: 567666
Path table size(bytes): 4300
Max brk space used 140000
194070 extents written (379 MB)

mkisofs calculate size command:
-----------------------
/usr/bin/genisoimage -gui -graft-points -print-size -quiet -volid AMDAPPSDK-3 -volset  -appid K3B THE CD KREATOR (C) 1998-2017 SEBASTIAN TRUEG, MICHAL MALEK AND LESLIE ZHAI -publisher  -preparer  -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /tmp/k3b.c25711 -rational-rock -hide-list /tmp/k3b.a25711 -joliet -joliet-long -hide-joliet-list /tmp/k3b.S25711 -no-cache-inodes -full-iso9660-filenames -disable-deep-relocation -iso-level 3 -path-list /tmp/k3b.q25711

mkisofs command:
-----------------------
/usr/bin/genisoimage -gui -graft-points -volid AMDAPPSDK-3 -volset  -appid K3B THE CD KREATOR (C) 1998-2017 SEBASTIAN TRUEG, MICHAL MALEK AND LESLIE ZHAI -publisher  -preparer  -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /tmp/k3b.b25711 -rational-rock -hide-list /tmp/k3b.c25711 -joliet -joliet-long -hide-joliet-list /tmp/k3b.h25711 -no-cache-inodes -full-iso9660-filenames -disable-deep-relocation -iso-level 3 -path-list /tmp/k3b.F25711



so the testcase 'create a data project' can *not* reproduce the issue.
Comment 6 Patrick Silva 2017-09-25 18:46:16 UTC
On Arch the progess bars dont work with k3b-git from AUR nor with k3b 17.08.1 from oficial repositories.
With k3b 17.08.1 I can test only data project, it does not create dvd-video ISO because a bug not fixed in this release.

I cant reproduce this bug on neon dev unstable.
Comment 7 Patrick Silva 2017-11-18 02:40:58 UTC
k3b 17.12 beta has the same bug on Arch Linux.
Comment 8 Patrick Silva 2017-12-05 16:19:20 UTC
My Arch Linux runs k3b 17.08.3, cdrtools 3.02a07-2 and mkisofs 3.2a07.

I tested other distros...

kaos running k3b 17.08.2, cdrtools-3.02a07-1 and mkisofs 3.2a07: progress bars don't work.

gecko (based on opensuse tumbleweed) running k3b 17.08.2, cdrkit-cdrtools-compact and mkisofs 1.1.11: progress bars work.
But progress bars stopped working after I replaced cdrkit-cdrtools-compact and mkisofs 1.1.11 with cdrtools 3.02-a07-2.3 and mkisofs 3.2a07.

neon user edition running k3b 17.11.80 and mkisofs 1.1.11: progress bars work.
But progress bars stopped working after I replaced mkisofs 1.1.11 with mkisofs 3.2a07.

On Arch when I click on "show debugging output" button after ISO creation, K3b log shows progress information.
But the progress bars in K3b GUI show no progress.

Seems there is some problem between K3b and mkisofs 3.2a07.
Comment 9 Leslie Zhai 2017-12-06 03:05:18 UTC
Sorry I do not use ArchLinux any more, I am using Fedora for ARMmbed development, because there are more RedHat engineers working for GNU and LLVM Toolchain, and I can not reproduce this issue for Fedora.
Comment 10 Patrick Silva 2017-12-06 10:36:12 UTC
which mkisofs version do you use on Fedora?
Comment 11 Leslie Zhai 2017-12-07 01:55:44 UTC
(In reply to Dr. Chapatin from comment #10)
> which mkisofs version do you use on Fedora?

$ whereis mkisofs
mkisofs: /usr/bin/mkisofs /usr/share/man/man1/mkisofs.1.gz
$ rpm -qf /usr/bin/mkisofs
genisoimage-1.1.11-31.fc24.x86_64
xorriso-1.4.8-1.fc25.x86_64
Comment 12 Patrick Silva 2017-12-07 02:10:04 UTC
can you install cdrtools from negativo17 repo and test again please?
https://negativo17.org/cdrtools/
Comment 13 Thomas Schmitt 2017-12-07 08:49:37 UTC
Hi,

the function to read the progress percentage, parseMkisofsProgress
in libk3b/projects/datacd/k3bmkisofshandler.cpp, obviously expects that
no other text is written before the percent number. Like in

    1.29% done, estimate finish Mon Sep 25 11:04:34 2017

This would not work with xorrisofs messages

  xorriso : UPDATE :  0.54% done, estimate finish Wed Dec 06 14:27:33 2017
  
@Dr. Chapatin:
Can you show a progress line from mkisofs 3.2a07 (or any other that causes
the lack of progrss bar) ?
It should be in the K3B log or may get produced by a shell terminal run like

  mkisofs -v -o /dev/null /...some.big.directory.tree...


> $ rpm -qf /usr/bin/mkisofs
> genisoimage-1.1.11-31.fc24.x86_64
> xorriso-1.4.8-1.fc25.x86_64

I actually discourage distros to install xorriso as "mkisofs". That would
rather be a decision of the end user after considering all desired use cases.

But if Fedora does this, then K3B should better prepare for decoding xorrisofs
pacifier lines.

Have a nice day :)

Thomas
Comment 14 Patrick Silva 2017-12-07 09:10:47 UTC
(In reply to Thomas Schmitt from comment #13)   
> @Dr. Chapatin:
> Can you show a progress line from mkisofs 3.2a07 (or any other that causes
> the lack of progrss bar) ?
> It should be in the K3B log or may get produced by a shell terminal run like

Hi Thomas
This line appears in K3b log
  0,08% done, estimate finish Thu Dec  7 07:05:20 2017
Comment 15 Thomas Schmitt 2017-12-07 09:49:41 UTC
Hi,

>   0,08% done, estimate finish Thu Dec  7 07:05:20 2017

I guess the comma instead of the decimal point is to blame.
It probably stems from internationalization (i18n) which could be a new
feature in mkisofs-3.x.

One could test the theory by testing whether

   QString perStr = "0,08";
   bool ok;

   double p = perStr.toDouble( &ok );

yields (ok == false) or 0.0 as resulting number.
(Sorry, i don't have enough KDE/Qt for testing this.)

The reverse test could be to set the environment for english language
before starting K3B:

  export LANGUAGE=en_US:en
  /usr/bin/k3b

mkisofs should then emit decimal points rather than commas.
I assume that mkisofs uses GNU gettext which would use that variable.
See https://www.gnu.org/software/gettext/manual/html_node/Locale-Environment-Variables.html


If the theory is right, then K3B needs internationalization for its own
number decoding, or it needs to set mkisofs to english language and number
formats.
(xorriso is intentionally not using i18n. It is painful to analyse the
 output of the own program when all words are replaced by a language which
 i do not know.)

Have a nice day :)

Thomas
Comment 16 Patrick Silva 2017-12-07 10:06:03 UTC
You are right Thomas.
I changed "Formats" to en-US in KDE regional settings on Arch Linux, progress bars are working now.
Comment 17 Thomas Schmitt 2017-12-07 10:38:29 UTC
Hi,

> I changed "Formats" to en-US in KDE regional settings

(I wonder how it looks if you choose Inuit or Samaritan Aramaic.)

> progress bars are working now.

So the cheapest, but possibly incomplete, fix would be to replace commas
by decimal points in
  int K3b::MkisofsHandler::parseMkisofsProgress( const QString& line )
of libk3b/projects/datacd/k3bmkisofshandler.cpp before interpreting the
number by
    double p = perStr.toDouble( &ok );

If one wants to prepare for xorrisofs, then one should submit to the
converter function .toDouble() the text beginning at its first digit or
decimal point.

A complete solution for mkisofs would be either to decode numbers with i18n 
in mind, or to prevent i18n of mkisofs. The latter seems to be the better 
solution in respect to preventing other i18n surprises and in order to keep 
the debugging output of mkisofs readable for international developers.

Have a nice day :)

Thomas
Comment 18 Leslie Zhai 2017-12-08 03:02:27 UTC
Git commit 00cda753f75dc25e0ff2050c64f56131fbfefe6e by Leslie Zhai.
Committed on 08/12/2017 at 02:59.
Pushed by lesliezhai into branch 'master'.

Workaround for parsing mkisofs progress when perStr is not digit

M  +20   -10   libk3b/projects/datacd/k3bmkisofshandler.cpp
M  +17   -0    tests/k3bfuzzertest.cpp

https://commits.kde.org/k3b/00cda753f75dc25e0ff2050c64f56131fbfefe6e