Bug 445036

Summary: isoimage writer will not copy .iso file to flash drive
Product: [Applications] isoimagewriter Reporter: Ben Bullard <369start>
Component: generalAssignee: Jonathan Riddell <jr>
Status: REPORTED ---    
Severity: normal CC: 369start, 4wy78uwh, john.kizer, kde_bugzilla_2, noloader
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: OpenMandriva   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: isoimagewriter in OpenMandriva Lx
isoimagewriter error message in OM Lx

Description Ben Bullard 2021-11-05 18:41:46 UTC
SUMMARY
KDE isoimagewrite will not burn .iso file to usb flash drive. 


STEPS TO REPRODUCE
1. InOpenMandriva Lx Cooker or Rolling/Lx 4.3RC with isoimagewriter-0.8-0.20211015.1
2. Try to copy an .iso file to any usb flash drive
3. 

OBSERVED RESULT
$ isoimagewriter
org.kde.isoimagewriter: statusChanged:  KAuth::Action::AuthorizedStatus
org.kde.isoimagewriter: progressStep(QVariantMap) QMap(("error", QVariant(QString, "The last block was not fully written (22,528 of 1,048,576 bytes)!\nAborting.")))
org.kde.isoimagewriter: finished()  0
org.kde.isoimagewriter: finished()  QMap(


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Ben Bullard 2021-11-05 18:49:01 UTC
Created attachment 143256 [details]
isoimagewriter in OpenMandriva Lx

I am user knowledge level. I do not know why this occurs, if is the isoimagewriter or something within OpenMandriva's system packages. But we would like to have this tool working. 

Also the previous version isoimagewriter-0.8-0.20210514.1 did work OK. The only issue then was that the verify checksum utility does not work on OM Lx .isos but that is another, less important, issue.

I will do or provide whatever I can to help find the cause of this. I can get in touch with OM devs if needed.

OM's git stuff: https://github.com/OpenMandrivaAssociation/isoimagewriter  >>> obviously OM is doing these packages as git snapshots.
Comment 2 Ben Bullard 2021-11-05 18:50:19 UTC
Created attachment 143257 [details]
isoimagewriter error message in OM Lx
Comment 3 Ben Bullard 2021-11-05 18:52:23 UTC
OpenMandriva issue report: https://github.com/OpenMandrivaAssociation/distribution/issues/2750

This is a confirmed issue at OpenMandriva.
Comment 4 Ben Bullard 2021-11-05 19:01:41 UTC
Looks like I missed some info in my report:

EXPECTED RESULT

That isoimagewriter copies the .iso image to the usb flash drive.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: OpenMandriva Linux 4.3 

KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION

I will admit I wished I knew if this was really an issue with isoimagewriter and not something with some OM Lx system package? Or something like how OM Lx mounts or does not mount flash drives when they are plugged in? I just do not know. But I do know the previous v. OpenMandriva had did work OK.
Comment 5 John Kizer 2023-05-30 18:06:23 UTC
For what it's worth, I got a very similar error in Kubuntu 23.04 - I had to umount /dev/sdb<#>, then it worked
Comment 6 Jeffrey Walton 2023-08-22 23:55:16 UTC
Add a mee too.

I'm using the tip of Master 5011295430dc929742fcdb6d270093e9d1ca78f7, and I encountered "The last block was not fully written (-1 of 1,048,576)". I don't think the first block was written because I get the error immediately.

From the other bug reporter, I found https://invent.kde.org/utilities/isoimagewriter/-/issues/1, which brought me here.

My machine is Kubuntu 22.04.3, x86_64, fully patched. Plasmashell version 5.24.7.

I can provide SSH access to the machine, if needed.
Comment 7 Stephan Sokolow 2023-09-18 05:43:01 UTC
I'm also getting the "-1 of ..." version of the "The last block was not fully written" error immediately after attempting to write an ISO when using the Flatpak build on Kubuntu Linux 20.04 LTS.

Here's the version information:

ssokolow@monolith ~ % lsb_release -a                                                      
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.6 LTS
Release:        20.04
Codename:       focal
ssokolow@monolith ~ % flatpak --version
Flatpak 1.14.4
ssokolow@monolith ~ % flatpak info org.kde.isoimagewriter                

ISO Image Writer - Write an ISO Image to a USB Disk

          ID: org.kde.isoimagewriter
         Ref: app/org.kde.isoimagewriter/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 1.0.0
     License: GPL-3.0
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 282.1 kB
     Runtime: org.kde.Platform/x86_64/5.15-22.08
         Sdk: org.kde.Sdk/x86_64/5.15-22.08

      Commit: 96c91f5fa16b7457ef19ca40666db735c62d15a80440cfe36419a403b1739255
      Parent: f319418a69ac5668c1a50f84db81e913b627373d2e6b89bf0434ffbb30b698a0
     Subject: fix patch (c417d1f8)
        Date: 2023-05-03 07:50:50 +0000