Bug 500084

Summary: isoimagewriter: Fails to write ISO on NixOS, aborting with error "The last block was not fully written (-1 of 1,048,576 bytes)!" while alternative writers work correctly.
Product: [Applications] isoimagewriter Reporter: kdebugtracking.swipe269
Component: generalAssignee: Jonathan Riddell <jr>
Status: RESOLVED DUPLICATE    
Severity: major CC: john.kizer
Priority: NOR    
Version First Reported In: 24.12.2   
Target Milestone: ---   
Platform: NixOS   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description kdebugtracking.swipe269 2025-02-14 17:26:48 UTC
SUMMARY
The KDE isoimagewriter does not work on NixOS whether downloaded from nixpkgs repo or flathub repo.
Application loads but when you finalize your devide to write the ISO to, it produces the following error 'The last block was not fully written (-1 of 1,048,576 bytes)!
Aborting."

STEPS TO REPRODUCE
1. Download isoimagewriter on nixos through nixpkgs or flathub
2. Attempt to write an ISO to a USB drive.
3. View the error

OBSERVED RESULT
Produces error "The last block was not fully written (-1 of 1,048,576 bytes)!
Aborting."

EXPECTED RESULT
Should write the ISO to the USB without issue.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: NixOS 25.05
KDE Plasma Version: 6.3
KDE Frameworks Version: 6.10.0 
Qt Version: 6.8.2

ADDITIONAL INFORMATION
Using other ISO image writers such as fedora image writer works just fine. Only KDE one doesn't work on NixOS.
Comment 1 John Kizer 2025-03-13 04:46:42 UTC
Hi - merging this in with the existing open bug report regarding this issue. Thanks!

*** This bug has been marked as a duplicate of bug 445036 ***